Mercurial > forge
annotate main/fixed/src/fixedCMatrix.h @ 5248:f8d77845533f octave-forge
Changes for compilation with 3.1.51+
author | adb014 |
---|---|
date | Thu, 13 Nov 2008 22:49:30 +0000 |
parents | 2de537641f94 |
children | 0924c374b60d |
rev | line source |
---|---|
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
1 /* |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
2 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
3 Copyright (C) 2003 Motorola Inc |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
4 Copyright (C) 2003 David Bateman |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
5 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
6 This program is free software; you can redistribute it and/or modify it |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
7 under the terms of the GNU General Public License as published by the |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
8 Free Software Foundation; either version 2, or (at your option) any |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
9 later version. |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
10 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
11 This program is distributed in the hope that it will be useful, but WITHOUT |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
14 for more details. |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
15 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
16 You should have received a copy of the GNU General Public License |
4404 | 17 along with this program; see the file COPYING. If not, see |
18 <http://www.gnu.org/licenses/>. | |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
19 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
20 In addition to the terms of the GPL, you are permitted to link |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
21 this program with any Open Source program, as defined by the |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
22 Open Source Initiative (www.opensource.org) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
23 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
24 */ |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
25 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
26 #if !defined (octave_FixedCMatrix_h) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
27 #define octave_FixedCMatrix_h 1 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
28 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
29 #include <octave/MArray2.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
30 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
31 #include <octave/mx-defs.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
32 #include <octave/mx-op-defs.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
33 #include <octave/data-conv.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
34 #include <octave/mach-info.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
35 #include <octave/boolMatrix.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
36 #include <octave/dMatrix.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
37 #include <octave/CMatrix.h> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
38 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
39 #include "int/fixed.h" |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
40 #include "fixedMatrix.h" |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
41 #include "fixedComplex.h" |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
42 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
43 #if !defined(octave_FixedCColVector_h) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
44 class FixedComplexColumnVector; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
45 #endif |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
46 #if !defined(octave_FixedCRowVector_h) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
47 class FixedComplexRowVector; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
48 #endif |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
49 |
5248 | 50 typedef FixedPointComplex (*fpc_fpc_Mapper)(FixedPointComplex); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
51 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
52 class |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
53 OCTAVE_FIXED_API |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
54 FixedComplexMatrix : public MArray2<FixedPointComplex> |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
55 { |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
56 public: |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
57 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
58 FixedComplexMatrix (void) : MArray2<FixedPointComplex> () { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
59 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
60 FixedComplexMatrix (int r, int c) : MArray2<FixedPointComplex> (r, c) { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
61 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
62 FixedComplexMatrix (int r, int c, const FixedPointComplex val) : |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
63 MArray2<FixedPointComplex> (r, c, val) { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
64 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
65 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> &ds); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
66 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
67 FixedComplexMatrix (const Matrix &is, const Matrix &ds); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
68 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
69 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix &ds); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
70 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
71 FixedComplexMatrix (unsigned int is, unsigned int ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
72 const FixedComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
73 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
74 FixedComplexMatrix (Complex is, Complex ds, const FixedComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
75 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
76 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
77 const FixedComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
78 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
79 FixedComplexMatrix (const Matrix &is, const Matrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
80 const FixedComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
81 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
82 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
83 const FixedComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
84 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
85 FixedComplexMatrix (unsigned int is, unsigned int ds, const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
86 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
87 FixedComplexMatrix (Complex is, Complex ds, const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
88 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
89 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
90 const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
91 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
92 FixedComplexMatrix (const Matrix &is, const Matrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
93 const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
94 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
95 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
96 const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
97 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
98 FixedComplexMatrix (unsigned int is, unsigned int ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
99 const ComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
100 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
101 FixedComplexMatrix (Complex is, Complex ds, const ComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
102 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
103 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> & ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
104 const ComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
105 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
106 FixedComplexMatrix (const Matrix &is, const Matrix & ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
107 const ComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
108 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
109 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix & ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
110 const ComplexMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
111 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
112 FixedComplexMatrix (unsigned int is, unsigned int ds, const Matrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
113 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
114 FixedComplexMatrix (Complex is, Complex ds, const Matrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
115 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
116 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> & ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
117 const Matrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
118 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
119 FixedComplexMatrix (const Matrix &is, const Matrix & ds, const Matrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
120 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
121 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix & ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
122 const Matrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
123 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
124 FixedComplexMatrix (unsigned int is, unsigned int ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
125 const ComplexMatrix &a, const ComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
126 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
127 FixedComplexMatrix (Complex is, Complex ds, const ComplexMatrix &a, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
128 const ComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
129 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
130 FixedComplexMatrix (const MArray2<int> &is, const MArray2<int> &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
131 const ComplexMatrix &a, const ComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
132 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
133 FixedComplexMatrix (const Matrix &is, const Matrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
134 const ComplexMatrix &a, const ComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
135 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
136 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix &ds, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
137 const ComplexMatrix &a, const ComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
138 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
139 FixedComplexMatrix (const FixedMatrix& a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
140 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
141 FixedComplexMatrix (const FixedMatrix& a, const FixedMatrix& b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
142 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
143 FixedComplexMatrix (const FixedComplexMatrix& a) : |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
144 MArray2<FixedPointComplex> (a) { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
145 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
146 FixedComplexMatrix (const MArray2<FixedPointComplex>& a) : |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
147 MArray2<FixedPointComplex> (a) { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
148 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
149 explicit FixedComplexMatrix (const FixedComplexRowVector& rv); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
150 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
151 FixedComplexMatrix (const FixedRowVector& rv); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
152 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
153 explicit FixedComplexMatrix (const FixedComplexColumnVector& cv); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
154 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
155 FixedComplexMatrix (const FixedColumnVector& cv); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
156 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
157 ComplexMatrix sign (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
158 ComplexMatrix getdecsize (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
159 ComplexMatrix getintsize (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
160 ComplexMatrix getnumber (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
161 ComplexMatrix fixedpoint (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
162 FixedComplexMatrix chdecsize (const Complex n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
163 FixedComplexMatrix chdecsize (const ComplexMatrix &n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
164 FixedComplexMatrix chintsize (const Complex n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
165 FixedComplexMatrix chintsize (const ComplexMatrix &n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
166 FixedComplexMatrix incdecsize (const Complex n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
167 FixedComplexMatrix incdecsize (const ComplexMatrix &n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
168 FixedComplexMatrix incdecsize (); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
169 FixedComplexMatrix incintsize (const Complex n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
170 FixedComplexMatrix incintsize (const ComplexMatrix &n); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
171 FixedComplexMatrix incintsize (); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
172 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
173 FixedComplexMatrix& operator = (const FixedComplexMatrix& a) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
174 { |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
175 MArray2<FixedPointComplex>::operator = (a); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
176 return *this; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
177 } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
178 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
179 bool operator == (const FixedComplexMatrix& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
180 bool operator != (const FixedComplexMatrix& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
181 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
182 bool is_hermitian (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
183 bool is_symmetric (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
184 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
185 FixedComplexMatrix concat (const FixedComplexMatrix& rb, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
186 const Array<int>& ra_idx); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
187 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
188 FixedComplexMatrix concat (const FixedMatrix& rb, |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
189 const Array<int>& ra_idx); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
190 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
191 // destructive insert/delete/reorder operations |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
192 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
193 FixedComplexMatrix& insert (const FixedComplexMatrix& a, int r, int c); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
194 FixedComplexMatrix& insert (const FixedComplexRowVector& a, int r, int c); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
195 FixedComplexMatrix& insert (const FixedComplexColumnVector& a, int r, int c); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
196 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
197 FixedComplexMatrix& fill (FixedPointComplex val); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
198 FixedComplexMatrix& fill (FixedPointComplex val, int r1, int c1, int r2, int c2); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
199 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
200 FixedComplexMatrix append (const FixedComplexMatrix& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
201 FixedComplexMatrix append (const FixedComplexRowVector& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
202 FixedComplexMatrix append (const FixedComplexColumnVector& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
203 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
204 FixedComplexMatrix stack (const FixedComplexMatrix& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
205 FixedComplexMatrix stack (const FixedComplexRowVector& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
206 FixedComplexMatrix stack (const FixedComplexColumnVector& a) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
207 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
208 FixedComplexMatrix hermitian (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
209 FixedComplexMatrix transpose (void) const { return MArray2<FixedPointComplex>::transpose (); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
210 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
211 // resize is the destructive equivalent for this one |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
212 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
213 FixedComplexMatrix extract (int r1, int c1, int r2, int c2) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
214 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
215 FixedComplexMatrix extract_n (int r1, int c1, int nr, int nc) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
216 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
217 // extract row or column i. |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
218 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
219 FixedComplexRowVector row (int i) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
220 FixedComplexRowVector row (char *s) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
221 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
222 FixedComplexColumnVector column (int i) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
223 FixedComplexColumnVector column (char *s) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
224 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
225 // unary operations |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
226 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
227 FixedComplexMatrix operator ! (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
228 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
229 // other operations |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
230 |
5248 | 231 FixedComplexMatrix map (fpc_fpc_Mapper f) const; |
232 FixedComplexMatrix& apply (fpc_fpc_Mapper f); | |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
233 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
234 bool all_elements_are_real (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
235 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
236 boolMatrix all (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
237 boolMatrix any (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
238 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
239 FixedComplexMatrix cumprod (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
240 FixedComplexMatrix cumsum (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
241 FixedComplexMatrix prod (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
242 FixedComplexMatrix sum (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
243 FixedComplexMatrix sumsq (int dim = -1) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
244 FixedComplexMatrix abs (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
245 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
246 FixedComplexColumnVector diag (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
247 FixedComplexColumnVector diag (int k) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
248 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
249 FixedComplexColumnVector row_min (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
250 FixedComplexColumnVector row_max (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
251 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
252 FixedComplexColumnVector row_min (Array<int>& index) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
253 FixedComplexColumnVector row_max (Array<int>& index) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
254 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
255 FixedComplexRowVector column_min (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
256 FixedComplexRowVector column_max (void) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
257 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
258 FixedComplexRowVector column_min (Array<int>& index) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
259 FixedComplexRowVector column_max (Array<int>& index) const; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
260 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
261 friend OCTAVE_FIXED_API FixedComplexMatrix operator * (const FixedComplexColumnVector& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
262 const FixedComplexRowVector& b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
263 friend OCTAVE_FIXED_API FixedComplexMatrix operator * (const FixedComplexMatrix& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
264 const FixedComplexMatrix& b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
265 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
266 friend OCTAVE_FIXED_API FixedMatrix real (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
267 friend OCTAVE_FIXED_API FixedMatrix imag (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
268 friend OCTAVE_FIXED_API FixedComplexMatrix conj (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
269 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
270 friend OCTAVE_FIXED_API FixedMatrix abs (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
271 friend OCTAVE_FIXED_API FixedMatrix norm (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
272 friend OCTAVE_FIXED_API FixedMatrix arg (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
273 friend OCTAVE_FIXED_API FixedComplexMatrix polar (const FixedMatrix &r, const FixedMatrix &p); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
274 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
275 friend OCTAVE_FIXED_API FixedComplexMatrix cos (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
276 friend OCTAVE_FIXED_API FixedComplexMatrix cosh (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
277 friend OCTAVE_FIXED_API FixedComplexMatrix sin (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
278 friend OCTAVE_FIXED_API FixedComplexMatrix sinh (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
279 friend OCTAVE_FIXED_API FixedComplexMatrix tan (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
280 friend OCTAVE_FIXED_API FixedComplexMatrix tanh (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
281 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
282 friend OCTAVE_FIXED_API FixedComplexMatrix sqrt (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
283 friend OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, const int b); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
284 friend OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, const double b); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
285 friend OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
286 const FixedPointComplex &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
287 friend OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
288 const FixedComplexMatrix &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
289 friend OCTAVE_FIXED_API FixedComplexMatrix exp (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
290 friend OCTAVE_FIXED_API FixedComplexMatrix log (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
291 friend OCTAVE_FIXED_API FixedComplexMatrix log10 (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
292 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
293 friend OCTAVE_FIXED_API FixedComplexMatrix round (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
294 friend OCTAVE_FIXED_API FixedComplexMatrix rint (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
295 friend OCTAVE_FIXED_API FixedComplexMatrix floor (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
296 friend OCTAVE_FIXED_API FixedComplexMatrix ceil (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
297 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
298 friend OCTAVE_FIXED_API ComplexMatrix fixedpoint (const FixedComplexMatrix& x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
299 friend OCTAVE_FIXED_API ComplexMatrix sign (const FixedComplexMatrix& x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
300 friend OCTAVE_FIXED_API ComplexMatrix getintsize (const FixedComplexMatrix& x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
301 friend OCTAVE_FIXED_API ComplexMatrix getdecsize (const FixedComplexMatrix& x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
302 friend OCTAVE_FIXED_API ComplexMatrix getnumber (const FixedComplexMatrix& x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
303 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
304 // i/o |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
305 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
306 friend OCTAVE_FIXED_API std::ostream& operator << (std::ostream& os, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
307 const FixedComplexMatrix& a); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
308 friend OCTAVE_FIXED_API std::istream& operator >> (std::istream& is, FixedComplexMatrix& a); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
309 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
310 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
311 static FixedPointComplex resize_fill_value (void) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
312 { return FixedPointComplex(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
313 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
314 private: |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
315 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
316 FixedComplexMatrix (FixedPointComplex *d, int r, int c) : |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
317 MArray2<FixedPointComplex> (d, r, c) { } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
318 }; |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
319 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
320 OCTAVE_FIXED_API FixedComplexMatrix operator * (const FixedComplexColumnVector& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
321 const FixedComplexRowVector& b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
322 OCTAVE_FIXED_API FixedComplexMatrix operator * (const FixedComplexMatrix& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
323 const FixedComplexMatrix& b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
324 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
325 OCTAVE_FIXED_API FixedMatrix real (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
326 OCTAVE_FIXED_API FixedMatrix imag (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
327 OCTAVE_FIXED_API FixedComplexMatrix conj (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
328 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
329 OCTAVE_FIXED_API FixedMatrix abs (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
330 OCTAVE_FIXED_API FixedMatrix norm (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
331 OCTAVE_FIXED_API FixedMatrix arg (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
332 OCTAVE_FIXED_API FixedComplexMatrix polar (const FixedMatrix &r, const FixedMatrix &p); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
333 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
334 OCTAVE_FIXED_API FixedComplexMatrix cos (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
335 OCTAVE_FIXED_API FixedComplexMatrix cosh (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
336 OCTAVE_FIXED_API FixedComplexMatrix sin (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
337 OCTAVE_FIXED_API FixedComplexMatrix sinh (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
338 OCTAVE_FIXED_API FixedComplexMatrix tan (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
339 OCTAVE_FIXED_API FixedComplexMatrix tanh (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
340 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
341 OCTAVE_FIXED_API FixedComplexMatrix sqrt (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
342 OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, const int b); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
343 OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, const double b); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
344 OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
345 const FixedPointComplex &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
346 OCTAVE_FIXED_API FixedComplexMatrix pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
347 const FixedComplexMatrix &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
348 OCTAVE_FIXED_API FixedComplexMatrix exp (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
349 OCTAVE_FIXED_API FixedComplexMatrix log (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
350 OCTAVE_FIXED_API FixedComplexMatrix log10 (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
351 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
352 OCTAVE_FIXED_API FixedComplexMatrix round (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
353 OCTAVE_FIXED_API FixedComplexMatrix rint (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
354 OCTAVE_FIXED_API FixedComplexMatrix floor (const FixedComplexMatrix &x); |
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
355 OCTAVE_FIXED_API FixedComplexMatrix ceil (const FixedComplexMatrix &x); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
356 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
357 inline ComplexMatrix fixedpoint (const FixedComplexMatrix& x) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
358 { return x.fixedpoint(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
359 inline ComplexMatrix sign (const FixedComplexMatrix& x) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
360 { return x.sign(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
361 inline ComplexMatrix getintsize (const FixedComplexMatrix& x) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
362 { return x.getintsize(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
363 inline ComplexMatrix getdecsize (const FixedComplexMatrix& x) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
364 { return x.getdecsize(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
365 inline ComplexMatrix getnumber (const FixedComplexMatrix& x) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
366 { return x.getnumber(); } |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
367 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
368 OCTAVE_FIXED_API std::ostream& operator << (std::ostream& os, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
369 const FixedComplexMatrix& a); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
370 OCTAVE_FIXED_API std::istream& operator >> (std::istream& is, FixedComplexMatrix& a); |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
371 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
372 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
373 OCTAVE_FIXED_API FixedComplexMatrix min (FixedPointComplex d, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
374 const FixedComplexMatrix& m); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
375 OCTAVE_FIXED_API FixedComplexMatrix min (const FixedComplexMatrix& m, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
376 FixedPointComplex d); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
377 OCTAVE_FIXED_API FixedComplexMatrix min (const FixedComplexMatrix& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
378 const FixedComplexMatrix& b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
379 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
380 OCTAVE_FIXED_API FixedComplexMatrix max (FixedPointComplex d, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
381 const FixedComplexMatrix& m); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
382 OCTAVE_FIXED_API FixedComplexMatrix max (const FixedComplexMatrix& m, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
383 FixedPointComplex d); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
384 OCTAVE_FIXED_API FixedComplexMatrix max (const FixedComplexMatrix& a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
385 const FixedComplexMatrix& b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
386 |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
387 OCTAVE_FIXED_API FixedComplexMatrix elem_pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
388 const FixedComplexMatrix &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
389 OCTAVE_FIXED_API FixedComplexMatrix elem_pow (const FixedComplexMatrix &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
390 const FixedPointComplex &b); |
3065
c9748be75a06
Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents:
2394
diff
changeset
|
391 OCTAVE_FIXED_API FixedComplexMatrix elem_pow (const FixedPointComplex &a, |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
392 const FixedComplexMatrix &b); |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
393 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
394 |
3645 | 395 MS_CMP_OP_DECLS (FixedComplexMatrix, FixedPointComplex, ) |
396 MS_BOOL_OP_DECLS (FixedComplexMatrix, FixedPointComplex, ) | |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
397 |
3645 | 398 SM_CMP_OP_DECLS (FixedPointComplex, FixedComplexMatrix, ) |
399 SM_BOOL_OP_DECLS (FixedPointComplex, FixedComplexMatrix, ) | |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
400 |
3645 | 401 MM_CMP_OP_DECLS (FixedComplexMatrix, FixedComplexMatrix, ) |
402 MM_BOOL_OP_DECLS (FixedComplexMatrix, FixedComplexMatrix, ) | |
2383
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
403 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
404 MARRAY_FORWARD_DEFS (MArray2, FixedComplexMatrix, FixedPointComplex) |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
405 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
406 #endif |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
407 |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
408 /* |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
409 ;;; Local Variables: *** |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
410 ;;; mode: C++ *** |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
411 ;;; End: *** |
d1930f8af7ca
Changed the directory structure of fixed to match the package system
hauberg
parents:
diff
changeset
|
412 */ |