rcpparma_dotproduct {JFM}R Documentation

returns the inner product of ab and ac

Description

returns the inner product of ab and ac

Arguments

ab

a 3D numeric vector

ac

a 3D numeric vector

Value

the dot product of ab and ac

Examples

a1<-c(1,2,3)
a2<-c(3,4,5)
rcpparma_dotproduct(a1,a2)

[Package JFM version 1.0 Index]