|
Ublas : |
From: Michael Stevens (mail_at_[hidden])
Date: 2006-04-14 04:40:36
Manoj,
On Thursday, 13. April 2006 21:52, Manoj Rajagopalan wrote:
> I can confirm that this code will crash on singular matrices :-) Can't
> ublas be modified to throw an exception or return an error value like
> INFO in the original FORTRAN version?
Interesting, I would like to understand what you are saying here.
Are you saying lu_factorize 'crashes' or the complete suggested code sequence
for inversion 'crashes'?
Can you detail what you mean by 'crash'!!
Looking at the code lu_factorize returns a 'singular' value. I assume this
should be checked against the rank of the matrix before continuing with back
substitution.
Michael
-- ___________________________________ Michael Stevens Systems Engineering 34128 Kassel, Germany Phone/Fax: +49 561 5218038 Navigation Systems, Estimation and Bayesian Filtering http://bayesclasses.sf.net ___________________________________