![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>#include "lo-ieee.h"#include "lo-utils.h"#include "defun.h"#include "variables.h"#include "gripes.h"#include "mxarray.h"#include "ops.h"#include "oct-obj.h"#include "ov-range.h"#include "ov-re-mat.h"#include "ov-scalar.h"#include "pr-output.h"#include "byte-swap.h"#include "ls-ascii-helper.h"#include "ls-hdf5.h"#include "ls-utils.h"
Go to the source code of this file.
Functions | |
| static octave_base_value * | default_numeric_conversion_function (const octave_base_value &a) |
| DEFINE_OCTAVE_ALLOCATOR (octave_range) | |
| DEFUN (allow_noninteger_range_as_index, args, nargout,"-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{val} =} allow_noninteger_range_as_index ()\n\ @deftypefnx {Built-in Function} {@var{old_val} =} allow_noninteger_range_as_index (@var{new_val})\n\ @deftypefnx {Built-in Function} {} allow_noninteger_range_as_index (@var{new_val}, \"local\")\n\ Query or set the internal variable that controls whether non-integer\n\ ranges are allowed as indices. This might be useful for @sc{matlab}\n\ compatibility; however, it is still not entirely compatible because\n\ @sc{matlab} treats the range expression differently in different contexts.\n\ \n\ When called from inside a function with the @qcode{\"local\"} option, the\n\ variable is changed locally for the function and any subroutines it calls. \n\ The original variable value is restored when exiting the function.\n\ @end deftypefn") | |
| static hid_t | hdf5_make_range_type (hid_t num_type) |
| static void | skip_comments (std::istream &is) |
Variables | |
| bool | Vallow_noninteger_range_as_index = false |
|
static |
Definition at line 56 of file ov-range.cc.
References CAST_CONV_ARG.
Referenced by octave_range::numeric_conversion_function().
| DEFINE_OCTAVE_ALLOCATOR | ( | octave_range | ) |
| DEFUN | ( | allow_noninteger_range_as_index | , |
| args | , | ||
| nargout | |||
| ) |
Definition at line 678 of file ov-range.cc.
References SET_INTERNAL_VARIABLE.
|
static |
Definition at line 535 of file ov-range.cc.
Referenced by octave_range::load_hdf5(), and octave_range::save_hdf5().
|
static |
Definition at line 415 of file ov-range.cc.
References skip_until_newline().
Referenced by octave_range::load_ascii().
| bool Vallow_noninteger_range_as_index = false |
Definition at line 49 of file ov-range.cc.
Referenced by Fisindex(), and octave_range::index_vector().
1.8.1.2