annotate liboctave/MArray-d.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-d.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 double 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 template class MArray<double>;
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
30 template class MArray2<double>;
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
31 template class MDiagArray<double>;
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
32
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
33 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
34 operator + (const MArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
35
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
36 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
37 operator - (const MArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
38
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
39 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
40 operator * (const MArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
41
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
42 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
43 operator / (const MArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
44
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
45 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
46 operator + (const double& s, const MArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
47
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
48 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
49 operator - (const double& s, const MArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
50
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
51 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
52 operator * (const double& s, const MArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
53
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
54 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
55 operator / (const double& s, const MArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
56
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
57 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
58 operator + (const MArray<double>& a, const MArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
59
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
60 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
61 operator - (const MArray<double>& a, const MArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
62
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
63 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
64 product (const MArray<double>& a, const MArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
65
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
66 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
67 quotient (const MArray<double>& a, const MArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
68
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
69 template MArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
70 operator - (const MArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
71
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
72 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
73 operator + (const MArray2<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
74
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
75 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
76 operator - (const MArray2<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
77
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
78 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
79 operator * (const MArray2<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
80
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
81 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
82 operator / (const MArray2<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
83
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
84 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
85 operator + (const double& s, const MArray2<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
86
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
87 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
88 operator - (const double& s, const MArray2<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
89
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
90 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
91 operator * (const double& s, const MArray2<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
92
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
93 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
94 operator / (const double& s, const MArray2<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
95
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
96 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
97 operator + (const MArray2<double>& a, const MArray2<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
98
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
99 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
100 operator - (const MArray2<double>& a, const MArray2<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
101
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
102 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
103 product (const MArray2<double>& a, const MArray2<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
104
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
105 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
106 quotient (const MArray2<double>& a, const MArray2<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
107
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
108 template MArray2<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
109 operator - (const MArray2<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
110
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
111 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
112 operator * (const MDiagArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
113
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
114 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
115 operator / (const MDiagArray<double>& a, const double& s);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
116
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
117 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
118 operator * (const double& s, const MDiagArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
119
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
120 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
121 operator + (const MDiagArray<double>& a, const MDiagArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
122
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
123 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
124 operator - (const MDiagArray<double>& a, const MDiagArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
125
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
126 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
127 product (const MDiagArray<double>& a, const MDiagArray<double>& b);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
128
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
129 template MDiagArray<double>
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
130 operator - (const MDiagArray<double>& a);
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
131
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
132 /*
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
133 ;;; Local Variables: ***
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
134 ;;; mode: C++ ***
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
135 ;;; page-delimiter: "^/\\*" ***
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
136 ;;; End: ***
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
137 */