Performing in-place calculations with Commons Math's RealMatrix?

80 views Asked by At

I am using the Apache Commons Math library to perform some calculations and I need to accumulate a number of matrices. The RealMatrix interface seems designed to return results, rather than to store results in-place.

Should I just make due with creating lots of short-lived matrices returned from add() while I accumulate the values? Is there a better alternative?

Were in-place functions intentionally left out for some reason?

0

There are 0 answers