Mercurial > hg > octave-nkf
annotate liboctave/array/MArray-d.cc @ 16370:7ce21619a4b9
min Matlab compatibility issue (bug #33530)
* max.cc (do_minmax_red_op<charNDArray>,
do_minmax_bin_op<charNDArray>): New specializations.
(do_minmax_body): Handle char arrays. New tests.
* chNDArray.h, chNDArray.cc (charNDArray::min, charNDArray::max):
New functions.
author | Axel Mathéi <axel.mathei@gmail.com> |
---|---|
date | Tue, 26 Mar 2013 10:43:42 -0400 |
parents | 648dabbb4c6b |
children | d63878346099 |
rev | line source |
---|---|
1212 | 1 /* |
2 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
3 Copyright (C) 1995-2012 John W. Eaton |
1212 | 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. | |
1212 | 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/>. | |
1212 | 20 |
21 */ | |
22 | |
2006 | 23 #ifdef HAVE_CONFIG_H |
24 #include <config.h> | |
25 #endif | |
26 | |
1212 | 27 // Instantiate MArrays of double values. |
28 | |
29 #include "MArray.h" | |
30 #include "MArray.cc" | |
6508 | 31 |
6708 | 32 template class OCTAVE_API MArray<double>; |
1212 | 33 |
6708 | 34 INSTANTIATE_MARRAY_FRIENDS (double, OCTAVE_API) |
1212 | 35 |
1989 | 36 #include "MDiagArray2.h" |
37 #include "MDiagArray2.cc" | |
1212 | 38 |
6708 | 39 template class OCTAVE_API MDiagArray2<double>; |
1212 | 40 |
6708 | 41 INSTANTIATE_MDIAGARRAY2_FRIENDS (double, OCTAVE_API) |