Mercurial > hg > octave-nkf
diff liboctave/dMatrix.cc @ 6479:2ee8293554a3
[project @ 2007-04-03 15:30:58 by jwe]
author | jwe |
---|---|
date | Tue, 03 Apr 2007 15:30:58 +0000 |
parents | 334499d75c5c |
children | e978a9233cf6 |
line wrap: on
line diff
--- a/liboctave/dMatrix.cc +++ b/liboctave/dMatrix.cc @@ -641,6 +641,22 @@ } Matrix +Matrix::inverse (octave_idx_type& info) const +{ + double rcond; + MatrixType mattype (*this); + return inverse (mattype, info, rcond, 0, 0); +} + +Matrix +Matrix::inverse (octave_idx_type& info, double& rcond, int force, + int calc_cond) const +{ + MatrixType mattype (*this); + return inverse (mattype, info, rcond, force, calc_cond); +} + +Matrix Matrix::inverse (MatrixType& mattype) const { octave_idx_type info;