annotate liboctave/mx-defs.h @ 8920:eb63fbe60fab

update copyright notices
author John W. Eaton <jwe@octave.org>
date Sat, 07 Mar 2009 10:41:27 -0500
parents 445d27d79f4e
children afcf852256d2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
1 /*
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
2
8920
eb63fbe60fab update copyright notices
John W. Eaton <jwe@octave.org>
parents: 8367
diff changeset
3 Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2003, 2005, 2007, 2008
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 John W. Eaton
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
5
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
6 This file is part of Octave.
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
7
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
8 Octave is free software; you can redistribute it and/or modify it
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
9 under the terms of the GNU General Public License as published by the
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 5307
diff changeset
10 Free Software Foundation; either version 3 of the License, or (at your
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 5307
diff changeset
11 option) any later version.
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
12
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
13 Octave is distributed in the hope that it will be useful, but WITHOUT
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
16 for more details.
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
17
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 5307
diff changeset
19 along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 5307
diff changeset
20 <http://www.gnu.org/licenses/>.
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
21
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
22 */
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
23
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
24 #if !defined (octave_mx_defs_h)
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
25 #define octave_mx_defs_h 1
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
26
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
27 // Classes we declare.
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
28
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
29 class Matrix;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
30 class ComplexMatrix;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
31 class FloatMatrix;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
32 class FloatComplexMatrix;
2828
92826d6e8bd9 [project @ 1997-03-25 23:41:41 by jwe]
jwe
parents: 1993
diff changeset
33 class boolMatrix;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
34 class charMatrix;
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
35
4543
79df15d4470c [project @ 2003-10-18 03:53:52 by jwe]
jwe
parents: 3503
diff changeset
36 class NDArray;
79df15d4470c [project @ 2003-10-18 03:53:52 by jwe]
jwe
parents: 3503
diff changeset
37 class ComplexNDArray;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
38 class FloatNDArray;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
39 class FloatComplexNDArray;
4543
79df15d4470c [project @ 2003-10-18 03:53:52 by jwe]
jwe
parents: 3503
diff changeset
40 class boolNDArray;
79df15d4470c [project @ 2003-10-18 03:53:52 by jwe]
jwe
parents: 3503
diff changeset
41 class charNDArray;
79df15d4470c [project @ 2003-10-18 03:53:52 by jwe]
jwe
parents: 3503
diff changeset
42
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
43 class ColumnVector;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
44 class ComplexColumnVector;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
45 class FloatColumnVector;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
46 class FloatComplexColumnVector;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
47
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
48 class RowVector;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
49 class ComplexRowVector;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
50 class FloatRowVector;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
51 class FloatComplexRowVector;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
52
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
53 class DiagMatrix;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
54 class ComplexDiagMatrix;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
55 class FloatDiagMatrix;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
56 class FloatComplexDiagMatrix;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
57
8367
445d27d79f4e support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents: 8335
diff changeset
58 class PermMatrix;
445d27d79f4e support permutation matrix objects
Jaroslav Hajek <highegg@gmail.com>
parents: 8335
diff changeset
59
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
60 class AEPBALANCE;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
61 class ComplexAEPBALANCE;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
62 class FloatAEPBALANCE;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
63 class FloatComplexAEPBALANCE;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
64
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
65 class GEPBALANCE;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
66 class ComplexGEPBALANCE;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
67 class FloatGEPBALANCE;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
68 class FloatComplexGEPBALANCE;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
69
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
70 class CHOL;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
71 class ComplexCHOL;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
72 class FloatCHOL;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
73 class FloatComplexCHOL;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
74
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
75 class EIG;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
76
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
77 class HESS;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
78 class ComplexHESS;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
79 class FloatHESS;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
80 class FloatComplexHESS;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
81
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
82 class SCHUR;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
83 class ComplexSCHUR;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
84 class FloatSCHUR;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
85 class FloatComplexSCHUR;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
86
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
87 class SVD;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
88 class ComplexSVD;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
89 class FloatSVD;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
90 class FloatComplexSVD;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
91
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
92 class LU;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
93 class ComplexLU;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
94 class FloatLU;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
95 class FloatComplexLU;
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1315
diff changeset
96
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
97 class QR;
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
98 class ComplexQR;
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
99 class FloatQR;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
100 class FloatComplexQR;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
101
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
102 class QRP;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
103 class ComplexQRP;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
104 class FloatQRP;
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
105 class FloatComplexQRP;
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
106
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
107 // Other data types we use but that don't always need to have full
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
108 // declarations.
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
109
1649
643b55bb57dd [project @ 1995-12-20 06:44:41 by jwe]
jwe
parents: 1574
diff changeset
110 #include "oct-cmplx.h"
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
111
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
112 #ifndef MAPPER_FCN_TYPEDEFS
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
113 #define MAPPER_FCN_TYPEDEFS 1
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
114
3248
68259f410026 [project @ 1999-07-13 03:34:54 by jwe]
jwe
parents: 2847
diff changeset
115 typedef bool (*b_d_Mapper)(double);
68259f410026 [project @ 1999-07-13 03:34:54 by jwe]
jwe
parents: 2847
diff changeset
116 typedef bool (*b_c_Mapper)(const Complex&);
68259f410026 [project @ 1999-07-13 03:34:54 by jwe]
jwe
parents: 2847
diff changeset
117
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
118 typedef double (*d_d_Mapper)(double);
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
119 typedef double (*d_c_Mapper)(const Complex&);
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
120 typedef Complex (*c_c_Mapper)(const Complex&);
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
121
7789
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
122 typedef bool (*b_f_Mapper)(float);
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
123 typedef bool (*b_fc_Mapper)(const FloatComplex&);
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
124
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
125 typedef float (*f_f_Mapper)(float);
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
126 typedef float (*f_fc_Mapper)(const FloatComplex&);
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
127 typedef FloatComplex (*fc_fc_Mapper)(const FloatComplex&);
82be108cc558 First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents: 7017
diff changeset
128
460
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
129 #endif
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
130
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
131 #endif
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
132
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
133 /*
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
134 ;;; Local Variables: ***
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
135 ;;; mode: C++ ***
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
136 ;;; End: ***
c45e50c4ee94 [project @ 1994-06-06 00:45:22 by jwe]
jwe
parents:
diff changeset
137 */