Mercurial > hg > octave-lyh
comparison liboctave/dSparse.h @ 8303:b11c31849b44
improve norm computation capabilities
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Fri, 31 Oct 2008 08:05:32 +0100 |
parents | 935be827eaf8 |
children | 64cf956a109c |
comparison
equal
deleted
inserted
replaced
8302:f2e050b62199 | 8303:b11c31849b44 |
---|---|
118 SparseMatrix transpose (void) const | 118 SparseMatrix transpose (void) const |
119 { | 119 { |
120 return MSparse<double>::transpose (); | 120 return MSparse<double>::transpose (); |
121 } | 121 } |
122 SparseMatrix hermitian (void) const { return transpose (); } | 122 SparseMatrix hermitian (void) const { return transpose (); } |
123 | |
124 // extract row or column i. | |
125 | |
126 RowVector row (octave_idx_type i) const; | |
127 | |
128 ColumnVector column (octave_idx_type i) const; | |
123 | 129 |
124 private: | 130 private: |
125 SparseMatrix dinverse (MatrixType &mattyp, octave_idx_type& info, | 131 SparseMatrix dinverse (MatrixType &mattyp, octave_idx_type& info, |
126 double& rcond, const bool force = false, | 132 double& rcond, const bool force = false, |
127 const bool calccond = true) const; | 133 const bool calccond = true) const; |