GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables File Reference
#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"
Include dependency graph for

Go to the source code of this file.


static octave_base_valuedefault_numeric_conversion_function (const octave_base_value &a)
 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)


bool Vallow_noninteger_range_as_index = false

Function Documentation

static octave_base_value* default_numeric_conversion_function ( const octave_base_value a)

Definition at line 56 of file

References CAST_CONV_ARG.

Referenced by octave_range::numeric_conversion_function().

DEFUN ( allow_noninteger_range_as_index  ,
args  ,

Definition at line 678 of file


static hid_t hdf5_make_range_type ( hid_t  num_type)

Definition at line 535 of file

Referenced by octave_range::load_hdf5(), and octave_range::save_hdf5().

static void skip_comments ( std::istream &  is)

Definition at line 415 of file

References skip_until_newline().

Referenced by octave_range::load_ascii().

Variable Documentation

bool Vallow_noninteger_range_as_index = false

Definition at line 49 of file

Referenced by Fisindex(), and octave_range::index_vector().