Mercurial > hg > octave-lyh
annotate liboctave/Array-i.cc @ 14138:72c96de7a403 stable
maint: update copyright notices for 2012
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 02 Jan 2012 14:25:41 -0500 |
parents | fd0a3ac60b0e |
children |
rev | line source |
---|---|
881 | 1 /* |
2 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
3 Copyright (C) 1994-2012 John W. Eaton |
881 | 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. | |
881 | 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/>. | |
881 | 20 |
21 */ | |
22 | |
2006 | 23 #ifdef HAVE_CONFIG_H |
24 #include <config.h> | |
25 #endif | |
26 | |
4902 | 27 #include "oct-inttypes.h" |
28 | |
881 | 29 // Instantiate Arrays of integer values. |
30 | |
31 #include "Array.h" | |
32 #include "Array.cc" | |
8700 | 33 |
34 #define INLINE_ASCENDING_SORT | |
35 #define INLINE_DESCENDING_SORT | |
7433 | 36 #include "oct-sort.cc" |
37 | |
38 INSTANTIATE_ARRAY_SORT (int); | |
39 INSTANTIATE_ARRAY_SORT (long); | |
7442 | 40 #if defined (HAVE_LONG_LONG_INT) |
41 INSTANTIATE_ARRAY_SORT (long long); | |
42 #endif | |
881 | 43 |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
44 INSTANTIATE_ARRAY (int, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
45 INSTANTIATE_ARRAY (long, OCTAVE_API); |
7442 | 46 #if defined (HAVE_LONG_LONG_INT) |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
47 INSTANTIATE_ARRAY (long long, OCTAVE_API); |
7442 | 48 #endif |
1574 | 49 |
7433 | 50 INSTANTIATE_ARRAY_SORT (octave_int8); |
51 INSTANTIATE_ARRAY_SORT (octave_int16); | |
52 INSTANTIATE_ARRAY_SORT (octave_int32); | |
53 INSTANTIATE_ARRAY_SORT (octave_int64); | |
54 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
55 INSTANTIATE_ARRAY (octave_int8, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
56 INSTANTIATE_ARRAY (octave_int16, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
57 INSTANTIATE_ARRAY (octave_int32, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
58 INSTANTIATE_ARRAY (octave_int64, OCTAVE_API); |
4902 | 59 |
7433 | 60 INSTANTIATE_ARRAY_SORT (octave_uint8); |
61 INSTANTIATE_ARRAY_SORT (octave_uint16); | |
62 INSTANTIATE_ARRAY_SORT (octave_uint32); | |
63 INSTANTIATE_ARRAY_SORT (octave_uint64); | |
64 | |
8721
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
65 INSTANTIATE_ARRAY (octave_uint8, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
66 INSTANTIATE_ARRAY (octave_uint16, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
67 INSTANTIATE_ARRAY (octave_uint32, OCTAVE_API); |
e9cb742df9eb
imported patch sort3.diff
Jaroslav Hajek <highegg@gmail.com>
parents:
8700
diff
changeset
|
68 INSTANTIATE_ARRAY (octave_uint64, OCTAVE_API); |
4902 | 69 |
1989 | 70 #include "DiagArray2.h" |
71 #include "DiagArray2.cc" | |
72 | |
6108 | 73 template class OCTAVE_API DiagArray2<int>; |