powered by
returns the outer product of ab and ac
rcpp_crossProd(ab, ac)
the outer product of ab and ac
ab
ac
a 3D numeric vector
a1<-c(1,2,3) a2<-c(3,4,5) rcpp_crossProd(a1,a2)
Run the code above in your browser using DataLab