2928
|
1 /* |
|
2 |
|
3 Copyright (C) 1996, 1997 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
2928
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
2928
|
20 |
|
21 */ |
|
22 |
|
23 // Instantiate Arrays of octave_values. |
|
24 |
|
25 #ifdef HAVE_CONFIG_H |
|
26 #include <config.h> |
|
27 #endif |
|
28 |
|
29 #include "Array.h" |
|
30 #include "Array.cc" |
|
31 |
3354
|
32 #include "Array2.h" |
|
33 |
4513
|
34 #include "ArrayN.h" |
|
35 #include "ArrayN.cc" |
|
36 |
3354
|
37 #include "DiagArray2.h" |
|
38 #include "DiagArray2.cc" |
|
39 |
4055
|
40 #include "oct-obj.h" |
2928
|
41 |
6109
|
42 template<> OCTINTERP_API |
4590
|
43 octave_value |
4661
|
44 resize_fill_value<octave_value> (const octave_value&) |
3928
|
45 { |
|
46 static octave_value retval = octave_value (Matrix ()); |
|
47 return retval; |
|
48 } |
|
49 |
6109
|
50 template class OCTINTERP_API Array<octave_value>; |
|
51 |
6708
|
52 INSTANTIATE_ARRAY_ASSIGN (octave_value, octave_value, OCTINTERP_API); |
4598
|
53 |
6109
|
54 template class OCTINTERP_API Array2<octave_value>; |
2928
|
55 |
6109
|
56 template class OCTINTERP_API ArrayN<octave_value>; |
4513
|
57 |
2928
|
58 /* |
|
59 ;;; Local Variables: *** |
|
60 ;;; mode: C++ *** |
|
61 ;;; End: *** |
|
62 */ |