Mercurial > octave-nkf
comparison liboctave/SparseQR.h @ 5792:eb90c83b4f91
[project @ 2006-05-04 20:14:49 by dbateman]
author | dbateman |
---|---|
date | Thu, 04 May 2006 20:14:50 +0000 |
parents | 6cb607fcf41c |
children | 143b556ce725 |
comparison
equal
deleted
inserted
replaced
5791:70215aff5ccf | 5792:eb90c83b4f91 |
---|---|
72 }; | 72 }; |
73 private: | 73 private: |
74 SparseQR_rep *rep; | 74 SparseQR_rep *rep; |
75 | 75 |
76 public: | 76 public: |
77 SparseQR (void) : rep (new SparseQR_rep (SparseMatrix(), -1)) { } | 77 SparseQR (void) : rep (new SparseQR_rep (SparseMatrix(), 0)) { } |
78 | 78 |
79 SparseQR (const SparseMatrix& a, int order = -1) : | 79 SparseQR (const SparseMatrix& a, int order = 0) : |
80 rep (new SparseQR_rep (a, order)) { } | 80 rep (new SparseQR_rep (a, order)) { } |
81 | 81 |
82 SparseQR (const SparseQR& a) : rep (a.rep) { rep->count++; } | 82 SparseQR (const SparseQR& a) : rep (a.rep) { rep->count++; } |
83 | 83 |
84 ~SparseQR (void) | 84 ~SparseQR (void) |