This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Sum of the Outer Products of the columns of two 3xN matrices

Tags: None
(comma "," separated)
ctrippe
Registered Member
Posts
2
Karma
0
I have two (large) sets of points represented as the columns of two 3xN matrices.

is there an easy way to take each column of the respective matrices so that they are multiplied together by A.col(k)*B.col(k).transpose() and summed which produces a 3x3 matrix that represents the sum of all of these outer products?
jitseniesen
Registered Member
Posts
204
Karma
2
Does A * B.transpose() do the trick? If not, I do not understand what you want.
ctrippe
Registered Member
Posts
2
Karma
0
Oh yes, wow. That was a dumb question in retrospect.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]