Mercurial > octave-nkf
comparison liboctave/array/fMatrix.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 |
---|---|
848 ret = tinverse (mattype, info, rcon, force, calc_cond); | 848 ret = tinverse (mattype, info, rcon, force, calc_cond); |
849 else | 849 else |
850 { | 850 { |
851 if (mattype.is_hermitian ()) | 851 if (mattype.is_hermitian ()) |
852 { | 852 { |
853 FloatCHOL chol (*this, info, calc_cond); | 853 FloatCHOL chol (*this, info, true, calc_cond); |
854 if (info == 0) | 854 if (info == 0) |
855 { | 855 { |
856 if (calc_cond) | 856 if (calc_cond) |
857 rcon = chol.rcond (); | 857 rcon = chol.rcond (); |
858 else | 858 else |