R/matpow.R

###  M^k  for a matrix  M and non-negative integer 'k'

"%^%" <- function(x, k)
    .Call(R_matpow, x, as.integer(k))

Try the expm package in your browser

Any scripts or data that you put into this service are public.

expm documentation built on May 29, 2024, 5:37 a.m.