Crandore Hub

matpow

Matrix Powers

A general framework for computing powers of matrices. A key feature is the capability for users to write callback functions, called after each iteration, thus enabling customization for specific applications. Diverse types of matrix classes/matrix multiplication are accommodated. If the multiplication type computes in parallel, then the package computation is also parallel.

README

Quick start, trivial example:

m <- rbind(1:2,3:4)
g <- matpow(m,2)
g$prod1


See the examples in the online help for more examples, and also the
slides BARUGmatpow.pdf included in this package.

Versions across snapshots

VersionRepositoryFileSize
0.1.2 rolling linux/jammy R-4.5 matpow_0.1.2.tar.gz 375.5 KiB
0.1.2 rolling linux/noble R-4.5 matpow_0.1.2.tar.gz 375.4 KiB
0.1.2 rolling source/ R- matpow_0.1.2.tar.gz 353.8 KiB
0.1.2 latest linux/jammy R-4.5 matpow_0.1.2.tar.gz 375.5 KiB
0.1.2 latest linux/noble R-4.5 matpow_0.1.2.tar.gz 375.4 KiB
0.1.2 latest source/ R- matpow_0.1.2.tar.gz 353.8 KiB
0.1.2 2026-04-26 source/ R- matpow_0.1.2.tar.gz 353.8 KiB
0.1.2 2026-04-23 source/ R- matpow_0.1.2.tar.gz 353.8 KiB
0.1.2 2026-04-09 windows/windows R-4.5 matpow_0.1.2.zip 379.5 KiB
0.1.2 2025-04-20 source/ R- matpow_0.1.2.tar.gz 353.8 KiB

Dependencies (latest)

Suggests