commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <>
Subject [math] RealMatrixFormat.parse()
Date Thu, 31 Dec 2015 03:33:56 GMT

In RealMatrixFormat.parse() MatrixUtils makes the decision on what type of RealMatrix instance
to return.  Flexibility is gained if it just returns double[][] letting the caller decide
what type of RealMatrix instance to create.  It's also better for modularity, as is reduces
RealMatrixFormat imports (The MatrixUtils supports Field matrices as well, and I'm attempting
to separate real and field matrices into two difference modules).

Also just curious if Array2DRowRealMatrix is worth keeping?  It seems like the performance
of BlockRealMatrix might be just as good or better regardless of matrix size ... although
my testing is limited.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message