powered by
Matrix multiplication using RcppEigen.
eigenMapMatMult(A,B)
numeric (double) complex matrices or vectors.
The matrix product. The value is the same as A %*% B
# NOT RUN { library(SMUT) A=matrix(1:9,3,3) A=A+0 B=as.matrix(c(5.0, 2.0, 0.0)) eigenMapMatMult(A,B) # the result is the same as A %*% B # Thanks for using our R package SMUT # }
Run the code above in your browser using DataLab