annotate liboctave/array/MArrayN.h @ 16933:e39f00a32dc7

maint: Use parentheses around condition for switch(),while(),if() statements. * libinterp/corefcn/dirfns.cc, libinterp/octave-value/ov-fcn-handle.cc, liboctave/array/Sparse.cc, scripts/image/rgb2ind.m, scripts/io/importdata.m, scripts/io/strread.m, scripts/optimization/fminbnd.m, scripts/optimization/sqp.m, scripts/plot/graphics_toolkit.m, scripts/plot/hdl2struct.m, scripts/plot/legend.m, scripts/plot/print.m, scripts/plot/printd.m, scripts/plot/private/__contour__.m, scripts/plot/private/__go_draw_axes__.m, scripts/plot/struct2hdl.m, scripts/polynomial/polyeig.m, scripts/sparse/bicg.m, scripts/specfun/ellipke.m, scripts/special-matrix/gallery.m, scripts/ui/errordlg.m, scripts/ui/helpdlg.m, scripts/ui/inputdlg.m, scripts/ui/listdlg.m, scripts/ui/questdlg.m, scripts/ui/warndlg.m: Use parentheses around condition for switch(),while(),if() statements.
author Rik <rik@octave.org>
date Tue, 09 Jul 2013 14:04:05 -0700
parents 648dabbb4c6b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
1 // Template array classes with like-type math ops
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
2 /*
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
3
14138
72c96de7a403 maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents: 11523
diff changeset
4 Copyright (C) 1996-2012 John W. Eaton
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
5
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
6 This file is part of Octave.
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
7
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
8 Octave is free software; you can redistribute it and/or modify it
2bc437206787 [project @ 2003-09-11 01:06:43 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: 6867
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: 6867
diff changeset
11 option) any later version.
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
12
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
13 Octave is distributed in the hope that it will be useful, but WITHOUT
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
16 for more details.
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
17
2bc437206787 [project @ 2003-09-11 01:06:43 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: 6867
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: 6867
diff changeset
20 <http://www.gnu.org/licenses/>.
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
21
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
22 */
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
23
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
24 #if !defined (octave_MArrayN_h)
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
25 #define octave_MArrayN_h 1
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
26
10350
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
27 #include "MArray.h"
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
28 #define MArrayN MArray
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
29
10350
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
30 // If we're with GNU C++, issue a warning.
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
31 #ifdef __GNUC__
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
32 #warning Using MArrayN<T> is deprecated. Use MArray<T>.
12884915a8e4 merge MArray classes & improve Array interface
Jaroslav Hajek <highegg@gmail.com>
parents: 10312
diff changeset
33 #endif
4508
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
34
2bc437206787 [project @ 2003-09-11 01:06:43 by jwe]
jwe
parents:
diff changeset
35 #endif