Mercurial > hg > octave-nkf
comparison liboctave/dMatrix.cc @ 1484:84796decb9af
[project @ 1995-09-26 09:30:32 by jwe]
author | jwe |
---|---|
date | Tue, 26 Sep 1995 09:30:32 +0000 |
parents | 72319a899c29 |
children | ffee86c37931 |
comparison
equal
deleted
inserted
replaced
1483:6422f071ba11 | 1484:84796decb9af |
---|---|
1045 | 1045 |
1046 ComplexMatrix | 1046 ComplexMatrix |
1047 Matrix::lssolve (const ComplexMatrix& b) const | 1047 Matrix::lssolve (const ComplexMatrix& b) const |
1048 { | 1048 { |
1049 ComplexMatrix tmp (*this); | 1049 ComplexMatrix tmp (*this); |
1050 return tmp.lssolve (b); | 1050 int info; |
1051 int rank; | |
1052 return tmp.lssolve (b, info, rank); | |
1051 } | 1053 } |
1052 | 1054 |
1053 ComplexMatrix | 1055 ComplexMatrix |
1054 Matrix::lssolve (const ComplexMatrix& b, int& info) const | 1056 Matrix::lssolve (const ComplexMatrix& b, int& info) const |
1055 { | 1057 { |
1056 ComplexMatrix tmp (*this); | 1058 ComplexMatrix tmp (*this); |
1057 return tmp.lssolve (b); | 1059 int rank; |
1060 return tmp.lssolve (b, info, rank); | |
1058 } | 1061 } |
1059 | 1062 |
1060 ComplexMatrix | 1063 ComplexMatrix |
1061 Matrix::lssolve (const ComplexMatrix& b, int& info, int& rank) const | 1064 Matrix::lssolve (const ComplexMatrix& b, int& info, int& rank) const |
1062 { | 1065 { |
1063 ComplexMatrix tmp (*this); | 1066 ComplexMatrix tmp (*this); |
1064 return tmp.lssolve (b); | 1067 return tmp.lssolve (b, info, rank); |
1065 } | 1068 } |
1066 | 1069 |
1067 ColumnVector | 1070 ColumnVector |
1068 Matrix::lssolve (const ColumnVector& b) const | 1071 Matrix::lssolve (const ColumnVector& b) const |
1069 { | 1072 { |
1070 int info; | 1073 int info; |
1071 int rank; return lssolve (b, info, rank); | 1074 int rank; |
1075 return lssolve (b, info, rank); | |
1072 } | 1076 } |
1073 | 1077 |
1074 ColumnVector | 1078 ColumnVector |
1075 Matrix::lssolve (const ColumnVector& b, int& info) const | 1079 Matrix::lssolve (const ColumnVector& b, int& info) const |
1076 { | 1080 { |