This looks much better to me. Not only does it allow the solver to see the internal state of the decomposition. It also lets the decomposition pick just which kind of solver would be good/right to use.

On Dec 19, 2008, at 16:38, Luc Maisonobe <luc.maison...@free.fr> wrote:

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 ?

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

Reply via email to