0

I'm new to ojAlgo. What is the best way to multiply a 2x2 matrix by a 2x1 vector? Can I use the PrimitiveMatrix class or does this require using Arrays? Please provide an example.

rclang
  • 1
  • 1
  • What have you tried, and what was the problem? You may want to read this: https://www.ojalgo.org/2019/03/linear-algebra-introduction/ – apete Apr 15 '19 at 16:28
  • I did read the introduction, but I was unsure and was looking for a simple example. – rclang Apr 15 '19 at 17:04
  • There is example code on that page. – apete Apr 15 '19 at 17:08
  • No examples of Matrix x Vector on the page, however. I guess you could always store vectors as 1-column matrices. @rclang did you ever figure out how to do this? – Hakanai Jul 08 '21 at 11:03

0 Answers0