Mercurial > hg > octave-lyh
comparison liboctave/MArray-ch.cc @ 1573:403c60daa8c7
[project @ 1995-10-19 04:34:20 by jwe]
Initial revision
author | jwe |
---|---|
date | Thu, 19 Oct 1995 04:34:20 +0000 |
parents | |
children | c5f9b6cea4a8 |
comparison
equal
deleted
inserted
replaced
1572:0d9e10d10bd7 | 1573:403c60daa8c7 |
---|---|
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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
21 | |
22 */ | |
23 | |
24 // Instantiate MArrays of char values. | |
25 | |
26 #define NO_DIAG_ARRAY 1 | |
27 | |
28 #include "MArray.h" | |
29 #include "MArray.cc" | |
30 | |
31 template class MArray<char>; | |
32 template class MArray2<char>; | |
33 | |
34 #ifndef NO_DIAG_ARRAY | |
35 template class MDiagArray<char>; | |
36 #endif | |
37 | |
38 template MArray<char> | |
39 operator + (const MArray<char>& a, const char& s); | |
40 | |
41 template MArray<char> | |
42 operator - (const MArray<char>& a, const char& s); | |
43 | |
44 template MArray<char> | |
45 operator * (const MArray<char>& a, const char& s); | |
46 | |
47 template MArray<char> | |
48 operator / (const MArray<char>& a, const char& s); | |
49 | |
50 template MArray<char> | |
51 operator + (const char& s, const MArray<char>& a); | |
52 | |
53 template MArray<char> | |
54 operator - (const char& s, const MArray<char>& a); | |
55 | |
56 template MArray<char> | |
57 operator * (const char& s, const MArray<char>& a); | |
58 | |
59 template MArray<char> | |
60 operator / (const char& s, const MArray<char>& a); | |
61 | |
62 template MArray<char> | |
63 operator + (const MArray<char>& a, const MArray<char>& b); | |
64 | |
65 template MArray<char> | |
66 operator - (const MArray<char>& a, const MArray<char>& b); | |
67 | |
68 template MArray<char> | |
69 product (const MArray<char>& a, const MArray<char>& b); | |
70 | |
71 template MArray<char> | |
72 quotient (const MArray<char>& a, const MArray<char>& b); | |
73 | |
74 template MArray<char> | |
75 operator - (const MArray<char>& a); | |
76 | |
77 template MArray2<char> | |
78 operator + (const MArray2<char>& a, const char& s); | |
79 | |
80 template MArray2<char> | |
81 operator - (const MArray2<char>& a, const char& s); | |
82 | |
83 template MArray2<char> | |
84 operator * (const MArray2<char>& a, const char& s); | |
85 | |
86 template MArray2<char> | |
87 operator / (const MArray2<char>& a, const char& s); | |
88 | |
89 template MArray2<char> | |
90 operator + (const char& s, const MArray2<char>& a); | |
91 | |
92 template MArray2<char> | |
93 operator - (const char& s, const MArray2<char>& a); | |
94 | |
95 template MArray2<char> | |
96 operator * (const char& s, const MArray2<char>& a); | |
97 | |
98 template MArray2<char> | |
99 operator / (const char& s, const MArray2<char>& a); | |
100 | |
101 template MArray2<char> | |
102 operator + (const MArray2<char>& a, const MArray2<char>& b); | |
103 | |
104 template MArray2<char> | |
105 operator - (const MArray2<char>& a, const MArray2<char>& b); | |
106 | |
107 template MArray2<char> | |
108 product (const MArray2<char>& a, const MArray2<char>& b); | |
109 | |
110 template MArray2<char> | |
111 quotient (const MArray2<char>& a, const MArray2<char>& b); | |
112 | |
113 template MArray2<char> | |
114 operator - (const MArray2<char>& a); | |
115 | |
116 #ifndef NO_DIAG_ARRAY | |
117 template MDiagArray<char> | |
118 operator * (const MDiagArray<char>& a, const char& s); | |
119 | |
120 template MDiagArray<char> | |
121 operator / (const MDiagArray<char>& a, const char& s); | |
122 | |
123 template MDiagArray<char> | |
124 operator * (const char& s, const MDiagArray<char>& a); | |
125 | |
126 template MDiagArray<char> | |
127 operator + (const MDiagArray<char>& a, const MDiagArray<char>& b); | |
128 | |
129 template MDiagArray<char> | |
130 operator - (const MDiagArray<char>& a, const MDiagArray<char>& b); | |
131 | |
132 template MDiagArray<char> | |
133 product (const MDiagArray<char>& a, const MDiagArray<char>& b); | |
134 | |
135 template MDiagArray<char> | |
136 operator - (const MDiagArray<char>& a); | |
137 #endif | |
138 | |
139 /* | |
140 ;;; Local Variables: *** | |
141 ;;; mode: C++ *** | |
142 ;;; page-delimiter: "^/\\*" *** | |
143 ;;; End: *** | |
144 */ |