GNU Octave  4.2.1
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
ov-range.cc File Reference
#include <iostream>
#include "dNDArray.h"
#include "fNDArray.h"
#include "int8NDArray.h"
#include "int16NDArray.h"
#include "int32NDArray.h"
#include "int64NDArray.h"
#include "uint8NDArray.h"
#include "uint16NDArray.h"
#include "uint32NDArray.h"
#include "uint64NDArray.h"
#include "lo-ieee.h"
#include "lo-utils.h"
#include "defun.h"
#include "variables.h"
#include "errwarn.h"
#include "mxarray.h"
#include "ops.h"
#include "ovl.h"
#include "oct-hdf5.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 ov-range.cc:

Go to the source code of this file.

Functions

static octave_base_valuedefault_numeric_conversion_function (const octave_base_value &a)
 
OCTAVE_EXPORT octave_value_list Fallow_noninteger_range_as_index (const octave_value_list &args, int nargout) it is still not entirely compatible because c
 
static hid_t hdf5_make_range_type (hid_t num_type)
 
treats the range expression
differently in different
contexts When called from
inside a function with the the
variable is changed locally
for the function and any
subroutines it calls The
original variable value is
restored when exiting the
function nd deftypefn * 
if (!warned)
 
return set_internal_variable (Vallow_noninteger_range_as_index, args, nargout,"allow_noninteger_range_as_index")
 
static void skip_comments (std::istream &is)
 

Variables

treats the range expression
differently in different
contexts When called from
inside a function with the 
code {"local"} option
 
static bool Vallow_noninteger_range_as_index = true
 

Function Documentation

static octave_base_value* default_numeric_conversion_function ( const octave_base_value a)
static

Definition at line 66 of file ov-range.cc.

References a, and octave_range::matrix_value().

Referenced by octave_range::numeric_conversion_function().

OCTAVE_EXPORT octave_value_list Fallow_noninteger_range_as_index ( const octave_value_list args,
int  nargout 
)

Definition at line 798 of file ov-range.cc.

Referenced by install_ov_range_fcns().

static hid_t hdf5_make_range_type ( hid_t  num_type)
static

Definition at line 611 of file ov-range.cc.

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

treats the range expression differently in different contexts When called from inside a function with the the variable is changed locally for the function and any subroutines it calls The original variable value is restored when exiting the function nd deftypefn* if ( warned)

Definition at line 801 of file ov-range.cc.

References warning_with_id().

return set_internal_variable ( Vallow_noninteger_range_as_index  ,
args  ,
nargout  ,
"allow_noninteger_range_as_index"   
)
static void skip_comments ( std::istream &  is)
static

Definition at line 494 of file ov-range.cc.

References c, and skip_until_newline().

Referenced by octave_range::load_ascii().

Variable Documentation

treats the range expression differently in different contexts When called from inside a function with the code {"local"} option

Definition at line 798 of file ov-range.cc.

bool Vallow_noninteger_range_as_index = true
static

Definition at line 61 of file ov-range.cc.