Mercurial > octave
view liboctave/operators/mx-ext.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 |
line wrap: on
line source
/* Copyright (C) 1994-2015 John W. Eaton This file is part of Octave. Octave is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. Octave is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Octave; see the file COPYING. If not, see <http://www.gnu.org/licenses/>. */ #if ! defined (octave_mx_ext_h) #define octave_mx_ext_h 1 #include "octave-config.h" // Result of a AEP Balance operation. #include "aepbalance.h" // Result of a GEP Balance operation. #include "gepbalance.h" // Result of a Determinant calculation. #include "DET.h" // Result of a Cholesky Factorization #include "chol.h" // Result of a Hessenberg Decomposition #include "hess.h" // Result of a Schur Decomposition #include "schur.h" // Result of a Singular Value Decomposition. #include "svd.h" // Result of an Eigenvalue computation. #include "EIG.h" // Result of a Generalized Singular Value Decomposition. #include "gsvd.h" // Result of an LU decomposition. #include "lu.h" // Result of a QR decomposition. #include "qr.h" #endif