Mercurial > hg > octave-lyh
diff liboctave/SparseQR.h @ 10312:cbc402e64d83
untabify liboctave header files
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 11 Feb 2010 12:14:48 -0500 |
parents | 4c0cdbe0acca |
children | 12884915a8e4 |
line wrap: on
line diff
--- a/liboctave/SparseQR.h +++ b/liboctave/SparseQR.h @@ -88,19 +88,19 @@ ~SparseQR (void) { if (--rep->count <= 0) - delete rep; + delete rep; } SparseQR& operator = (const SparseQR& a) { if (this != &a) - { - if (--rep->count <= 0) - delete rep; + { + if (--rep->count <= 0) + delete rep; - rep = a.rep; - rep->count++; - } + rep = a.rep; + rep->count++; + } return *this; } @@ -119,17 +119,17 @@ Matrix Q (void) const { return rep->Q(); } friend Matrix qrsolve (const SparseMatrix &a, const Matrix &b, - octave_idx_type &info); + octave_idx_type &info); friend SparseMatrix qrsolve (const SparseMatrix &a, const SparseMatrix &b, - octave_idx_type &info); + octave_idx_type &info); friend ComplexMatrix qrsolve (const SparseMatrix &a, const ComplexMatrix &b, - octave_idx_type &info); + octave_idx_type &info); friend SparseComplexMatrix qrsolve (const SparseMatrix &a, - const SparseComplexMatrix &b, - octave_idx_type &info); + const SparseComplexMatrix &b, + octave_idx_type &info); protected: #ifdef HAVE_CXSPARSE @@ -143,22 +143,22 @@ // Publish externally used friend functions. extern Matrix qrsolve (const SparseMatrix &a, const Matrix &b, - octave_idx_type &info); + octave_idx_type &info); extern Matrix qrsolve (const SparseMatrix &a, const MArray2<double> &b, - octave_idx_type &info); + octave_idx_type &info); extern SparseMatrix qrsolve (const SparseMatrix &a, const SparseMatrix &b, - octave_idx_type &info); + octave_idx_type &info); extern ComplexMatrix qrsolve (const SparseMatrix &a, const ComplexMatrix &b, - octave_idx_type &info); + octave_idx_type &info); extern ComplexMatrix qrsolve (const SparseMatrix &a, const MArray2<Complex> &b, - octave_idx_type &info); + octave_idx_type &info); extern SparseComplexMatrix qrsolve (const SparseMatrix &a, - const SparseComplexMatrix &b, - octave_idx_type &info); + const SparseComplexMatrix &b, + octave_idx_type &info); #endif