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 2, 2019, 5:25 p.m.