Mercurial > hg > octave-nkf
diff liboctave/CMatrix.cc @ 3585:d9803711e047
[project @ 2000-02-08 04:35:39 by jwe]
author | jwe |
---|---|
date | Tue, 08 Feb 2000 04:35:47 +0000 |
parents | 2923f52d8fda |
children | 4c3774db5b3c |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -1350,6 +1350,34 @@ } ComplexColumnVector +ComplexMatrix::solve (const ColumnVector& b) const +{ + int info; + double rcond; + return solve (ComplexColumnVector (b), info, rcond, 0); +} + +ComplexColumnVector +ComplexMatrix::solve (const ColumnVector& b, int& info) const +{ + double rcond; + return solve (ComplexColumnVector (b), info, rcond, 0); +} + +ComplexColumnVector +ComplexMatrix::solve (const ColumnVector& b, int& info, double& rcond) const +{ + return solve (ComplexColumnVector (b), info, rcond, 0); +} + +ComplexColumnVector +ComplexMatrix::solve (const ColumnVector& b, int& info, double& rcond, + solve_singularity_handler sing_handler) const +{ + return solve (ComplexColumnVector (b), info, rcond, sing_handler); +} + +ComplexColumnVector ComplexMatrix::solve (const ComplexColumnVector& b) const { int info; @@ -1435,6 +1463,27 @@ } ComplexMatrix +ComplexMatrix::lssolve (const Matrix& b) const +{ + int info; + int rank; + return lssolve (ComplexMatrix (b), info, rank); +} + +ComplexMatrix +ComplexMatrix::lssolve (const Matrix& b, int& info) const +{ + int rank; + return lssolve (ComplexMatrix (b), info, rank); +} + +ComplexMatrix +ComplexMatrix::lssolve (const Matrix& b, int& info, int& rank) const +{ + return lssolve (ComplexMatrix (b), info, rank); +} + +ComplexMatrix ComplexMatrix::lssolve (const ComplexMatrix& b) const { int info; @@ -1517,6 +1566,27 @@ } ComplexColumnVector +ComplexMatrix::lssolve (const ColumnVector& b) const +{ + int info; + int rank; + return lssolve (ComplexColumnVector (b), info, rank); +} + +ComplexColumnVector +ComplexMatrix::lssolve (const ColumnVector& b, int& info) const +{ + int rank; + return lssolve (ComplexColumnVector (b), info, rank); +} + +ComplexColumnVector +ComplexMatrix::lssolve (const ColumnVector& b, int& info, int& rank) const +{ + return lssolve (ComplexColumnVector (b), info, rank); +} + +ComplexColumnVector ComplexMatrix::lssolve (const ComplexColumnVector& b) const { int info;