Re: [eigen] Contributing condition number estimator |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
I would like to contribute a feature that I find lacking in Eigen's linear algebra code: Efficient condition number estimation.
The first step that I would like you opinion on, is to how to add functionality to the non-symmetric decompositions (specifically FullPivLU and PartialPivLU) for solving the system adjoint system A^* x = rhs. Here I see two approaches:a) Add new methods "solveAdjoint" in the LU classes that return a new type solve_adjoint_retval internal type in Solve.h. (I have this implemented already. Benoit Jacob reviewed it.)
b) Add a template parameter "bool Adjoint" (with default value false) to existing solve methods in the LU classes (and pass it to solve_retval etc.).
The second step would be to add a method "Scalar rcond()" to all the decomposition classes returning the estimate of the reciprocal condition number.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |