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 |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
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 |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
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 #include "Array2.cc" |
|
34 |
|
35 #include "DiagArray2.h" |
|
36 #include "DiagArray2.cc" |
|
37 |
4055
|
38 #include "oct-obj.h" |
2928
|
39 |
|
40 template class Array<octave_value>; |
3928
|
41 |
3946
|
42 template<> |
3928
|
43 octave_value |
|
44 Array<octave_value>::resize_fill_value (void) |
|
45 { |
|
46 static octave_value retval = octave_value (Matrix ()); |
|
47 return retval; |
|
48 } |
|
49 |
|
50 template int assign (Array<octave_value>&, const Array<octave_value>&); |
|
51 |
|
52 template int assign (Array<octave_value>&, |
|
53 const Array<octave_value>&, const octave_value&); |
|
54 |
|
55 |
3351
|
56 template class Array2<octave_value>; |
2928
|
57 |
3928
|
58 template int assign (Array2<octave_value>&, const Array2<octave_value>&); |
|
59 |
|
60 template int assign (Array2<octave_value>&, |
|
61 const Array2<octave_value>&, const octave_value&); |
|
62 |
2928
|
63 /* |
|
64 ;;; Local Variables: *** |
|
65 ;;; mode: C++ *** |
|
66 ;;; End: *** |
|
67 */ |