Mercurial > octave
comparison liboctave/array/dDiagMatrix.h @ 21273:cbced1c09916
better use of templates for svd classes
* liboctave/numeric/svd.h, liboctave/numeric/svd.cc: New files for svd
classes generated from CmplxSVD.cc, CmplxSVD.h, dbleSVD.cc, dbleSVD.h,
fCmplxSVD.cc, fCmplxSVD.h, floatSVD.cc, and floatSVD.h and converted
to templates.
* liboctave/numeric/module.mk: Update.
* __qp__.cc, svd.cc, CMatrix.cc, CMatrix.h, dDiagMatrix.h, dMatrix.cc,
dMatrix.h, fCMatrix.cc, fCMatrix.h, fDiagMatrix.h, fMatrix.cc,
fMatrix.h, oct-norm.cc, mx-defs.h, mx-ext.h: Use new classes.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 16 Feb 2016 14:41:06 -0500 |
parents | 1473547f50f5 |
children | bac0d6f07a3e |
comparison
equal
deleted
inserted
replaced
21272:987c1a79d33f | 21273:cbced1c09916 |
---|---|
35 | 35 |
36 class | 36 class |
37 OCTAVE_API | 37 OCTAVE_API |
38 DiagMatrix : public MDiagArray2<double> | 38 DiagMatrix : public MDiagArray2<double> |
39 { | 39 { |
40 friend class SVD; | |
41 friend class ComplexSVD; | |
42 | |
43 public: | 40 public: |
44 | 41 |
45 DiagMatrix (void) : MDiagArray2<double> () { } | 42 DiagMatrix (void) : MDiagArray2<double> () { } |
46 | 43 |
47 DiagMatrix (octave_idx_type r, octave_idx_type c) | 44 DiagMatrix (octave_idx_type r, octave_idx_type c) |