R/matpow.R

Defines functions matpow

Documented in matpow

matpow <- function( mat, pow ){
  Return <- mat
  for( i in seq(1,pow-1,length=pow-1) ){
    Return <- Return %*% mat
  }
  return( Return )
}
James-Thorson/movement_tools documentation built on May 7, 2019, 10:19 a.m.