annotate liboctave/MArray-C.cc @ 1212:7b9d52071a0c

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