7018
|
1 @c Copyright (C) 1996, 2006, 2007 John W. Eaton |
|
2 @c |
|
3 @c This file is part of Octave. |
|
4 @c |
|
5 @c Octave is free software; you can redistribute it and/or modify it |
|
6 @c under the terms of the GNU General Public License as published by the |
|
7 @c Free Software Foundation; either version 3 of the License, or (at |
|
8 @c your option) any later version. |
|
9 @c |
|
10 @c Octave is distributed in the hope that it will be useful, but WITHOUT |
|
11 @c ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 @c FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 @c for more details. |
|
14 @c |
|
15 @c You should have received a copy of the GNU General Public License |
|
16 @c along with Octave; see the file COPYING. If not, see |
|
17 @c <http://www.gnu.org/licenses/>. |
|
18 |
2333
|
19 @node Ranges, Nonlinear Functions, Matrix Factorizations, Top |
|
20 @chapter Ranges |
|
21 @cindex ranges |
|
22 |
5647
|
23 @deftypefn {} {} Range (void) |
|
24 @deftypefnx {} {} Range (const Range &@var{r}) |
|
25 @deftypefnx {} {} Range (double @var{b}, double @var{l}) |
|
26 @deftypefnx {} {} Range (double @var{b}, double @var{l}, double @var{i}) |
2333
|
27 @end deftypefn |
|
28 |
|
29 @deftypefn {} double base (void) const |
|
30 @deftypefnx {} double limit (void) const |
|
31 @deftypefnx {} double inc (void) const |
|
32 @end deftypefn |
|
33 |
|
34 @deftypefn {} void set_base (double @var{b}) |
|
35 @deftypefnx {} void set_limit (double @var{l}) |
|
36 @deftypefnx {} void set_inc (double @var{i}) |
|
37 @end deftypefn |
|
38 |
|
39 @deftypefn {} int nelem (void) const |
|
40 @end deftypefn |
|
41 |
|
42 @deftypefn {} double min (void) const |
|
43 @deftypefnx {} double max (void) const |
|
44 @end deftypefn |
|
45 |
|
46 @deftypefn {} void sort (void) |
|
47 @end deftypefn |
|
48 |
|
49 @deftypefn {} {ostream&} {operator <<} (ostream &@var{os}, const Range &@var{r}) |
|
50 @deftypefnx {} {istream&} {operator >>} (istream &@var{is}, Range &@var{r}) |
|
51 @end deftypefn |
|
52 |
|
53 @deftypefn {} void print_range (void) |
|
54 @end deftypefn |