eigenMapMatMult {SMUT}R Documentation

Matrix multiplication using RcppEigen

Description

Matrix multiplication using RcppEigen.

Usage

eigenMapMatMult(A,B)

Arguments

A, B

numeric (double) complex matrices or vectors.

Value

The matrix product. The value is the same as A %*% B

Examples

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 

[Package SMUT version 1.1 Index]