Learn R Programming

JFM (version 1.0.1)

rcpparma_dotproduct: returns the inner product of ab and ac

Description

returns the inner product of ab and ac

Value

the dot product of ab and ac

Arguments

ab

a 3D numeric vector

ac

a 3D numeric vector

Examples

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

Run the code above in your browser using DataLab