GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
ov_range< T > Class Template Reference

#include "ov-range.h"

Inheritance diagram for ov_range< T >:
Collaboration diagram for ov_range< T >:

Public Types

typedef octave_base_value *(* type_conv_fcn) (const octave_base_value &)
 
enum  unary_mapper_t {
  umap_abs , umap_acos , umap_acosh , umap_angle ,
  umap_arg , umap_asin , umap_asinh , umap_atan ,
  umap_atanh , umap_cbrt , umap_ceil , umap_conj ,
  umap_cos , umap_cosh , umap_erf , umap_erfinv ,
  umap_erfcinv , umap_erfc , umap_erfcx , umap_erfi ,
  umap_dawson , umap_exp , umap_expm1 , umap_isfinite ,
  umap_fix , umap_floor , umap_gamma , umap_imag ,
  umap_isinf , umap_isna , umap_isnan , umap_lgamma ,
  umap_log , umap_log2 , umap_log10 , umap_log1p ,
  umap_real , umap_round , umap_roundb , umap_signum ,
  umap_sin , umap_sinh , umap_sqrt , umap_tan ,
  umap_tanh , umap_xisalnum , umap_xisalpha , umap_xisascii ,
  umap_xiscntrl , umap_xisdigit , umap_xisgraph , umap_xislower ,
  umap_xisprint , umap_xispunct , umap_xisspace , umap_xisupper ,
  umap_xisxdigit , umap_xsignbit , umap_xtolower , umap_xtoupper ,
  umap_unknown , num_unary_mappers = umap_unknown
}
 

Public Member Functions

 ov_range (const octave::range< T > &r)
 
 ov_range (const octave::range< T > &r, const octave::idx_vector &cache)
 
 ov_range (const ov_range< T > &r)
 
 ov_range (void)
 
 ~ov_range (void)
 
octave_value all (int dim=0) const
 
octave_value any (int dim=0) const
 
NDArray array_value (bool=false) const
 
OCTINTERP_API octave_value as_double (void) const
 
OCTINTERP_API octave_value as_int16 (void) const
 
OCTINTERP_API octave_value as_int32 (void) const
 
OCTINTERP_API octave_value as_int64 (void) const
 
OCTINTERP_API octave_value as_int8 (void) const
 
OCTINTERP_API mxArrayas_mxArray (bool interleaved) const
 
OCTINTERP_API octave_value as_single (void) const
 
OCTINTERP_API octave_value as_uint16 (void) const
 
OCTINTERP_API octave_value as_uint32 (void) const
 
OCTINTERP_API octave_value as_uint64 (void) const
 
OCTINTERP_API octave_value as_uint8 (void) const
 
virtual void assign (const std::string &, const octave_value &)
 
OCTINTERP_API boolNDArray bool_array_value (bool warn=false) const
 
virtual boolMatrix bool_matrix_value (bool=false) const
 
virtual bool bool_value (bool=false) const
 
virtual void break_closure_cycles (const std::shared_ptr< octave::stack_frame > &)
 
builtin_type_t builtin_type (void) const
 
std::size_t byte_size (void) const
 
virtual void call_object_destructor (void)
 
virtual Cell cell_value (void) const
 
virtual Array< std::string > cellstr_value (void) const
 
OCTINTERP_API charNDArray char_array_value (bool=false) const
 
virtual charMatrix char_matrix_value (bool force=false) const
 
std::string class_name (void) const
 
virtual octave_classdefclassdef_object_value (bool silent=false)
 
octave_base_valueclone (void) const
 
octave_idx_type columns (void) const
 
ComplexNDArray complex_array_value (bool=false) const
 
virtual ComplexDiagMatrix complex_diag_matrix_value (bool=false) const
 
ComplexMatrix complex_matrix_value (bool=false) const
 
OCTINTERP_API Complex complex_value (bool=false) const
 
virtual void convert_to_row_or_column_vector (void)
 
virtual octave_value convert_to_str (bool pad=false, bool force=false, char type='\'') const
 
OCTINTERP_API octave_value convert_to_str_internal (bool pad, bool force, char type) const
 
octave_value diag (octave_idx_type k) const
 
OCTINTERP_API octave_value diag (octave_idx_type k) const
 
octave_value diag (octave_idx_type k=0) const
 
octave_value diag (octave_idx_type nr, octave_idx_type nc) const
 
octave_value diag (octave_idx_type nr, octave_idx_type nc) const
 
OCTINTERP_API octave_value diag (octave_idx_type nr, octave_idx_type nc) const
 
virtual DiagMatrix diag_matrix_value (bool=false) const
 
dim_vector dims (void) const
 
OCTINTERP_API octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
 
OCTINTERP_API double double_value (bool=false) const
 
virtual octave_value dump (void) const
 
OCTINTERP_API std::string edit_display (const float_display_format &fmt, octave_idx_type i, octave_idx_type j) const
 
octave_base_valueempty_clone (void) const
 
virtual void erase_subfunctions (void)
 
OCTINTERP_API octave_value fast_elem_extract (octave_idx_type n) const
 
virtual bool fast_elem_insert (octave_idx_type n, const octave_value &x)
 
virtual bool fast_elem_insert_self (void *where, builtin_type_t btyp) const
 
virtual octave_fcn_handlefcn_handle_value (bool silent=false)
 
virtual octave_base_valuefind_parent_class (const std::string &)
 
FloatNDArray float_array_value (bool=false) const
 
FloatComplexNDArray float_complex_array_value (bool=false) const
 
virtual FloatComplexDiagMatrix float_complex_diag_matrix_value (bool=false) const
 
FloatComplexMatrix float_complex_matrix_value (bool=false) const
 
OCTINTERP_API FloatComplex float_complex_value (bool=false) const
 
virtual FloatDiagMatrix float_diag_matrix_value (bool=false) const
 
FloatMatrix float_matrix_value (bool=false) const
 
float float_scalar_value (bool frc_str_conv=false) const
 
OCTINTERP_API float float_value (bool=false) const
 
octave_value full_value (void) const
 
virtual octave_functionfunction_value (bool silent=false)
 
OCTINTERP_API float_display_format get_edit_display_format (void) const
 
octave::idx_vector index_vector (bool require_integers) const
 
OCTINTERP_API octave::idx_vector index_vector (bool require_integers) const
 
OCTINTERP_API octave::idx_vector index_vector (bool require_integers=false) const
 
int16NDArray int16_array_value (void) const
 
virtual octave_int16 int16_scalar_value (void) const
 
int32NDArray int32_array_value (void) const
 
virtual octave_int32 int32_scalar_value (void) const
 
int64NDArray int64_array_value (void) const
 
virtual octave_int64 int64_scalar_value (void) const
 
virtual int64_t int64_value (bool=false, bool=false) const
 
int8NDArray int8_array_value (void) const
 
virtual octave_int8 int8_scalar_value (void) const
 
virtual int int_value (bool=false, bool=false) const
 
virtual bool is_all_va_args (void) const
 
virtual bool is_anonymous_function (void) const
 
virtual bool is_bool_matrix (void) const
 
virtual bool is_bool_scalar (void) const
 
virtual bool is_builtin_function (void) const
 
virtual bool is_char_matrix (void) const
 
virtual bool is_classdef_meta (void) const
 
virtual bool is_classdef_object (void) const
 
virtual bool is_classdef_superclass_ref (void) const
 
virtual bool is_complex_matrix (void) const
 
virtual bool is_complex_scalar (void) const
 
bool is_constant (void) const
 
virtual bool is_cs_list (void) const
 
bool is_defined (void) const
 
virtual bool is_diag_matrix (void) const
 
virtual bool is_dld_function (void) const
 
bool is_double_type (void) const
 
virtual bool is_function (void) const
 
virtual bool is_function_handle (void) const
 
virtual bool is_inline_function (void) const
 
virtual bool is_instance_of (const std::string &) const
 
bool is_int16_type (void) const
 
bool is_int32_type (void) const
 
bool is_int64_type (void) const
 
bool is_int8_type (void) const
 
virtual bool is_legacy_object (void) const
 
virtual bool is_magic_colon (void) const
 
virtual bool is_magic_int (void) const
 
virtual bool is_matrix_type (void) const
 
virtual bool is_mex_function (void) const
 
virtual bool is_package (void) const
 
virtual bool is_perm_matrix (void) const
 
bool is_range (void) const
 
virtual bool is_real_matrix (void) const
 
virtual bool is_real_scalar (void) const
 
virtual bool is_scalar_type (void) const
 
bool is_single_type (void) const
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
virtual bool is_sq_string (void) const
 
bool is_storable (void) const
 
virtual bool is_string (void) const
 
bool is_true (void) const
 
bool is_uint16_type (void) const
 
bool is_uint32_type (void) const
 
bool is_uint64_type (void) const
 
bool is_uint8_type (void) const
 
virtual bool is_user_code (void) const
 
virtual bool is_user_function (void) const
 
virtual bool is_user_script (void) const
 
bool is_zero_by_zero (void) const
 
virtual bool iscell (void) const
 
virtual bool iscellstr (void) const
 
virtual bool iscomplex (void) const
 
bool isempty (void) const
 
virtual bool isfield (const std::string &) const
 
bool isfloat (void) const
 
bool isinteger (void) const
 
virtual bool isjava (void) const
 
virtual bool islocked (void) const
 
virtual bool islogical (void) const
 
virtual bool isnull (void) const
 
bool isnumeric (void) const
 
virtual bool isobject (void) const
 
bool isreal (void) const
 
sortmode issorted (sortmode mode=UNSORTED) const
 
virtual bool issparse (void) const
 
virtual bool isstruct (void) const
 
virtual octave_value_list list_value (void) const
 
OCTINTERP_API bool load_ascii (std::istream &is)
 
OCTINTERP_API bool load_binary (std::istream &is, bool swap, octave::mach_info::float_format fmt)
 
OCTINTERP_API bool load_hdf5 (octave_hdf5_id loc_id, const char *name)
 
virtual void lock (void)
 
virtual long int long_value (bool=false, bool=false) const
 
octave_value map (unary_mapper_t umap) const
 
virtual string_vector map_keys (void) const
 
virtual octave_map map_value (void) const
 
virtual MatrixType matrix_type (const MatrixType &typ) const
 
virtual MatrixType matrix_type (void) const
 
Matrix matrix_value (bool=false) const
 
virtual void maybe_economize (void)
 
virtual const void * mex_get_data (void) const
 
virtual const octave_idx_typemex_get_ir (void) const
 
virtual const octave_idx_typemex_get_jc (void) const
 
virtual int ndims (void) const
 
virtual octave_idx_type nfields (void) const
 
virtual int nint_value (bool=false) const
 
octave_idx_type nnz (void) const
 
octave_idx_type nnz (void) const
 
OCTINTERP_API octave_idx_type nnz (void) const
 
virtual std::size_t nparents (void) const
 
octave_idx_type numel (void) const
 
OCTINTERP_API type_conv_info numeric_conversion_function (void) const
 
virtual type_conv_info numeric_demotion_function (void) const
 
virtual octave_idx_type nzmax (void) const
 
ov_rangeoperator= (const ov_range &)=delete
 
virtual std::list< std::string > parent_class_name_list (void) const
 
virtual string_vector parent_class_names (void) const
 
virtual PermMatrix perm_matrix_value (void) const
 
octave_value permute (const Array< int > &vec, bool inv=false) const
 
OCTINTERP_API void print (std::ostream &os, bool pr_as_read_syntax=false)
 
virtual bool print_as_scalar (void) const
 
virtual void print_info (std::ostream &os, const std::string &prefix) const
 
OCTINTERP_API bool print_name_tag (std::ostream &os, const std::string &name) const
 
void print_raw (std::ostream &os, bool pr_as_read_syntax) const
 
OCTINTERP_API void print_raw (std::ostream &os, bool pr_as_read_syntax) const
 
OCTINTERP_API void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
 
virtual void print_with_name (std::ostream &output_buf, const std::string &name, bool print_padding=true)
 
octave::range< double > range_value (void) const
 
OCTINTERP_API octave::range< double > range_value (void) const
 
OCTINTERP_API octave::range< double > range_value (void) const
 
Array< T > raw_array_value (void) const
 
void register_type (octave::type_info &)
 
void register_type (octave::type_info &ti)
 
void register_type (void)
 
void register_type (void)
 
octave_value reshape (const dim_vector &new_dims) const
 
OCTINTERP_API octave_value resize (const dim_vector &dv, bool fill=false) const
 
octave_idx_type rows (void) const
 
OCTINTERP_API bool save_ascii (std::ostream &os)
 
OCTINTERP_API bool save_binary (std::ostream &os, bool save_as_floats)
 
OCTINTERP_API bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool flag)
 
virtual octave_scalar_map scalar_map_value (void) const
 
double scalar_value (bool frc_str_conv=false) const
 
OCTINTERP_API void short_disp (std::ostream &os) const
 
virtual short int short_value (bool=false, bool=false) const
 
virtual Matrix size (void)
 
octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
 
Array< octave_idx_typesort_rows_idx (sortmode) const
 
virtual SparseBoolMatrix sparse_bool_matrix_value (bool=false) const
 
SparseComplexMatrix sparse_complex_matrix_value (bool=false) const
 
SparseMatrix sparse_matrix_value (bool=false) const
 
octave_value squeeze (void) const
 
virtual std::string string_value (bool force=false) const
 
virtual string_vector string_vector_value (bool pad=false) const
 
virtual octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
 
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
 
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
 
virtual octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
 
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int)
 
OCTINTERP_API octave_base_valuetry_narrowing_conversion (void)
 
int type_id (void) const
 
std::string type_name (void) const
 
uint16NDArray uint16_array_value (void) const
 
virtual octave_uint16 uint16_scalar_value (void) const
 
uint32NDArray uint32_array_value (void) const
 
virtual octave_uint32 uint32_scalar_value (void) const
 
uint64NDArray uint64_array_value (void) const
 
virtual octave_uint64 uint64_scalar_value (void) const
 
virtual uint64_t uint64_value (bool=false, bool=false) const
 
uint8NDArray uint8_array_value (void) const
 
virtual octave_uint8 uint8_scalar_value (void) const
 
virtual unsigned int uint_value (bool=false, bool=false) const
 
virtual unsigned long int ulong_value (bool=false, bool=false) const
 
virtual octave_value undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
virtual octave_base_valueunique_clone (void)
 
virtual octave_base_valueunique_parent_class (const std::string &)
 
virtual void unlock (void)
 
virtual octave_user_codeuser_code_value (bool silent=false)
 
virtual octave_user_functionuser_function_value (bool silent=false)
 
virtual octave_user_scriptuser_script_value (bool silent=false)
 
virtual unsigned short int ushort_value (bool=false, bool=false) const
 
int write (octave::stream &os, int block_size, oct_data_conv::data_type output_type, int skip, octave::mach_info::float_format flt_fmt) const
 
virtual octave_idx_type xnumel (const octave_value_list &)
 
virtual std::string xstring_value () const
 

Static Public Member Functions

static void register_type (octave::type_info &)
 
static void register_type (void)
 
static std::string static_class_name (void)
 
static int static_type_id (void)
 
static std::string static_type_name (void)
 

Protected Member Functions

void clear_cached_info (void) const
 
int current_print_indent_level (void) const
 
void decrement_indent_level (void) const
 
octave_hdf5_id hdf5_save_type
 
void increment_indent_level (void) const
 
OCTINTERP_API void indent (std::ostream &os) const
 
OCTINTERP_API void newline (std::ostream &os) const
 
OCTINTERP_API octave_value numeric_assign (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
OCTINTERP_API void reset (void) const
 
void reset_indent_level (void) const
 
octave::idx_vector set_idx_cache (const octave::idx_vector &idx) const
 
OCTINTERP_API void warn_load (const char *type) const
 
OCTINTERP_API void warn_save (const char *type) const
 

Static Protected Member Functions

static OCTINTERP_API const char * get_umap_name (unary_mapper_t)
 

Protected Attributes

octave::refcount< octave_idx_typecount
 
octave::idx_vectorm_idx_cache
 
octave::range< T > m_range
 

Static Protected Attributes

static octave_hdf5_id hdf5_save_type
 

Private Member Functions

const std::string c_name ("double")
 
const std::string c_name
 
int t_id (-1)
 
int t_id
 
const std::string t_name ("double_range")
 
const std::string t_name
 
OCTINTERP_API void wrong_type_arg_error (void) const
 

Static Private Attributes

static const std::string c_name
 
static bool s_beginning_of_line = true
 
static int s_curr_print_indent_level = 0
 
static int t_id
 
static const std::string t_name
 

Detailed Description

template<typename T>
class ov_range< T >

Definition at line 58 of file ov-range.h.

Member Typedef Documentation

◆ type_conv_fcn

typedef octave_base_value*(* octave_base_value::type_conv_fcn) (const octave_base_value &)
inherited

Definition at line 242 of file ov-base.h.

Member Enumeration Documentation

◆ unary_mapper_t

Enumerator
umap_abs 
umap_acos 
umap_acosh 
umap_angle 
umap_arg 
umap_asin 
umap_asinh 
umap_atan 
umap_atanh 
umap_cbrt 
umap_ceil 
umap_conj 
umap_cos 
umap_cosh 
umap_erf 
umap_erfinv 
umap_erfcinv 
umap_erfc 
umap_erfcx 
umap_erfi 
umap_dawson 
umap_exp 
umap_expm1 
umap_isfinite 
umap_fix 
umap_floor 
umap_gamma 
umap_imag 
umap_isinf 
umap_isna 
umap_isnan 
umap_lgamma 
umap_log 
umap_log2 
umap_log10 
umap_log1p 
umap_real 
umap_round 
umap_roundb 
umap_signum 
umap_sin 
umap_sinh 
umap_sqrt 
umap_tan 
umap_tanh 
umap_xisalnum 
umap_xisalpha 
umap_xisascii 
umap_xiscntrl 
umap_xisdigit 
umap_xisgraph 
umap_xislower 
umap_xisprint 
umap_xispunct 
umap_xisspace 
umap_xisupper 
umap_xisxdigit 
umap_xsignbit 
umap_xtolower 
umap_xtoupper 
umap_unknown 
num_unary_mappers 

Definition at line 797 of file ov-base.h.

Constructor & Destructor Documentation

◆ ov_range() [1/4]

template<typename T >
ov_range< T >::ov_range ( void  )
inline

Definition at line 63 of file ov-range.h.

◆ ov_range() [2/4]

template<typename T >
ov_range< T >::ov_range ( const octave::range< T > &  r)
inline

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

References error(), and numel().

◆ ov_range() [3/4]

template<typename T >
ov_range< T >::ov_range ( const ov_range< T > &  r)
inline

Definition at line 73 of file ov-range.h.

◆ ov_range() [4/4]

template<typename T >
ov_range< T >::ov_range ( const octave::range< T > &  r,
const octave::idx_vector cache 
)
inline

Definition at line 79 of file ov-range.h.

◆ ~ov_range()

template<typename T >
ov_range< T >::~ov_range ( void  )
inline

Definition at line 88 of file ov-range.h.

Member Function Documentation

◆ all()

template<typename T >
octave_value ov_range< T >::all ( int  dim = 0) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 206 of file ov-range.h.

References m.

◆ any()

template<typename T >
octave_value ov_range< T >::any ( int  dim = 0) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 216 of file ov-range.h.

References m.

◆ array_value()

template<typename T >
NDArray ov_range< T >::array_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 297 of file ov-range.h.

Referenced by oct_conv_range_to_matrix().

◆ as_double()

template<typename T >
octave_value ov_range< T >::as_double ( void  ) const
virtual

Reimplemented from octave_base_value.

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

References NDArray.

◆ as_int16()

template<typename T >
octave_value ov_range< T >::as_int16 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_int32()

template<typename T >
octave_value ov_range< T >::as_int32 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_int64()

template<typename T >
octave_value ov_range< T >::as_int64 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_int8()

template<typename T >
octave_value ov_range< T >::as_int8 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_mxArray()

template<typename T >
mxArray * ov_range< T >::as_mxArray ( bool  interleaved) const
virtual

Reimplemented from octave_base_value.

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

References Array< T, Alloc >::data(), mxArray::get_data(), and numel().

◆ as_single()

template<typename T >
octave_value ov_range< T >::as_single ( void  ) const
virtual

Reimplemented from octave_base_value.

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

References FloatMatrix.

◆ as_uint16()

template<typename T >
octave_value ov_range< T >::as_uint16 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_uint32()

template<typename T >
octave_value ov_range< T >::as_uint32 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_uint64()

template<typename T >
octave_value ov_range< T >::as_uint64 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ as_uint8()

template<typename T >
octave_value ov_range< T >::as_uint8 ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ assign()

virtual void octave_base_value::assign ( const std::string &  ,
const octave_value  
)
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 340 of file ov-base.h.

◆ bool_array_value()

template<typename T >
boolNDArray ov_range< T >::bool_array_value ( bool  warn = false) const
virtual

Reimplemented from octave_base_value.

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

References boolNDArray, Array< T, Alloc >::test_all(), and warn_logical_conversion().

◆ bool_matrix_value()

boolMatrix octave_base_value::bool_matrix_value ( bool  = false) const
virtualinherited

◆ bool_value()

◆ break_closure_cycles()

virtual void octave_base_value::break_closure_cycles ( const std::shared_ptr< octave::stack_frame > &  )
inlinevirtualinherited

Reimplemented in octave_scalar_struct, octave_struct, octave_classdef, octave_class, and octave_cell.

Definition at line 285 of file ov-base.h.

◆ builtin_type()

template<typename T >
builtin_type_t ov_range< T >::builtin_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 108 of file ov-range.h.

◆ byte_size()

template<typename T >
std::size_t ov_range< T >::byte_size ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 146 of file ov-range.h.

◆ c_name() [1/2]

const std::string ov_range< double >::c_name ( "double"  )
private

◆ c_name() [2/2]

const std::string ov_range< double >::c_name
private

Definition at line 505 of file ov-range.h.

◆ call_object_destructor()

virtual void octave_base_value::call_object_destructor ( void  )
inlinevirtualinherited

Reimplemented in octave_oncleanup.

Definition at line 792 of file ov-base.h.

◆ cell_value()

Cell octave_base_value::cell_value ( void  ) const
virtualinherited

Reimplemented in octave_cell.

Definition at line 536 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ cellstr_value()

Array< std::string > octave_base_value::cellstr_value ( void  ) const
virtualinherited

Reimplemented in octave_char_matrix_str, and octave_cell.

Definition at line 810 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ char_array_value()

template<typename T >
charNDArray ov_range< T >::char_array_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

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

References Array< T, Alloc >::elem(), and numel().

◆ char_matrix_value()

charMatrix octave_base_value::char_matrix_value ( bool  force = false) const
virtualinherited

Reimplemented in octave_char_matrix.

Definition at line 623 of file ov-base.cc.

References octave_value::char_matrix_value(), and octave_base_value::convert_to_str().

◆ class_name()

template<typename T >
std::string ov_range< T >::class_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 502 of file ov-range.h.

◆ classdef_object_value()

octave_classdef * octave_base_value::classdef_object_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_classdef.

Definition at line 930 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ clear_cached_info()

template<typename T >
void ov_range< T >::clear_cached_info ( void  ) const
inlineprotected

Definition at line 493 of file ov-range.h.

◆ clone()

template<typename T >
octave_base_value* ov_range< T >::clone ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 90 of file ov-range.h.

◆ columns()

octave_idx_type octave_base_value::columns ( void  ) const
inlineinherited

Definition at line 363 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_bool_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_char_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_bool_matrix::double_value(), octave_char_matrix::double_value(), octave_complex_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_bool_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_bool_matrix::float_value(), octave_char_matrix::float_value(), octave_complex_matrix::float_value(), octave_float_complex_matrix::float_value(), tm_const::generic_concat(), octave_char_matrix::int64_scalar_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), octave_cell::print_raw(), octave_bool_matrix::save_ascii(), octave_cell::save_ascii(), octave_complex_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_matrix::save_ascii(), and octave_char_matrix::uint64_scalar_value().

◆ complex_array_value()

template<typename T >
ComplexNDArray ov_range< T >::complex_array_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 379 of file ov-range.h.

◆ complex_diag_matrix_value()

◆ complex_matrix_value()

template<typename T >
ComplexMatrix ov_range< T >::complex_matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 369 of file ov-range.h.

◆ complex_value()

template<typename T >
Complex ov_range< T >::complex_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

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

References err_invalid_conversion(), numel(), and warn_implicit_conversion().

◆ convert_to_row_or_column_vector()

void octave_base_value::convert_to_row_or_column_vector ( void  )
virtualinherited

Definition at line 395 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ convert_to_str()

◆ convert_to_str_internal()

template<typename T >
octave_value ov_range< T >::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
virtual

Reimplemented from octave_base_value.

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

References octave_value::convert_to_str().

◆ current_print_indent_level()

◆ decrement_indent_level()

void octave_base_value::decrement_indent_level ( void  ) const
inlineprotectedinherited

◆ diag() [1/6]

octave_value ov_range< double >::diag ( octave_idx_type  k) const
virtual

Reimplemented from octave_base_value.

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

◆ diag() [2/6]

OCTINTERP_API octave_value ov_range< double >::diag ( octave_idx_type  k) const
virtual

Reimplemented from octave_base_value.

◆ diag() [3/6]

template<typename T >
octave_value ov_range< T >::diag ( octave_idx_type  k = 0) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 226 of file ov-range.h.

References octave_value::diag().

◆ diag() [4/6]

octave_value ov_range< double >::diag ( octave_idx_type  nr,
octave_idx_type  nc 
) const
virtual

Reimplemented from octave_base_value.

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

References Matrix::diag().

◆ diag() [5/6]

template<typename T >
octave_value ov_range< T >::diag ( octave_idx_type  nr,
octave_idx_type  nc 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 233 of file ov-range.h.

References m.

◆ diag() [6/6]

OCTINTERP_API octave_value ov_range< double >::diag ( octave_idx_type  nr,
octave_idx_type  nc 
) const
virtual

Reimplemented from octave_base_value.

◆ diag_matrix_value()

◆ dims()

template<typename T >
dim_vector ov_range< T >::dims ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 127 of file ov-range.h.

References n, and numel().

◆ do_index_op()

template<typename T >
octave_value ov_range< T >::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
)
virtual

Reimplemented from octave_base_value.

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

References octave_value::index_op(), octave_value_list::length(), and numel().

◆ double_value()

template<typename T >
double ov_range< T >::double_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

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

References err_invalid_conversion(), numel(), and warn_implicit_conversion().

◆ dump()

octave_value octave_base_value::dump ( void  ) const
virtualinherited

◆ edit_display()

template<typename T >
std::string ov_range< T >::edit_display ( const float_display_format fmt,
octave_idx_type  i,
octave_idx_type  j 
) const
virtual

Reimplemented from octave_base_value.

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

References octave_print_internal().

◆ empty_clone()

template<typename T >
octave_base_value* ov_range< T >::empty_clone ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 99 of file ov-range.h.

◆ erase_subfunctions()

virtual void octave_base_value::erase_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 525 of file ov-base.h.

◆ fast_elem_extract()

template<typename T >
octave_value ov_range< T >::fast_elem_extract ( octave_idx_type  n) const
virtual

Reimplemented from octave_base_value.

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

References n, and numel().

◆ fast_elem_insert()

◆ fast_elem_insert_self()

◆ fcn_handle_value()

octave_fcn_handle * octave_base_value::fcn_handle_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 976 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ find_parent_class()

virtual octave_base_value* octave_base_value::find_parent_class ( const std::string &  )
inlinevirtualinherited

◆ float_array_value()

template<typename T >
FloatNDArray ov_range< T >::float_array_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 302 of file ov-range.h.

◆ float_complex_array_value()

template<typename T >
FloatComplexNDArray ov_range< T >::float_complex_array_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 384 of file ov-range.h.

◆ float_complex_diag_matrix_value()

FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value ( bool  = false) const
virtualinherited

◆ float_complex_matrix_value()

template<typename T >
FloatComplexMatrix ov_range< T >::float_complex_matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 374 of file ov-range.h.

◆ float_complex_value()

template<typename T >
FloatComplex ov_range< T >::float_complex_value ( bool  = false) const
virtual

◆ float_diag_matrix_value()

FloatDiagMatrix octave_base_value::float_diag_matrix_value ( bool  = false) const
virtualinherited

◆ float_matrix_value()

template<typename T >
FloatMatrix ov_range< T >::float_matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 292 of file ov-range.h.

◆ float_scalar_value()

template<typename T >
float ov_range< T >::float_scalar_value ( bool  frc_str_conv = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 282 of file ov-range.h.

◆ float_value()

template<typename T >
float ov_range< T >::float_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

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

References err_invalid_conversion(), numel(), and warn_implicit_conversion().

◆ full_value()

template<typename T >
octave_value ov_range< T >::full_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 160 of file ov-range.h.

◆ function_value()

◆ get_edit_display_format()

template<typename T >
float_display_format ov_range< T >::get_edit_display_format ( void  ) const
virtual

Reimplemented from octave_base_value.

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

References make_format().

◆ get_umap_name()

const char * octave_base_value::get_umap_name ( unary_mapper_t  umap)
staticprotectedinherited

Definition at line 1084 of file ov-base.cc.

References octave_base_value::num_unary_mappers.

Referenced by octave_char_matrix::map(), and octave_base_value::map().

◆ hdf5_save_type()

octave_hdf5_id ov_range< double >::hdf5_save_type
protected

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

◆ increment_indent_level()

void octave_base_value::increment_indent_level ( void  ) const
inlineprotectedinherited

◆ indent()

◆ index_vector() [1/3]

octave::idx_vector ov_range< double >::index_vector ( bool  require_integers) const
virtual

Reimplemented from octave_base_value.

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

References octave_value(), and warning_with_id().

◆ index_vector() [2/3]

OCTINTERP_API octave::idx_vector ov_range< double >::index_vector ( bool  require_integers) const
virtual

Reimplemented from octave_base_value.

◆ index_vector() [3/3]

template<typename T >
octave::idx_vector ov_range< T >::index_vector ( bool  require_integers = false) const
virtual

Reimplemented from octave_base_value.

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

References octave_value::index_vector().

◆ int16_array_value()

template<typename T >
int16NDArray ov_range< T >::int16_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 318 of file ov-range.h.

◆ int16_scalar_value()

◆ int32_array_value()

template<typename T >
int32NDArray ov_range< T >::int32_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 323 of file ov-range.h.

◆ int32_scalar_value()

◆ int64_array_value()

template<typename T >
int64NDArray ov_range< T >::int64_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 328 of file ov-range.h.

◆ int64_scalar_value()

◆ int64_value()

int64_t octave_base_value::int64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 500 of file ov-base.cc.

◆ int8_array_value()

template<typename T >
int8NDArray ov_range< T >::int8_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 313 of file ov-range.h.

◆ int8_scalar_value()

◆ int_value()

int octave_base_value::int_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

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

◆ is_all_va_args()

virtual bool octave_base_value::is_all_va_args ( void  ) const
inlinevirtualinherited

Definition at line 449 of file ov-base.h.

◆ is_anonymous_function()

virtual bool octave_base_value::is_anonymous_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 507 of file ov-base.h.

Referenced by stack_frame::fcn_name(), and out_of_date_check().

◆ is_bool_matrix()

virtual bool octave_base_value::is_bool_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_sparse_bool_matrix, and octave_bool_matrix.

Definition at line 417 of file ov-base.h.

◆ is_bool_scalar()

virtual bool octave_base_value::is_bool_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool.

Definition at line 415 of file ov-base.h.

◆ is_builtin_function()

virtual bool octave_base_value::is_builtin_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function, octave_dld_function, and octave_builtin.

Definition at line 519 of file ov-base.h.

Referenced by tree_evaluator::mlock(), and tree_evaluator::munlock().

◆ is_char_matrix()

virtual bool octave_base_value::is_char_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix.

Definition at line 419 of file ov-base.h.

◆ is_classdef_meta()

virtual bool octave_base_value::is_classdef_meta ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_meta.

Definition at line 435 of file ov-base.h.

◆ is_classdef_object()

virtual bool octave_base_value::is_classdef_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef.

Definition at line 439 of file ov-base.h.

◆ is_classdef_superclass_ref()

virtual bool octave_base_value::is_classdef_superclass_ref ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_superclass_ref.

Definition at line 437 of file ov-base.h.

◆ is_complex_matrix()

virtual bool octave_base_value::is_complex_matrix ( void  ) const
inlinevirtualinherited

◆ is_complex_scalar()

virtual bool octave_base_value::is_complex_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_float_complex, and octave_complex.

Definition at line 411 of file ov-base.h.

◆ is_constant()

template<typename T >
bool ov_range< T >::is_constant ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 166 of file ov-range.h.

◆ is_cs_list()

virtual bool octave_base_value::is_cs_list ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cs_list.

Definition at line 445 of file ov-base.h.

◆ is_defined()

template<typename T >
bool ov_range< T >::is_defined ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 162 of file ov-range.h.

◆ is_diag_matrix()

◆ is_dld_function()

virtual bool octave_base_value::is_dld_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_dld_function.

Definition at line 521 of file ov-base.h.

Referenced by get_current_shlib().

◆ is_double_type()

template<typename T >
bool ov_range< T >::is_double_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 170 of file ov-range.h.

References btyp_double.

◆ is_function()

virtual bool octave_base_value::is_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_function.

Definition at line 511 of file ov-base.h.

◆ is_function_handle()

virtual bool octave_base_value::is_function_handle ( void  ) const
inlinevirtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 505 of file ov-base.h.

◆ is_inline_function()

virtual bool octave_base_value::is_inline_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function, and octave_inline.

Definition at line 509 of file ov-base.h.

◆ is_instance_of()

virtual bool octave_base_value::is_instance_of ( const std::string &  ) const
inlinevirtualinherited

Reimplemented in octave_classdef, octave_java, and octave_class.

Definition at line 688 of file ov-base.h.

◆ is_int16_type()

template<typename T >
bool ov_range< T >::is_int16_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 178 of file ov-range.h.

References btyp_int16.

◆ is_int32_type()

template<typename T >
bool ov_range< T >::is_int32_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 180 of file ov-range.h.

References btyp_int32.

◆ is_int64_type()

template<typename T >
bool ov_range< T >::is_int64_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 182 of file ov-range.h.

References btyp_int64.

◆ is_int8_type()

template<typename T >
bool ov_range< T >::is_int8_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 176 of file ov-range.h.

References btyp_int8.

◆ is_legacy_object()

virtual bool octave_base_value::is_legacy_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_legacy_range.

Definition at line 397 of file ov-base.h.

◆ is_magic_colon()

virtual bool octave_base_value::is_magic_colon ( void  ) const
inlinevirtualinherited

Reimplemented in octave_magic_colon.

Definition at line 447 of file ov-base.h.

Referenced by octave_cell::subsasgn(), and octave_struct::subsasgn().

◆ is_magic_int()

virtual bool octave_base_value::is_magic_int ( void  ) const
inlinevirtualinherited

◆ is_matrix_type()

◆ is_mex_function()

virtual bool octave_base_value::is_mex_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function.

Definition at line 523 of file ov-base.h.

Referenced by get_current_shlib().

◆ is_package()

virtual bool octave_base_value::is_package ( void  ) const
inlinevirtualinherited

Reimplemented in octave_classdef_meta.

Definition at line 441 of file ov-base.h.

◆ is_perm_matrix()

virtual bool octave_base_value::is_perm_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_perm_matrix.

Definition at line 423 of file ov-base.h.

◆ is_range()

template<typename T >
bool ov_range< T >::is_range ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 168 of file ov-range.h.

◆ is_real_matrix()

virtual bool octave_base_value::is_real_matrix ( void  ) const
inlinevirtualinherited

◆ is_real_scalar()

virtual bool octave_base_value::is_real_scalar ( void  ) const
inlinevirtualinherited

◆ is_scalar_type()

virtual bool octave_base_value::is_scalar_type ( void  ) const
inlinevirtualinherited

◆ is_single_type()

template<typename T >
bool ov_range< T >::is_single_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 172 of file ov-range.h.

References btyp_float.

◆ is_sorted_rows()

template<typename T >
sortmode ov_range< T >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 266 of file ov-range.h.

References ASCENDING, and UNSORTED.

◆ is_sq_string()

virtual bool octave_base_value::is_sq_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_sq_str.

Definition at line 427 of file ov-base.h.

Referenced by octave_char_matrix_str::edit_display(), and octave_char_matrix_str::resize().

◆ is_storable()

template<typename T >
bool ov_range< T >::is_storable ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 164 of file ov-range.h.

◆ is_string()

virtual bool octave_base_value::is_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 425 of file ov-base.h.

Referenced by octave_class::string_vector_value().

◆ is_true()

template<typename T >
bool ov_range< T >::is_true ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 204 of file ov-range.h.

References numel().

◆ is_uint16_type()

template<typename T >
bool ov_range< T >::is_uint16_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 186 of file ov-range.h.

References btyp_uint16.

◆ is_uint32_type()

template<typename T >
bool ov_range< T >::is_uint32_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 188 of file ov-range.h.

References btyp_uint32.

◆ is_uint64_type()

template<typename T >
bool ov_range< T >::is_uint64_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 190 of file ov-range.h.

References btyp_uint64.

◆ is_uint8_type()

template<typename T >
bool ov_range< T >::is_uint8_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 184 of file ov-range.h.

References btyp_uint8.

◆ is_user_code()

virtual bool octave_base_value::is_user_code ( void  ) const
inlinevirtualinherited

◆ is_user_function()

virtual bool octave_base_value::is_user_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 515 of file ov-base.h.

Referenced by find_fcn_by_line(), and tree_evaluator::maybe_set_echo_state().

◆ is_user_script()

virtual bool octave_base_value::is_user_script ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_script.

Definition at line 513 of file ov-base.h.

◆ is_zero_by_zero()

bool octave_base_value::is_zero_by_zero ( void  ) const
inlineinherited

Definition at line 401 of file ov-base.h.

References octave_value::dims(), and dim_vector::zero_by_zero().

Referenced by octave_char_matrix_str::edit_display().

◆ iscell()

virtual bool octave_base_value::iscell ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 403 of file ov-base.h.

◆ iscellstr()

virtual bool octave_base_value::iscellstr ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 405 of file ov-base.h.

◆ iscomplex()

virtual bool octave_base_value::iscomplex ( void  ) const
inlinevirtualinherited

◆ isempty()

◆ isfield()

bool octave_base_value::isfield ( const std::string &  ) const
virtualinherited

Reimplemented in octave_scalar_struct, and octave_struct.

Definition at line 905 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ isfloat()

template<typename T >
bool ov_range< T >::isfloat ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 174 of file ov-range.h.

References btyp_isfloat().

◆ isinteger()

template<typename T >
bool ov_range< T >::isinteger ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 192 of file ov-range.h.

References btyp_isinteger().

◆ isjava()

virtual bool octave_base_value::isjava ( void  ) const
inlinevirtualinherited

Reimplemented in octave_java.

Definition at line 443 of file ov-base.h.

◆ islocked()

virtual bool octave_base_value::islocked ( void  ) const
inlinevirtualinherited

Reimplemented in octave_function.

Definition at line 790 of file ov-base.h.

◆ islogical()

virtual bool octave_base_value::islogical ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool, octave_sparse_bool_matrix, and octave_bool_matrix.

Definition at line 479 of file ov-base.h.

◆ isnull()

virtual bool octave_base_value::isnull ( void  ) const
inlinevirtualinherited

Reimplemented in octave_null_sq_str, octave_null_str, and octave_null_matrix.

Definition at line 501 of file ov-base.h.

◆ isnumeric()

template<typename T >
bool ov_range< T >::isnumeric ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 199 of file ov-range.h.

References btyp_isnumeric().

◆ isobject()

virtual bool octave_base_value::isobject ( void  ) const
inlinevirtualinherited

Reimplemented in octave_oncleanup, octave_classdef, and octave_class.

Definition at line 433 of file ov-base.h.

Referenced by oct_binop_default().

◆ isreal()

template<typename T >
bool ov_range< T >::isreal ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 197 of file ov-range.h.

◆ issorted()

template<typename T >
sortmode ov_range< T >::issorted ( sortmode  mode = UNSORTED) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 256 of file ov-range.h.

◆ issparse()

virtual bool octave_base_value::issparse ( void  ) const
inlinevirtualinherited

◆ isstruct()

virtual bool octave_base_value::isstruct ( void  ) const
inlinevirtualinherited

Reimplemented in octave_scalar_struct, octave_struct, octave_java, octave_classdef, and octave_class.

Definition at line 431 of file ov-base.h.

◆ list_value()

octave_value_list octave_base_value::list_value ( void  ) const
virtualinherited

Reimplemented in octave_cs_list, and octave_cell.

Definition at line 985 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ load_ascii()

template<typename T >
bool ov_range< T >::load_ascii ( std::istream &  is)
virtual

Reimplemented from octave_base_value.

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

References xload_ascii().

◆ load_binary()

template<typename T >
bool ov_range< T >::load_binary ( std::istream &  is,
bool  swap,
octave::mach_info::float_format  fmt 
)
virtual

Reimplemented from octave_base_value.

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

References xload_binary().

◆ load_hdf5()

template<typename T >
bool ov_range< T >::load_hdf5 ( octave_hdf5_id  loc_id,
const char *  name 
)
virtual

Reimplemented from octave_base_value.

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

References xload_hdf5().

◆ lock()

void octave_base_value::lock ( void  )
virtualinherited

Reimplemented in octave_function.

Definition at line 1187 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ long_value()

long int octave_base_value::long_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 497 of file ov-base.cc.

◆ map()

template<typename T >
octave_value ov_range< T >::map ( unary_mapper_t  umap) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 474 of file ov-range.h.

References octave_value::map().

◆ map_keys()

string_vector octave_base_value::map_keys ( void  ) const
virtualinherited

◆ map_value()

octave_map octave_base_value::map_value ( void  ) const
virtualinherited

◆ matrix_type() [1/2]

◆ matrix_type() [2/2]

◆ matrix_value()

template<typename T >
Matrix ov_range< T >::matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 287 of file ov-range.h.

◆ maybe_economize()

◆ mex_get_data()

◆ mex_get_ir()

virtual const octave_idx_type* octave_base_value::mex_get_ir ( void  ) const
inlinevirtualinherited

◆ mex_get_jc()

virtual const octave_idx_type* octave_base_value::mex_get_jc ( void  ) const
inlinevirtualinherited

◆ ndims()

◆ newline()

◆ nfields()

octave_idx_type octave_base_value::nfields ( void  ) const
virtualinherited

Reimplemented in octave_scalar_struct, octave_struct, and octave_class.

Definition at line 328 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ nint_value()

int octave_base_value::nint_value ( bool  frc_str_conv = false) const
virtualinherited

Definition at line 504 of file ov-base.cc.

References d, err_wrong_type_arg(), error(), fix(), and isnan().

◆ nnz() [1/3]

octave_idx_type ov_range< double >::nnz ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ nnz() [2/3]

template<typename T >
octave_idx_type ov_range< T >::nnz ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 135 of file ov-range.h.

References octave_value::nnz().

◆ nnz() [3/3]

OCTINTERP_API octave_idx_type ov_range< double >::nnz ( void  ) const
virtual

Reimplemented from octave_base_value.

◆ nparents()

std::size_t octave_base_value::nparents ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 911 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ numel()

template<typename T >
octave_idx_type ov_range< T >::numel ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 133 of file ov-range.h.

◆ numeric_assign()

◆ numeric_conversion_function()

template<typename T >
octave_base_value::type_conv_info ov_range< T >::numeric_conversion_function ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ numeric_demotion_function()

virtual type_conv_info octave_base_value::numeric_demotion_function ( void  ) const
inlinevirtualinherited

◆ nzmax()

octave_idx_type octave_base_value::nzmax ( void  ) const
virtualinherited

◆ operator=()

template<typename T >
ov_range& ov_range< T >::operator= ( const ov_range< T > &  )
delete

◆ parent_class_name_list()

std::list< std::string > octave_base_value::parent_class_name_list ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 917 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ parent_class_names()

string_vector octave_base_value::parent_class_names ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 924 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ perm_matrix_value()

PermMatrix octave_base_value::perm_matrix_value ( void  ) const
virtualinherited

◆ permute()

template<typename T >
octave_value ov_range< T >::permute ( const Array< int > &  vec,
bool  inv = false 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 153 of file ov-range.h.

References octave_value::permute().

◆ print()

template<typename T >
void ov_range< T >::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
)
virtual

Reimplemented from octave_base_value.

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

◆ print_as_scalar()

◆ print_info()

◆ print_name_tag()

template<typename T >
bool ov_range< T >::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const
virtual

Reimplemented from octave_base_value.

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

References n, numel(), and Vcompact_format.

◆ print_raw() [1/3]

void ov_range< double >::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax 
) const
virtual

Reimplemented from octave_base_value.

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

References octave_print_internal().

◆ print_raw() [2/3]

OCTINTERP_API void ov_range< double >::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax 
) const
virtual

Reimplemented from octave_base_value.

◆ print_raw() [3/3]

template<typename T >
void ov_range< T >::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtual

Reimplemented from octave_base_value.

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

References octave_print_internal().

◆ print_with_name()

void octave_base_value::print_with_name ( std::ostream &  output_buf,
const std::string &  name,
bool  print_padding = true 
)
virtualinherited

◆ range_value() [1/3]

octave::range< double > ov_range< double >::range_value ( void  ) const
virtual

Reimplemented from octave_base_value.

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

◆ range_value() [2/3]

template<typename T >
octave::range< double > ov_range< T >::range_value ( void  ) const
virtual

Reimplemented from octave_base_value.

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

References err_wrong_type_arg().

◆ range_value() [3/3]

OCTINTERP_API octave::range< double > ov_range< double >::range_value ( void  ) const
virtual

Reimplemented from octave_base_value.

◆ raw_array_value()

template<typename T >
Array<T> ov_range< T >::raw_array_value ( void  ) const
inline

Definition at line 271 of file ov-range.h.

Referenced by default_numeric_conversion_function().

◆ register_type() [1/6]

template<typename T >
static void ov_range< T >::register_type ( octave::type_info &  )
static

◆ register_type() [2/6]

void ov_range< double >::register_type ( octave::type_info &  )

◆ register_type() [3/6]

void ov_range< double >::register_type ( octave::type_info &  ti)

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

◆ register_type() [4/6]

void ov_range< double >::register_type ( void  )

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

◆ register_type() [5/6]

template<typename T >
static void ov_range< T >::register_type ( void  )
static

◆ register_type() [6/6]

void ov_range< double >::register_type ( void  )

◆ reset()

void octave_base_value::reset ( void  ) const
protectedinherited

◆ reset_indent_level()

void octave_base_value::reset_indent_level ( void  ) const
inlineprotectedinherited

Definition at line 894 of file ov-base.h.

◆ reshape()

template<typename T >
octave_value ov_range< T >::reshape ( const dim_vector new_dims) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 148 of file ov-range.h.

References octave_value::reshape().

◆ resize()

template<typename T >
octave_value ov_range< T >::resize ( const dim_vector dv,
bool  fill = false 
) const
virtual

Reimplemented from octave_base_value.

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

References Array< T, Alloc >::resize().

◆ rows()

octave_idx_type octave_base_value::rows ( void  ) const
inlineinherited

Definition at line 356 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_bool_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_char_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_bool_matrix::double_value(), octave_char_matrix::double_value(), octave_complex_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_char_matrix_str::edit_display(), octave_bool_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_bool_matrix::float_value(), octave_char_matrix::float_value(), octave_complex_matrix::float_value(), octave_float_complex_matrix::float_value(), tm_const::generic_concat(), octave_char_matrix::int64_scalar_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), octave_cell::print_raw(), octave_bool_matrix::save_ascii(), octave_cell::save_ascii(), octave_complex_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_matrix::save_ascii(), and octave_char_matrix::uint64_scalar_value().

◆ save_ascii()

template<typename T >
bool ov_range< T >::save_ascii ( std::ostream &  os)
virtual

Reimplemented from octave_base_value.

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

References xsave_ascii().

◆ save_binary()

template<typename T >
bool ov_range< T >::save_binary ( std::ostream &  os,
bool  save_as_floats 
)
virtual

Reimplemented from octave_base_value.

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

References xsave_binary().

◆ save_hdf5()

template<typename T >
bool ov_range< T >::save_hdf5 ( octave_hdf5_id  loc_id,
const char *  name,
bool  flag 
)
virtual

Reimplemented from octave_base_value.

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

References xsave_hdf5().

◆ scalar_map_value()

octave_scalar_map octave_base_value::scalar_map_value ( void  ) const
virtualinherited

◆ scalar_value()

template<typename T >
double ov_range< T >::scalar_value ( bool  frc_str_conv = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 277 of file ov-range.h.

◆ set_idx_cache()

template<typename T >
octave::idx_vector ov_range< T >::set_idx_cache ( const octave::idx_vector idx) const
inlineprotected

Definition at line 486 of file ov-range.h.

◆ short_disp()

template<typename T >
void ov_range< T >::short_disp ( std::ostream &  os) const
virtual

Reimplemented from octave_base_value.

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

References len, and numel().

◆ short_value()

short int octave_base_value::short_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 491 of file ov-base.cc.

◆ size()

Matrix octave_base_value::size ( void  )
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 184 of file ov-base.cc.

Referenced by octave_class::size(), and octave_classdef::size().

◆ sort() [1/2]

template<typename T >
octave_value ov_range< T >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 249 of file ov-range.h.

References Array< T, Alloc >::sort().

◆ sort() [2/2]

template<typename T >
octave_value ov_range< T >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 243 of file ov-range.h.

References Array< T, Alloc >::sort().

◆ sort_rows_idx()

template<typename T >
Array<octave_idx_type> ov_range< T >::sort_rows_idx ( sortmode  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 261 of file ov-range.h.

◆ sparse_bool_matrix_value()

SparseBoolMatrix octave_base_value::sparse_bool_matrix_value ( bool  = false) const
virtualinherited

◆ sparse_complex_matrix_value()

template<typename T >
SparseComplexMatrix ov_range< T >::sparse_complex_matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 358 of file ov-range.h.

References SparseComplexMatrix.

◆ sparse_matrix_value()

template<typename T >
SparseMatrix ov_range< T >::sparse_matrix_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 353 of file ov-range.h.

References SparseMatrix.

◆ squeeze()

template<typename T >
octave_value ov_range< T >::squeeze ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 158 of file ov-range.h.

◆ static_class_name()

template<typename T >
static std::string ov_range< T >::static_class_name ( void  )
inlinestatic

Definition at line 502 of file ov-range.h.

◆ static_type_id()

template<typename T >
static int ov_range< T >::static_type_id ( void  )
inlinestatic

Definition at line 502 of file ov-range.h.

◆ static_type_name()

template<typename T >
static std::string ov_range< T >::static_type_name ( void  )
inlinestatic

Definition at line 502 of file ov-range.h.

◆ string_value()

std::string octave_base_value::string_value ( bool  force = false) const
virtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 794 of file ov-base.cc.

References octave_base_value::convert_to_str(), and octave_value::string_value().

◆ string_vector_value()

string_vector octave_base_value::string_vector_value ( bool  pad = false) const
virtualinherited

◆ subsasgn()

octave_value octave_base_value::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

◆ subsref() [1/6]

template<typename T >
octave_value octave_base_value::subsref

Definition at line 324 of file ov-base.cc.

◆ subsref() [2/6]

template<typename T >
octave_value ov_range< T >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
)
virtual

Reimplemented from octave_base_value.

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

References error(), octave_value::next_subsref(), and panic_impossible.

◆ subsref() [3/6]

octave_value octave_base_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
)
virtualinherited

Reimplemented in octave_scalar_struct, octave_struct, octave_classdef, and octave_cell.

Definition at line 216 of file ov-base.cc.

References octave_base_value::subsref().

◆ subsref() [4/6]

template<typename T >
octave_value octave_base_value::subsref

Definition at line 333 of file ov-base.cc.

◆ subsref() [5/6]

template<typename T >
octave_value_list octave_base_value::subsref

Definition at line 328 of file ov-base.cc.

◆ subsref() [6/6]

template<typename T >
octave_value_list ov_range< T >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int   
)
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 118 of file ov-range.h.

◆ t_id() [1/2]

int ov_range< double >::t_id ( 1)
private

◆ t_id() [2/2]

int ov_range< double >::t_id
private

Definition at line 505 of file ov-range.h.

◆ t_name() [1/2]

const std::string ov_range< double >::t_name ( "double_range"  )
private

◆ t_name() [2/2]

const std::string ov_range< double >::t_name
private

Definition at line 505 of file ov-range.h.

◆ try_narrowing_conversion()

template<typename T >
octave_base_value * ov_range< T >::try_narrowing_conversion ( void  )
virtual

Reimplemented from octave_base_value.

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

References m, and numel().

◆ type_id()

template<typename T >
int ov_range< T >::type_id ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 502 of file ov-range.h.

◆ type_name()

template<typename T >
std::string ov_range< T >::type_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 502 of file ov-range.h.

◆ uint16_array_value()

template<typename T >
uint16NDArray ov_range< T >::uint16_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 338 of file ov-range.h.

◆ uint16_scalar_value()

◆ uint32_array_value()

template<typename T >
uint32NDArray ov_range< T >::uint32_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 343 of file ov-range.h.

◆ uint32_scalar_value()

◆ uint64_array_value()

template<typename T >
uint64NDArray ov_range< T >::uint64_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 348 of file ov-range.h.

◆ uint64_scalar_value()

◆ uint64_value()

uint64_t octave_base_value::uint64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 501 of file ov-base.cc.

◆ uint8_array_value()

template<typename T >
uint8NDArray ov_range< T >::uint8_array_value ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 333 of file ov-range.h.

◆ uint8_scalar_value()

◆ uint_value()

unsigned int octave_base_value::uint_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 495 of file ov-base.cc.

◆ ulong_value()

unsigned long int octave_base_value::ulong_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 498 of file ov-base.cc.

◆ undef_subsasgn()

octave_value octave_base_value::undef_subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 305 of file ov-base.cc.

References octave_base_value::subsasgn().

Referenced by octave_classdef::undef_subsasgn().

◆ unique_clone()

virtual octave_base_value* octave_base_value::unique_clone ( void  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 283 of file ov-base.h.

References octave_value::clone().

◆ unique_parent_class()

virtual octave_base_value* octave_base_value::unique_parent_class ( const std::string &  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 685 of file ov-base.h.

Referenced by octave_class::unique_parent_class().

◆ unlock()

void octave_base_value::unlock ( void  )
virtualinherited

Reimplemented in octave_function.

Definition at line 1193 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ user_code_value()

octave_user_code * octave_base_value::user_code_value ( bool  silent = false)
virtualinherited

◆ user_function_value()

octave_user_function * octave_base_value::user_function_value ( bool  silent = false)
virtualinherited

◆ user_script_value()

octave_user_script * octave_base_value::user_script_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_user_script.

Definition at line 958 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

◆ ushort_value()

unsigned short int octave_base_value::ushort_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 492 of file ov-base.cc.

◆ warn_load()

◆ warn_save()

◆ write()

template<typename T >
int ov_range< T >::write ( octave::stream &  os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
octave::mach_info::float_format  flt_fmt 
) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 462 of file ov-range.h.

◆ wrong_type_arg_error()

void octave_base_value::wrong_type_arg_error ( void  ) const
privateinherited

Definition at line 1175 of file ov-base.cc.

References err_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_base_value::xstring_value().

◆ xnumel()

octave_idx_type octave_base_value::xnumel ( const octave_value_list idx)
virtualinherited

Reimplemented in octave_classdef, and octave_class.

Definition at line 194 of file ov-base.cc.

References octave_base_value::dims(), and dims_to_numel().

Referenced by octave_class::xnumel(), and octave_classdef::xnumel().

◆ xstring_value()

std::string octave_base_value::xstring_value ( void  ) const
virtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 802 of file ov-base.cc.

References octave_base_value::wrong_type_arg_error().

Member Data Documentation

◆ c_name

template<typename T >
const std::string ov_range< T >::c_name
staticprivate

Definition at line 502 of file ov-range.h.

◆ count

◆ hdf5_save_type

template<typename T >
octave_hdf5_id ov_range< T >::hdf5_save_type
staticprotected

Definition at line 500 of file ov-range.h.

◆ m_idx_cache

template<typename T >
octave::idx_vector* ov_range< T >::m_idx_cache
mutableprotected

Definition at line 498 of file ov-range.h.

◆ m_range

template<typename T >
octave::range<T> ov_range< T >::m_range
protected

Definition at line 484 of file ov-range.h.

◆ s_beginning_of_line

bool octave_base_value::s_beginning_of_line = true
staticprivateinherited

◆ s_curr_print_indent_level

int octave_base_value::s_curr_print_indent_level = 0
staticprivateinherited

Definition at line 929 of file ov-base.h.

Referenced by octave_base_value::indent(), and octave_base_value::reset().

◆ t_id

template<typename T >
int ov_range< T >::t_id
staticprivate

Definition at line 502 of file ov-range.h.

◆ t_name

template<typename T >
const std::string ov_range< T >::t_name
staticprivate

Definition at line 502 of file ov-range.h.


The documentation for this class was generated from the following files: