home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / octave-1.1.1p1-bin.lha / include / octave / mx-defs.h < prev    next >
C/C++ Source or Header  |  1996-10-12  |  2KB  |  82 lines

  1. //                                  -*- C++ -*-
  2. /*
  3.  
  4. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton
  5.  
  6. This file is part of Octave.
  7.  
  8. Octave is free software; you can redistribute it and/or modify it
  9. under the terms of the GNU General Public License as published by the
  10. Free Software Foundation; either version 2, or (at your option) any
  11. later version.
  12.  
  13. Octave is distributed in the hope that it will be useful, but WITHOUT
  14. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  16. for more details.
  17.  
  18. You should have received a copy of the GNU General Public License
  19. along with Octave; see the file COPYING.  If not, write to the Free
  20. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  21.  
  22. */
  23.  
  24. #if !defined (octave_mx_defs_h)
  25. #define octave_mx_defs_h 1
  26.  
  27. // Classes we declare.
  28.  
  29. class Matrix;
  30. class ColumnVector;
  31. class RowVector;
  32. class DiagMatrix;
  33. class ComplexMatrix;
  34. class ComplexColumnVector;
  35. class ComplexRowVector;
  36. class ComplexDiagMatrix;
  37. class AEPBALANCE;
  38. class ComplexAEPBALANCE;
  39. class GEPBALANCE;
  40. class CHOL;
  41. class ComplexCHOL;
  42. class DET;
  43. class ComplexDET;
  44. class EIG;
  45. class HESS;
  46. class ComplexHESS;
  47. class SCHUR;
  48. class ComplexSCHUR;
  49. class SVD;
  50. class ComplexSVD;
  51. class LU;
  52. class ComplexLU;
  53. class QR;
  54. class ComplexQR;
  55.  
  56. // Other data types we use but that don't always need to have full
  57. // declarations.
  58.  
  59. template <class T> class complex;
  60. typedef complex<double> Complex;
  61.  
  62. class istream;
  63. class ostream;
  64.  
  65. #ifndef MAPPER_FCN_TYPEDEFS
  66. #define MAPPER_FCN_TYPEDEFS 1
  67.  
  68. typedef double (*d_d_Mapper)(double);
  69. typedef double (*d_c_Mapper)(const Complex&);
  70. typedef Complex (*c_c_Mapper)(const Complex&);
  71.  
  72. #endif
  73.  
  74. #endif
  75.  
  76. /*
  77. ;;; Local Variables: ***
  78. ;;; mode: C++ ***
  79. ;;; page-delimiter: "^/\\*" ***
  80. ;;; End: ***
  81. */
  82.