Mercurial > hg > octave-terminal
changeset 4384:f1fcc371e5ef
[project @ 2003-04-23 19:51:57 by jwe]
author | jwe |
---|---|
date | Wed, 23 Apr 2003 19:51:58 +0000 |
parents | 26f74e9fd8a5 |
children | de8c1d2ee728 |
files | liboctave/CMatrix.cc liboctave/CMatrix.h liboctave/ChangeLog liboctave/dMatrix.cc liboctave/dMatrix.h |
diffstat | 5 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -1034,7 +1034,7 @@ } ComplexMatrix -ComplexMatrix::pseudo_inverse (double tol) +ComplexMatrix::pseudo_inverse (double tol) const { ComplexMatrix retval;
--- a/liboctave/CMatrix.h +++ b/liboctave/CMatrix.h @@ -143,7 +143,7 @@ ComplexMatrix inverse (int& info, double& rcond, int force = 0, int calc_cond = 1) const; - ComplexMatrix pseudo_inverse (double tol = 0.0); + ComplexMatrix pseudo_inverse (double tol = 0.0) const; ComplexMatrix fourier (void) const; ComplexMatrix ifourier (void) const;
--- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,3 +1,8 @@ +2003-04-23 John W. Eaton <jwe@bevo.che.wisc.edu> + + * dMatrix.cc (Matrix::pseudo_inverse): Now const. + * CMatrix.cc (ComplexMatrix::pseudo_inverse): Likewise. + 2003-04-18 John W. Eaton <jwe@bevo.che.wisc.edu> * getopt.c, getopt1.c, getopt.h: Move here from kpathsea.
--- a/liboctave/dMatrix.cc +++ b/liboctave/dMatrix.cc @@ -701,7 +701,7 @@ } Matrix -Matrix::pseudo_inverse (double tol) +Matrix::pseudo_inverse (double tol) const { SVD result (*this, SVD::economy);
--- a/liboctave/dMatrix.h +++ b/liboctave/dMatrix.h @@ -118,7 +118,7 @@ Matrix inverse (int& info, double& rcond, int force = 0, int calc_cond = 1) const; - Matrix pseudo_inverse (double tol = 0.0); + Matrix pseudo_inverse (double tol = 0.0) const; ComplexMatrix fourier (void) const; ComplexMatrix ifourier (void) const;