comparison liboctave/operators/mx-defs.h @ 22236:065a44375723

gsvd: reduce code duplication with templates. * CmplxGSVD.cc, CmplxGSVD.h, dbleGSVD.cc, dbleGSVD.h: Remove files for no longer existing classes. Replaced by gsvd template class. This classes never existed in an Octave release, this was freshly imported from Octave Forge so backwards compatibility is not an issue. * liboctave/numeric/gsvd.h, liboctave/numeric/gsvd.cc: New files for gsvd class template generated from CmplxGSVD.cc, CmplxGSVD.h, dbleGSVD.cc, and dbleGSVD.h and converted to template. Removed unused << operator, unused constructor with &info, and commented code. Only instantiated for Matrix and ComplexMatrix, providing interface to DGGSVD and ZGGSVD. * liboctave/numeric/module.mk: Update. * mx-defs.h, mx-ext.h: Use new classes.
author Barbara Locsi <locsi.barbara@gmail.com>
date Tue, 09 Aug 2016 18:02:11 +0200
parents 63b41167ef1e
children bac0d6f07a3e
comparison
equal deleted inserted replaced
22235:63b41167ef1e 22236:065a44375723
64 64
65 template <typename T> class chol; 65 template <typename T> class chol;
66 66
67 class EIG; 67 class EIG;
68 68
69 class GSVD; 69 template <typename T> class gsvd;
70 70
71 template <typename T> class hess; 71 template <typename T> class hess;
72 72
73 template <typename T> class schur; 73 template <typename T> class schur;
74 74