search for: cross_product

Displaying 1 result from an estimated 1 matches for "cross_product".

2010 May 08
1
matrix cross product in R different from cross product in Matlab
...# #sum of elementwise multiplication of first column of first matrix with first column of second matrix of second matrix [2,] ? 2*5+5*2 ? ? cant figure out how these were derived, definitely this is NOT identical to e.g. http://en.wikipedia.org/wiki/Cross_product I can work it out for the tcrossprod > c <- tcrossprod(g, h) > c [,1] [,2] [1,] 32 14 [2,] 77 32 because [,1] [,2] [1,] 1*4+2*5+3*6 1*1+2*2+3*3 #sum of elementwise multiplication of first line of first matrix with first line of sec...