commons-dev mailing list archives

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

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.

Cheers,
Ole

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message