This should work: Matrix a(3, 1); Matrix b(3, 1); Matrix c = a.transpose()*b*IdentityMatrix(3);
Log in to post a comment.