commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: [math] changing again decomposition/solvers API ?
Date Sat, 20 Dec 2008 18:41:47 GMT

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.Maisonobe@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Mime
View raw message