Mercurial > hg > octave-lyh
comparison liboctave/array/CDiagMatrix.h @ 15448:0a0912a9ab6e
Replace deprecated DiagArray2<T>::diag calls with DiagArray2<T>::extract_diag
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Thu, 27 Sep 2012 17:00:45 -0400 |
parents | 648dabbb4c6b |
children |
comparison
equal
deleted
inserted
replaced
15447:352349219529 | 15448:0a0912a9ab6e |
---|---|
118 ComplexDiagMatrix& operator += (const DiagMatrix& a); | 118 ComplexDiagMatrix& operator += (const DiagMatrix& a); |
119 ComplexDiagMatrix& operator -= (const DiagMatrix& a); | 119 ComplexDiagMatrix& operator -= (const DiagMatrix& a); |
120 | 120 |
121 // other operations | 121 // other operations |
122 | 122 |
123 ComplexColumnVector diag (octave_idx_type k = 0) const | 123 ComplexColumnVector extract_diag (octave_idx_type k = 0) const |
124 { return MDiagArray2<Complex>::diag (k); } | 124 { return MDiagArray2<Complex>::extract_diag (k); } |
125 | 125 |
126 ComplexDET determinant (void) const; | 126 ComplexDET determinant (void) const; |
127 double rcond (void) const; | 127 double rcond (void) const; |
128 | 128 |
129 // i/o | 129 // i/o |