Mercurial > octave
diff liboctave/array/dMatrix.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 | 230e186e292d |
children | ff054947d132 |
line wrap: on
line diff
--- a/liboctave/array/dMatrix.h Tue Feb 16 14:39:52 2016 -0500 +++ b/liboctave/array/dMatrix.h Tue Feb 16 14:41:06 2016 -0500 @@ -49,6 +49,9 @@ typedef Matrix real_matrix_type; typedef ComplexMatrix complex_matrix_type; + typedef DiagMatrix real_diag_matrix_type; + typedef ComplexDiagMatrix complex_diag_matrix_type; + typedef double real_elt_type; typedef Complex complex_elt_type;