Functions | Variables File Reference

#include <iostream>
#include "lo-ieee.h"
#include "lo-utils.h"
#include "defun.h"
#include "variables.h"
#include "gripes.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)
 DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_range,"range","double")
 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 \"local\" option, the variable is\n\ changed locally for the function and any subroutines it calls. The original\n\ variable value is restored when exiting the function.\n\ @end deftypefn")
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  )  [static]

Definition at line 55 of file

References CAST_CONV_ARG.

Referenced by octave_range::numeric_conversion_function().

DEFINE_OCTAVE_ALLOCATOR ( octave_range   ) 
"range"  ,
DEFUN ( allow_noninteger_range_as_index  ,
args  ,

Definition at line 648 of file


static void skip_comments ( std::istream &  is  )  [static]

Definition at line 385 of file

References skip_until_newline().

Referenced by octave_range::load_ascii().

Variable Documentation

Definition at line 48 of file

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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines