Luc Maisonobe wrote:
The decomposition/solvers API has changed several times these last
weeks, but I would like to introduce one new change.
The current status is something similar to:
RealVector x = new XyzSolver(new XyzDecomposition(a)).solve(b);
I would like to change it to:
RealVector x = new XyzDecomposition(a).getSolver().solve(b);
The reason for that is that it allows to have a solver that is built
from the internal state of the decomposition instead of using its public
API. This allows better performances as we don't need to build
explicitly some matrices.
Any thoughts about this change ?
Sorry to be so late to respond, but I am belatedly +1 on this change as
well. I think the package now looks good both from ease of use and
efficiency perspective. Nice work!
Phil
Luc
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org