eigenMapMatMult: Matrix multiplication using RcppEigen

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

Matrix multiplication using RcppEigen.

Usage

1

Arguments

A, B

numeric (double) complex matrices or vectors.

Value

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

Examples

1
2
3
4
5
6
7
8
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 

Example output

     [,1]
[1,]   13
[2,]   20
[3,]   27

SMUT documentation built on Sept. 24, 2019, 9:05 a.m.

Related to eigenMapMatMult in SMUT...