# HG changeset patch # User jwe # Date 770863522 0 # Node ID c45e50c4ee94551b404e4dea709606dae2ad3deb # Parent bb6b67c48a348ef8c29d1693bcd42a0464e9f31d [project @ 1994-06-06 00:45:22 by jwe] Initial revision diff --git a/liboctave/mx-base.h b/liboctave/mx-base.h new file mode 100644 --- /dev/null +++ b/liboctave/mx-base.h @@ -0,0 +1,62 @@ +// -*- C++ -*- +/* + +Copyright (C) 1992, 1993, 1994 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 2, 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, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#if !defined (octave_mx_base_h) +#define octave_mx_base_h 1 + +/* + * Matrix classes. + */ + +#include "dMatrix.h" +#include "CMatrix.h" + +/* + * Column Vector classes. + */ + +#include "dColVector.h" +#include "CColVector.h" + +/* + * Row Vector classes. + */ + +#include "dRowVector.h" +#include "CRowVector.h" + +/* + * Diagonal Matrix classes. + */ + +#include "dDiagMatrix.h" +#include "CDiagMatrix.h" + +#endif + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/ diff --git a/liboctave/mx-defs.h b/liboctave/mx-defs.h new file mode 100644 --- /dev/null +++ b/liboctave/mx-defs.h @@ -0,0 +1,84 @@ +// -*- C++ -*- +/* + +Copyright (C) 1992, 1993, 1994 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 2, 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, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#if !defined (octave_mx_defs_h) +#define octave_mx_defs_h 1 + +// Classes we declare. + +class Matrix; +class ColumnVector; +class RowVector; +class DiagMatrix; +class ComplexMatrix; +class ComplexColumnVector; +class ComplexRowVector; +class ComplexDiagMatrix; +class AEPBALANCE; +class ComplexAEPBALANCE; +class GEPBALANCE; +class CHOL; +class ComplexCHOL; +class DET; +class ComplexDET; +class EIG; +class HESS; +class ComplexHESS; +class SCHUR; +class ComplexSCHUR; +class SVD; +class ComplexSVD; +class LU; +class ComplexLU; +class QR; +class ComplexQR; + +// Other data types we use but that don't always need to have full +// declarations. + +class Complex; + +class istream; +class ostream; + +#ifndef FILE +struct FILE; +#endif + +#ifndef MAPPER_FCN_TYPEDEFS +#define MAPPER_FCN_TYPEDEFS 1 + +typedef double (*d_d_Mapper)(double); +typedef double (*d_c_Mapper)(const Complex&); +typedef Complex (*c_c_Mapper)(const Complex&); + +#endif + +#endif + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/ diff --git a/liboctave/mx-ext.h b/liboctave/mx-ext.h new file mode 100644 --- /dev/null +++ b/liboctave/mx-ext.h @@ -0,0 +1,104 @@ +// -*- C++ -*- +/* + +Copyright (C) 1992, 1993, 1994 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 2, 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, write to the Free +Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +#if !defined (octave_mx_ext_h) +#define octave_mx_ext_h 1 + +/* + * Result of a AEP Balance operation. + */ + +#include "dbleAEPBAL.h" +#include "CmplxAEPBAL.h" + +/* + * Result of a Determinant calculation. + */ + +#include "dbleDET.h" +#include "CmplxDET.h" + +/* + * Result of a GEP Balance operation + * Note: currenlty only do balancing on real data. Complex balancing + * done on magnitudes of complex data. + */ + +#include "dbleGEPBAL.h" + +/* + * Result of a Cholesky Factorization + */ + +#include "dbleCHOL.h" +#include "CmplxCHOL.h" + +/* + * Result of a Hessenberg Decomposition + */ + +#include "dbleHESS.h" +#include "CmplxHESS.h" + +/* + * Result of a Schur Decomposition + */ + +#include "dbleSCHUR.h" +#include "CmplxSCHUR.h" + +/* + * Result of a Singular Value Decomposition. + */ + +#include "dbleSVD.h" +#include "CmplxSVD.h" + +/* + * Result of an Eigenvalue computation. + */ + +#include "EIG.h" + +/* + * Result of an LU decomposition. + */ + +#include "dbleLU.h" +#include "CmplxLU.h" + +/* + * Result of a QR decomposition. + */ + +#include "dbleQR.h" +#include "CmplxQR.h" + +#endif + +/* +;;; Local Variables: *** +;;; mode: C++ *** +;;; page-delimiter: "^/\\*" *** +;;; End: *** +*/