1212
|
1 // MArray-C.cc -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1993, 1994, 1995 John W. Eaton |
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 // Instantiate MArrays of Complex values. |
|
25 |
|
26 #include "MArray.h" |
|
27 #include "MArray.cc" |
|
28 |
|
29 #include <Complex.h> |
|
30 |
|
31 template class MArray<Complex>; |
|
32 template class MArray2<Complex>; |
|
33 template class MDiagArray<Complex>; |
|
34 |
|
35 template MArray<Complex> |
|
36 operator + (const MArray<Complex>& a, const Complex& s); |
|
37 |
|
38 template MArray<Complex> |
|
39 operator - (const MArray<Complex>& a, const Complex& s); |
|
40 |
|
41 template MArray<Complex> |
|
42 operator * (const MArray<Complex>& a, const Complex& s); |
|
43 |
|
44 template MArray<Complex> |
|
45 operator / (const MArray<Complex>& a, const Complex& s); |
|
46 |
|
47 template MArray<Complex> |
|
48 operator + (const Complex& s, const MArray<Complex>& a); |
|
49 |
|
50 template MArray<Complex> |
|
51 operator - (const Complex& s, const MArray<Complex>& a); |
|
52 |
|
53 template MArray<Complex> |
|
54 operator * (const Complex& s, const MArray<Complex>& a); |
|
55 |
|
56 template MArray<Complex> |
|
57 operator / (const Complex& s, const MArray<Complex>& a); |
|
58 |
|
59 template MArray<Complex> |
|
60 operator + (const MArray<Complex>& a, const MArray<Complex>& b); |
|
61 |
|
62 template MArray<Complex> |
|
63 operator - (const MArray<Complex>& a, const MArray<Complex>& b); |
|
64 |
|
65 template MArray<Complex> |
|
66 product (const MArray<Complex>& a, const MArray<Complex>& b); |
|
67 |
|
68 template MArray<Complex> |
|
69 quotient (const MArray<Complex>& a, const MArray<Complex>& b); |
|
70 |
|
71 template MArray<Complex> |
|
72 operator - (const MArray<Complex>& a); |
|
73 |
|
74 template MArray2<Complex> |
|
75 operator + (const MArray2<Complex>& a, const Complex& s); |
|
76 |
|
77 template MArray2<Complex> |
|
78 operator - (const MArray2<Complex>& a, const Complex& s); |
|
79 |
|
80 template MArray2<Complex> |
|
81 operator * (const MArray2<Complex>& a, const Complex& s); |
|
82 |
|
83 template MArray2<Complex> |
|
84 operator / (const MArray2<Complex>& a, const Complex& s); |
|
85 |
|
86 template MArray2<Complex> |
|
87 operator + (const Complex& s, const MArray2<Complex>& a); |
|
88 |
|
89 template MArray2<Complex> |
|
90 operator - (const Complex& s, const MArray2<Complex>& a); |
|
91 |
|
92 template MArray2<Complex> |
|
93 operator * (const Complex& s, const MArray2<Complex>& a); |
|
94 |
|
95 template MArray2<Complex> |
|
96 operator / (const Complex& s, const MArray2<Complex>& a); |
|
97 |
|
98 template MArray2<Complex> |
|
99 operator + (const MArray2<Complex>& a, const MArray2<Complex>& b); |
|
100 |
|
101 template MArray2<Complex> |
|
102 operator - (const MArray2<Complex>& a, const MArray2<Complex>& b); |
|
103 |
|
104 template MArray2<Complex> |
|
105 product (const MArray2<Complex>& a, const MArray2<Complex>& b); |
|
106 |
|
107 template MArray2<Complex> |
|
108 quotient (const MArray2<Complex>& a, const MArray2<Complex>& b); |
|
109 |
|
110 template MArray2<Complex> |
|
111 operator - (const MArray2<Complex>& a); |
|
112 |
|
113 template MDiagArray<Complex> |
|
114 operator * (const MDiagArray<Complex>& a, const Complex& s); |
|
115 |
|
116 template MDiagArray<Complex> |
|
117 operator / (const MDiagArray<Complex>& a, const Complex& s); |
|
118 |
|
119 template MDiagArray<Complex> |
|
120 operator * (const Complex& s, const MDiagArray<Complex>& a); |
|
121 |
|
122 template MDiagArray<Complex> |
|
123 operator + (const MDiagArray<Complex>& a, const MDiagArray<Complex>& b); |
|
124 |
|
125 template MDiagArray<Complex> |
|
126 operator - (const MDiagArray<Complex>& a, const MDiagArray<Complex>& b); |
|
127 |
|
128 template MDiagArray<Complex> |
|
129 product (const MDiagArray<Complex>& a, const MDiagArray<Complex>& b); |
|
130 |
|
131 template MDiagArray<Complex> |
|
132 operator - (const MDiagArray<Complex>& a); |
|
133 |
|
134 /* |
|
135 ;;; Local Variables: *** |
|
136 ;;; mode: C++ *** |
|
137 ;;; page-delimiter: "^/\\*" *** |
|
138 ;;; End: *** |
|
139 */ |