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