annotate liboctave/MArray-C.cc @ 11188:4cb1522e4d0f

Use function handle as input to cellfun, rather than quoted function name or anonymous function wrapper.
author Rik <octave@nomad.inbox5.com>
date Wed, 03 Nov 2010 17:20:56 -0700
parents 12884915a8e4
children fd0a3ac60b0e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
1 /*
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
2
8920
eb63fbe60fab update copyright notices
John W. Eaton <jwe@octave.org>
parents: 8319
diff changeset
3 Copyright (C) 1995, 1996, 1997, 2000, 2003, 2005, 2006, 2007, 2008
7017
a1dbe9d80eee [project @ 2007-10-12 21:27:11 by jwe]
jwe
parents: 7016
diff changeset
4 John W. Eaton
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
5
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
6 This file is part of Octave.
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
7
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
8 Octave is free software; you can redistribute it and/or modify it
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
9 under the terms of the GNU General Public License as published by the
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6708
diff changeset
10 Free Software Foundation; either version 3 of the License, or (at your
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6708
diff changeset
11 option) any later version.
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
12
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
13 Octave is distributed in the hope that it will be useful, but WITHOUT
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
16 for more details.
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
17
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
7016
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6708
diff changeset
19 along with Octave; see the file COPYING. If not, see
93c65f2a5668 [project @ 2007-10-12 06:40:56 by jwe]
jwe
parents: 6708
diff changeset
20 <http://www.gnu.org/licenses/>.
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
21
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
22 */
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
23
2006
95e952f72d66 [project @ 1996-03-04 00:33:32 by jwe]
jwe
parents: 1993
diff changeset
24 #ifdef HAVE_CONFIG_H
95e952f72d66 [project @ 1996-03-04 00:33:32 by jwe]
jwe
parents: 1993
diff changeset
25 #include <config.h>
95e952f72d66 [project @ 1996-03-04 00:33:32 by jwe]
jwe
parents: 1993
diff changeset
26 #endif
95e952f72d66 [project @ 1996-03-04 00:33:32 by jwe]
jwe
parents: 1993
diff changeset
27
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
28 // Instantiate MArrays of Complex values.
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
29
1989
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
30 #include "oct-cmplx.h"
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
31
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
32 #include "MArray.h"
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
33 #include "MArray.cc"
6508
184ab67c3bc1 [project @ 2007-04-07 00:43:09 by jwe]
jwe
parents: 6108
diff changeset
34
6108
143b556ce725 [project @ 2006-10-27 01:45:54 by jwe]
jwe
parents: 5307
diff changeset
35 template class OCTAVE_API MArray<Complex>;
1212
7b9d52071a0c [project @ 1995-04-06 02:21:03 by jwe]
jwe
parents:
diff changeset
36
6708
0ce71beb1cf3 [project @ 2007-06-13 06:40:48 by jwe]
jwe
parents: 6693
diff changeset
37 INSTANTIATE_MARRAY_FRIENDS (Complex, OCTAVE_API)
1989
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
38
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
39 #include "MDiagArray2.h"
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
40 #include "MDiagArray2.cc"
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
41
6108
143b556ce725 [project @ 2006-10-27 01:45:54 by jwe]
jwe
parents: 5307
diff changeset
42 template class OCTAVE_API MDiagArray2<Complex>;
1989
a4b0826e240c [project @ 1996-03-02 00:33:22 by jwe]
jwe
parents: 1985
diff changeset
43
6708
0ce71beb1cf3 [project @ 2007-06-13 06:40:48 by jwe]
jwe
parents: 6693
diff changeset
44 INSTANTIATE_MDIAGARRAY2_FRIENDS (Complex, OCTAVE_API)