commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <phil.ste...@gmail.com>
Subject Re: [math] changing again decomposition/solvers API ?
Date Sat, 03 Jan 2009 16:58:46 GMT
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-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