annotate main/fixed/src/fixedCMatrix.h @ 11277:7b7cd174847c octave-forge

fixed: remove obsolete resize_fill_value()
author jordigh
date Fri, 30 Nov 2012 20:11:09 +0000
parents d84d2fea3c90
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
2de537641f94 More copyright updates
adb014
parents: 3645
diff changeset
17 along with this program; see the file COPYING. If not, see
2de537641f94 More copyright updates
adb014
parents: 3645
diff changeset
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
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
29 #include <octave/MArray.h>
2383
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
f8d77845533f Changes for compilation with 3.1.51+
adb014
parents: 4404
diff changeset
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
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
54 FixedComplexMatrix : public MArray<FixedPointComplex>
2383
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
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
58 FixedComplexMatrix (void) : MArray<FixedPointComplex> () { }
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
59
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
60 FixedComplexMatrix (const dim_vector& dv) : MArray<FixedPointComplex> (dv) { }
5655
0924c374b60d Update fixed point code for 3.1.x. Minor bug in test code still present though code seems to work fine
adb014
parents: 5248
diff changeset
61
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
62 FixedComplexMatrix (int r, int c)
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
63 : MArray<FixedPointComplex> (dim_vector (r, c)) { }
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
64
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
65 FixedComplexMatrix (int r, int c, const FixedPointComplex val)
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
66 : MArray<FixedPointComplex> (dim_vector (r, c), val) { }
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
67
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
68 FixedComplexMatrix (const MArray<int> &is, const MArray<int> &ds);
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
69
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
70 FixedComplexMatrix (const Matrix &is, const Matrix &ds);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
71
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
72 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix &ds);
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 (unsigned int is, unsigned int ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
75 const FixedComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
76
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
77 FixedComplexMatrix (Complex is, Complex ds, const FixedComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
78
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
79 FixedComplexMatrix (const MArray<int> &is, const MArray<int> &ds,
2383
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 Matrix &is, const Matrix &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 (const ComplexMatrix &is, const ComplexMatrix &ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
86 const FixedComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
87
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
88 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
89
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
90 FixedComplexMatrix (Complex is, Complex ds, const FixedMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
91
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
92 FixedComplexMatrix (const MArray<int> &is, const MArray<int> &ds,
2383
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 Matrix &is, const Matrix &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 (const ComplexMatrix &is, const ComplexMatrix &ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
99 const FixedMatrix& 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 (unsigned int is, unsigned int ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
102 const ComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
103
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
104 FixedComplexMatrix (Complex is, Complex ds, const ComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
105
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
106 FixedComplexMatrix (const MArray<int> &is, const MArray<int> & ds,
2383
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 Matrix &is, const Matrix & 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 (const ComplexMatrix &is, const ComplexMatrix & ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
113 const ComplexMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
114
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
115 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
116
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
117 FixedComplexMatrix (Complex is, Complex ds, const Matrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
118
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
119 FixedComplexMatrix (const MArray<int> &is, const MArray<int> & ds,
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
120 const Matrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
121
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
122 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
123
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
124 FixedComplexMatrix (const ComplexMatrix &is, const ComplexMatrix & ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
125 const Matrix& a);
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 (unsigned int is, unsigned int ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
128 const ComplexMatrix &a, 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 (Complex is, Complex ds, const ComplexMatrix &a,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
131 const ComplexMatrix &b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
132
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
133 FixedComplexMatrix (const MArray<int> &is, const MArray<int> &ds,
2383
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 Matrix &is, const Matrix &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 ComplexMatrix &is, const ComplexMatrix &ds,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
140 const ComplexMatrix &a, const ComplexMatrix &b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
141
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
142 FixedComplexMatrix (const FixedMatrix& a);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
143
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
144 FixedComplexMatrix (const FixedMatrix& a, const FixedMatrix& b);
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 FixedComplexMatrix& a) :
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
147 MArray<FixedPointComplex> (a) { }
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
148
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
149 FixedComplexMatrix (const MArray<FixedPointComplex>& a) :
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
150 MArray<FixedPointComplex> (a) { }
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
151
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
152 FixedComplexMatrix (const Array<FixedPointComplex>& a) :
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
153 MArray<FixedPointComplex> (a) { }
2383
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 explicit FixedComplexMatrix (const FixedComplexRowVector& rv);
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 FixedComplexMatrix (const FixedRowVector& rv);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
158
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
159 explicit FixedComplexMatrix (const FixedComplexColumnVector& cv);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
160
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
161 FixedComplexMatrix (const FixedColumnVector& cv);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
162
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
163 ComplexMatrix sign (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
164 ComplexMatrix getdecsize (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
165 ComplexMatrix getintsize (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
166 ComplexMatrix getnumber (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
167 ComplexMatrix fixedpoint (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
168 FixedComplexMatrix chdecsize (const Complex n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
169 FixedComplexMatrix chdecsize (const ComplexMatrix &n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
170 FixedComplexMatrix chintsize (const Complex n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
171 FixedComplexMatrix chintsize (const ComplexMatrix &n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
172 FixedComplexMatrix incdecsize (const Complex n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
173 FixedComplexMatrix incdecsize (const ComplexMatrix &n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
174 FixedComplexMatrix incdecsize ();
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
175 FixedComplexMatrix incintsize (const Complex n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
176 FixedComplexMatrix incintsize (const ComplexMatrix &n);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
177 FixedComplexMatrix incintsize ();
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 FixedComplexMatrix& operator = (const FixedComplexMatrix& a)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
180 {
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
181 MArray<FixedPointComplex>::operator = (a);
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
182 return *this;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
183 }
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 bool operator == (const FixedComplexMatrix& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
186 bool operator != (const FixedComplexMatrix& a) const;
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 bool is_hermitian (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
189 bool is_symmetric (void) const;
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 FixedComplexMatrix concat (const FixedComplexMatrix& rb,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
192 const Array<int>& ra_idx);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
193
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
194 FixedComplexMatrix concat (const FixedMatrix& rb,
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
195 const Array<int>& ra_idx);
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 // destructive insert/delete/reorder operations
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
198
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
199 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
200 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
201 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
202
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
203 FixedComplexMatrix& fill (FixedPointComplex val);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
204 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
205
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
206 FixedComplexMatrix append (const FixedComplexMatrix& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
207 FixedComplexMatrix append (const FixedComplexRowVector& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
208 FixedComplexMatrix append (const FixedComplexColumnVector& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
209
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
210 FixedComplexMatrix stack (const FixedComplexMatrix& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
211 FixedComplexMatrix stack (const FixedComplexRowVector& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
212 FixedComplexMatrix stack (const FixedComplexColumnVector& a) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
213
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
214 FixedComplexMatrix hermitian (void) const;
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
215 FixedComplexMatrix transpose (void) const { return MArray<FixedPointComplex>::transpose (); }
2383
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 // resize is the destructive equivalent for this one
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 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
220
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
221 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
222
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
223 // extract row or column i.
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 FixedComplexRowVector row (int i) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
226 FixedComplexRowVector row (char *s) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
227
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
228 FixedComplexColumnVector column (int i) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
229 FixedComplexColumnVector column (char *s) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
230
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
231 // unary operations
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
232
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
233 FixedComplexMatrix operator ! (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
234
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
235 // other operations
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
236
5248
f8d77845533f Changes for compilation with 3.1.51+
adb014
parents: 4404
diff changeset
237 FixedComplexMatrix map (fpc_fpc_Mapper f) const;
f8d77845533f Changes for compilation with 3.1.51+
adb014
parents: 4404
diff changeset
238 FixedComplexMatrix& apply (fpc_fpc_Mapper f);
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
239
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
240 bool all_elements_are_real (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
241
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
242 boolMatrix all (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
243 boolMatrix any (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
244
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
245 FixedComplexMatrix cumprod (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
246 FixedComplexMatrix cumsum (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
247 FixedComplexMatrix prod (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
248 FixedComplexMatrix sum (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
249 FixedComplexMatrix sumsq (int dim = -1) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
250 FixedComplexMatrix abs (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 diag (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
253 FixedComplexColumnVector diag (int k) 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 FixedComplexColumnVector row_min (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
256 FixedComplexColumnVector row_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 FixedComplexColumnVector row_min (Array<int>& index) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
259 FixedComplexColumnVector row_max (Array<int>& index) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
260
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
261 FixedComplexRowVector column_min (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
262 FixedComplexRowVector column_max (void) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
263
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
264 FixedComplexRowVector column_min (Array<int>& index) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
265 FixedComplexRowVector column_max (Array<int>& index) const;
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
266
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
267 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
268 const FixedComplexRowVector& b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
269 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
270 const FixedComplexMatrix& b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
271
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
272 friend OCTAVE_FIXED_API FixedMatrix real (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
273 friend OCTAVE_FIXED_API FixedMatrix imag (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
274 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
275
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
276 friend OCTAVE_FIXED_API FixedMatrix abs (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
277 friend OCTAVE_FIXED_API FixedMatrix norm (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
278 friend OCTAVE_FIXED_API FixedMatrix arg (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
279 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
280
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
281 friend OCTAVE_FIXED_API FixedComplexMatrix cos (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
282 friend OCTAVE_FIXED_API FixedComplexMatrix cosh (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
283 friend OCTAVE_FIXED_API FixedComplexMatrix sin (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
284 friend OCTAVE_FIXED_API FixedComplexMatrix sinh (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
285 friend OCTAVE_FIXED_API FixedComplexMatrix tan (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
286 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
287
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
288 friend OCTAVE_FIXED_API FixedComplexMatrix sqrt (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
289 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
290 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
291 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
292 const FixedPointComplex &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
293 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
294 const FixedComplexMatrix &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
295 friend OCTAVE_FIXED_API FixedComplexMatrix exp (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
296 friend OCTAVE_FIXED_API FixedComplexMatrix log (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
297 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
298
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
299 friend OCTAVE_FIXED_API FixedComplexMatrix round (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
300 friend OCTAVE_FIXED_API FixedComplexMatrix rint (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
301 friend OCTAVE_FIXED_API FixedComplexMatrix floor (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
302 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
303
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
304 friend OCTAVE_FIXED_API ComplexMatrix fixedpoint (const FixedComplexMatrix& x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
305 friend OCTAVE_FIXED_API ComplexMatrix sign (const FixedComplexMatrix& x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
306 friend OCTAVE_FIXED_API ComplexMatrix getintsize (const FixedComplexMatrix& x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
307 friend OCTAVE_FIXED_API ComplexMatrix getdecsize (const FixedComplexMatrix& x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
308 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
309
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
310 // i/o
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
311
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
312 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
313 const FixedComplexMatrix& a);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
314 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
315
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
316
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
317 };
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
318
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
319 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
320 const FixedComplexRowVector& b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
321 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
322 const FixedComplexMatrix& b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
323
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
324 OCTAVE_FIXED_API FixedMatrix real (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
325 OCTAVE_FIXED_API FixedMatrix imag (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
326 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
327
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
328 OCTAVE_FIXED_API FixedMatrix abs (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
329 OCTAVE_FIXED_API FixedMatrix norm (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
330 OCTAVE_FIXED_API FixedMatrix arg (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
331 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
332
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
333 OCTAVE_FIXED_API FixedComplexMatrix cos (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
334 OCTAVE_FIXED_API FixedComplexMatrix cosh (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
335 OCTAVE_FIXED_API FixedComplexMatrix sin (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
336 OCTAVE_FIXED_API FixedComplexMatrix sinh (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
337 OCTAVE_FIXED_API FixedComplexMatrix tan (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
338 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
339
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
340 OCTAVE_FIXED_API FixedComplexMatrix sqrt (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
341 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
342 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
343 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
344 const FixedPointComplex &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
345 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
346 const FixedComplexMatrix &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
347 OCTAVE_FIXED_API FixedComplexMatrix exp (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
348 OCTAVE_FIXED_API FixedComplexMatrix log (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
349 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
350
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
351 OCTAVE_FIXED_API FixedComplexMatrix round (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
352 OCTAVE_FIXED_API FixedComplexMatrix rint (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
353 OCTAVE_FIXED_API FixedComplexMatrix floor (const FixedComplexMatrix &x);
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
354 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
355
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
356 inline ComplexMatrix fixedpoint (const FixedComplexMatrix& x)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
357 { return x.fixedpoint(); }
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
358 inline ComplexMatrix sign (const FixedComplexMatrix& x)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
359 { return x.sign(); }
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
360 inline ComplexMatrix getintsize (const FixedComplexMatrix& x)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
361 { return x.getintsize(); }
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
362 inline ComplexMatrix getdecsize (const FixedComplexMatrix& x)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
363 { return x.getdecsize(); }
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
364 inline ComplexMatrix getnumber (const FixedComplexMatrix& x)
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
365 { return x.getnumber(); }
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
366
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
367 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
368 const FixedComplexMatrix& a);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
369 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
370
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
371
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
372 OCTAVE_FIXED_API FixedComplexMatrix min (FixedPointComplex d,
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
373 const FixedComplexMatrix& m);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
374 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
375 FixedPointComplex d);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
376 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
377 const FixedComplexMatrix& b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
378
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
379 OCTAVE_FIXED_API FixedComplexMatrix max (FixedPointComplex d,
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
380 const FixedComplexMatrix& m);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
381 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
382 FixedPointComplex d);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
383 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
384 const FixedComplexMatrix& b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
385
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
386 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
387 const FixedComplexMatrix &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
388 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
389 const FixedPointComplex &b);
3065
c9748be75a06 Implement symbol export mechanism similar to octave, for MSVC
goffioul
parents: 2394
diff changeset
390 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
391 const FixedComplexMatrix &b);
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
392
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
393
3645
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
394 MS_CMP_OP_DECLS (FixedComplexMatrix, FixedPointComplex, )
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
395 MS_BOOL_OP_DECLS (FixedComplexMatrix, FixedPointComplex, )
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
396
3645
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
397 SM_CMP_OP_DECLS (FixedPointComplex, FixedComplexMatrix, )
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
398 SM_BOOL_OP_DECLS (FixedPointComplex, FixedComplexMatrix, )
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
399
3645
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
400 MM_CMP_OP_DECLS (FixedComplexMatrix, FixedComplexMatrix, )
529c00d3210c upgrade to newer macro API in octave
goffioul
parents: 3272
diff changeset
401 MM_BOOL_OP_DECLS (FixedComplexMatrix, FixedComplexMatrix, )
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
402
9481
d84d2fea3c90 Re-enable compilation of fixed package
jordigh
parents: 5655
diff changeset
403 MARRAY_FORWARD_DEFS (MArray, FixedComplexMatrix, FixedPointComplex)
2383
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
404
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
405 #endif
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
406
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 ;;; Local Variables: ***
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
409 ;;; mode: C++ ***
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
410 ;;; End: ***
d1930f8af7ca Changed the directory structure of fixed to match the package system
hauberg
parents:
diff changeset
411 */