comparison liboctave/array/dMatrix.cc @ 20497:5ce959c55cc0

Propagate 'lower' in chol(a, 'lower') to underlying library function. * chol.cc (chol): Send 'L' parameter correctly when chol is called with 'lower'. * floatCHOL.cc (init): Propagate 'lower' to underlying library function. * floatCHOL.h: Modify the prototype of methods. * fMatrix.cc (inverse): Invoke chol with additional parameter. * dbleCHOL.cc (init): Propagate 'lower' to underlying library function. * dbleCHOL.h: Modify the prototype of methods. * dMatrix.cc (inverse): Invoke chol with additional parameter. * CmplxCHOL.cc (init): Propagate 'lower' to underlying library function. * CmplxCHOL.h: Modify the prototype of methods. * CMatrix.cc (inverse): Invoke chol with additional parameter.
author PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
date Sun, 24 Aug 2014 19:35:06 +0530
parents a9574e3c6e9e
children 16b9ec39ff46
comparison
equal deleted inserted replaced
20496:0fe7133da8ce 20497:5ce959c55cc0
841 ret = tinverse (mattype, info, rcon, force, calc_cond); 841 ret = tinverse (mattype, info, rcon, force, calc_cond);
842 else 842 else
843 { 843 {
844 if (mattype.is_hermitian ()) 844 if (mattype.is_hermitian ())
845 { 845 {
846 CHOL chol (*this, info, calc_cond); 846 CHOL chol (*this, info, true, calc_cond);
847 if (info == 0) 847 if (info == 0)
848 { 848 {
849 if (calc_cond) 849 if (calc_cond)
850 rcon = chol.rcond (); 850 rcon = chol.rcond ();
851 else 851 else