0

I want to multiply a row vector V with a matrix M to get a vector V', i.e.

V' = V * M

How can I do that with MTJ? The interface Vector doesn't seem to have a multiply method.

Zoltán
  • 21,321
  • 14
  • 93
  • 134

1 Answers1

0

I managed to solve my problem using the property that (V * M)T = MT*VT, i.e.

M.transposeMult(V, resV);

Still, I wonder if there is a cleaner approach.

Zoltán
  • 21,321
  • 14
  • 93
  • 134