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

#include "ov-magic-int.h"

Inheritance diagram for octave_base_magic_int< T >:
octave_base_scalar< T > octave_base_value

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from octave_base_scalar< T >
typedef T scalar_type
 
- Public Types inherited from octave_base_value
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
}
 
- Static Public Member Functions inherited from octave_base_value
static void register_type ()
 
static void register_type (octave::type_info &)
 
static std::string static_class_name ()
 
static int static_type_id ()
 
static std::string static_type_name ()
 
- Protected Member Functions inherited from octave_base_value
int current_print_indent_level () const
 
void decrement_indent_level () const
 
void increment_indent_level () const
 
void indent (std::ostream &os) const
 
void newline (std::ostream &os) const
 
octave_value numeric_assign (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
void reset () const
 
void reset_indent_level () const
 
void warn_load (const char *type) const
 
void warn_save (const char *type) const
 
- Static Protected Member Functions inherited from octave_base_value
static const char * get_umap_name (unary_mapper_t)
 
- Protected Attributes inherited from octave_base_scalar< T >
scalar
 
- Protected Attributes inherited from octave_base_value
octave::refcount< octave_idx_type > & count
 
octave::refcount< octave_idx_typem_count
 

Detailed Description

template<typename T>
class octave_base_magic_int< T >

Definition at line 50 of file ov-magic-int.h.

Constructor & Destructor Documentation

◆ octave_base_magic_int() [1/2]

template<typename T >
octave_base_magic_int< T >::octave_base_magic_int ( )
inline

Definition at line 55 of file ov-magic-int.h.

◆ octave_base_magic_int() [2/2]

template<typename T >
octave_base_magic_int< T >::octave_base_magic_int ( const T &  val)
inline

Definition at line 58 of file ov-magic-int.h.

◆ ~octave_base_magic_int()

template<typename T >
octave_base_magic_int< T >::~octave_base_magic_int ( )
default

Member Function Documentation

◆ any()

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

Reimplemented from octave_base_value.

Definition at line 81 of file ov-magic-int.h.

◆ array_value()

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

Reimplemented from octave_base_value.

Definition at line 167 of file ov-magic-int.h.

◆ as_double()

template<typename T >
octave_value octave_base_magic_int< T >::as_double
virtual

Reimplemented from octave_base_value.

Definition at line 107 of file ov-magic-int.cc.

◆ as_int16()

template<typename T >
octave_value octave_base_magic_int< T >::as_int16
virtual

Reimplemented from octave_base_value.

Definition at line 128 of file ov-magic-int.cc.

◆ as_int32()

template<typename T >
octave_value octave_base_magic_int< T >::as_int32
virtual

Reimplemented from octave_base_value.

Definition at line 135 of file ov-magic-int.cc.

◆ as_int64()

template<typename T >
octave_value octave_base_magic_int< T >::as_int64
virtual

Reimplemented from octave_base_value.

Definition at line 142 of file ov-magic-int.cc.

◆ as_int8()

template<typename T >
octave_value octave_base_magic_int< T >::as_int8
virtual

Reimplemented from octave_base_value.

Definition at line 121 of file ov-magic-int.cc.

◆ as_mxArray()

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

Reimplemented from octave_base_value.

Definition at line 289 of file ov-magic-int.cc.

References octave_value::as_mxArray().

◆ as_single()

template<typename T >
octave_value octave_base_magic_int< T >::as_single
virtual

Reimplemented from octave_base_value.

Definition at line 114 of file ov-magic-int.cc.

◆ as_uint16()

template<typename T >
octave_value octave_base_magic_int< T >::as_uint16
virtual

Reimplemented from octave_base_value.

Definition at line 156 of file ov-magic-int.cc.

◆ as_uint32()

template<typename T >
octave_value octave_base_magic_int< T >::as_uint32
virtual

Reimplemented from octave_base_value.

Definition at line 163 of file ov-magic-int.cc.

◆ as_uint64()

template<typename T >
octave_value octave_base_magic_int< T >::as_uint64
virtual

Reimplemented from octave_base_value.

Definition at line 170 of file ov-magic-int.cc.

◆ as_uint8()

template<typename T >
octave_value octave_base_magic_int< T >::as_uint8
virtual

Reimplemented from octave_base_value.

Definition at line 149 of file ov-magic-int.cc.

◆ bool_array_value()

template<typename T >
boolNDArray octave_base_magic_int< T >::bool_array_value ( bool  warn = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 218 of file ov-magic-int.h.

References warn_logical_conversion().

◆ bool_value()

template<typename T >
bool octave_base_magic_int< T >::bool_value ( bool  warn = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 210 of file ov-magic-int.h.

References warn_logical_conversion().

◆ builtin_type()

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

Reimplemented from octave_base_value.

Definition at line 83 of file ov-magic-int.h.

References btyp_double.

◆ char_array_value()

template<typename T >
charNDArray octave_base_magic_int< T >::char_array_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 203 of file ov-magic-int.h.

◆ complex_array_value()

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

Reimplemented from octave_base_value.

Definition at line 193 of file ov-magic-int.h.

◆ complex_matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 187 of file ov-magic-int.h.

◆ complex_value()

template<typename T >
Complex octave_base_magic_int< T >::complex_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 182 of file ov-magic-int.h.

◆ convert_to_str_internal()

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

Reimplemented from octave_base_value.

Definition at line 186 of file ov-magic-int.cc.

References max(), octave_value(), and warning().

◆ decrement()

template<typename T >
void octave_base_magic_int< T >::decrement ( )
inline

Definition at line 250 of file ov-magic-int.h.

◆ diag()

template<typename T >
octave_value octave_base_magic_int< T >::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
virtual

Reimplemented from octave_base_value.

Definition at line 177 of file ov-magic-int.cc.

◆ do_index_op()

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

Reimplemented from octave_base_value.

Definition at line 79 of file ov-magic-int.cc.

References octave_value::index_op().

◆ double_value()

template<typename T >
double octave_base_magic_int< T >::double_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 147 of file ov-magic-int.h.

◆ empty_clone()

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

Reimplemented from octave_base_value.

Definition at line 66 of file ov-magic-int.h.

◆ float_array_value()

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

Reimplemented from octave_base_value.

Definition at line 170 of file ov-magic-int.h.

◆ float_complex_array_value()

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

Reimplemented from octave_base_value.

Definition at line 196 of file ov-magic-int.h.

◆ float_complex_matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 190 of file ov-magic-int.h.

◆ float_complex_value()

template<typename T >
FloatComplex octave_base_magic_int< T >::float_complex_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 184 of file ov-magic-int.h.

◆ float_matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 164 of file ov-magic-int.h.

◆ float_scalar_value()

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

Reimplemented from octave_base_value.

Definition at line 158 of file ov-magic-int.h.

◆ float_value()

template<typename T >
float octave_base_magic_int< T >::float_value ( bool  = false) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 152 of file ov-magic-int.h.

◆ increment()

template<typename T >
void octave_base_magic_int< T >::increment ( )
inline

Definition at line 248 of file ov-magic-int.h.

◆ index_vector()

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

Reimplemented from octave_base_value.

Definition at line 89 of file ov-magic-int.cc.

References octave_value::index_vector().

◆ int16_array_value()

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

Reimplemented from octave_base_value.

Definition at line 102 of file ov-magic-int.h.

◆ int16_scalar_value()

template<typename T >
octave_int16 octave_base_magic_int< T >::int16_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 126 of file ov-magic-int.h.

◆ int32_array_value()

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

Reimplemented from octave_base_value.

Definition at line 105 of file ov-magic-int.h.

◆ int32_scalar_value()

template<typename T >
octave_int32 octave_base_magic_int< T >::int32_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 129 of file ov-magic-int.h.

◆ int64_array_value()

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

Reimplemented from octave_base_value.

Definition at line 108 of file ov-magic-int.h.

◆ int64_scalar_value()

template<typename T >
octave_int64 octave_base_magic_int< T >::int64_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 132 of file ov-magic-int.h.

◆ int8_array_value()

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

Reimplemented from octave_base_value.

Definition at line 99 of file ov-magic-int.h.

◆ int8_scalar_value()

template<typename T >
octave_int8 octave_base_magic_int< T >::int8_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 123 of file ov-magic-int.h.

◆ is_double_type()

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

Reimplemented from octave_base_value.

Definition at line 95 of file ov-magic-int.h.

◆ is_magic_int()

template<typename T >
bool octave_base_magic_int< T >::is_magic_int ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 87 of file ov-magic-int.h.

◆ is_real_scalar()

template<typename T >
bool octave_base_magic_int< T >::is_real_scalar ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 91 of file ov-magic-int.h.

◆ is_storable()

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

Reimplemented from octave_base_value.

Definition at line 85 of file ov-magic-int.h.

◆ isfloat()

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

Reimplemented from octave_base_value.

Definition at line 97 of file ov-magic-int.h.

◆ isreal()

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

Reimplemented from octave_base_value.

Definition at line 93 of file ov-magic-int.h.

◆ load_ascii()

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

Reimplemented from octave_base_value.

Definition at line 220 of file ov-magic-int.cc.

References error().

◆ load_binary()

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

Reimplemented from octave_base_value.

Definition at line 236 of file ov-magic-int.cc.

◆ load_hdf5()

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

Reimplemented from octave_base_value.

Definition at line 270 of file ov-magic-int.cc.

◆ map()

template<typename T >
octave_value octave_base_magic_int< T >::map ( octave_base_value::unary_mapper_t  umap) const
virtual

Reimplemented from octave_base_value.

Definition at line 298 of file ov-magic-int.cc.

References octave_value::map().

◆ matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 161 of file ov-magic-int.h.

◆ resize()

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

Reimplemented from octave_base_value.

Definition at line 98 of file ov-magic-int.cc.

References octave_value::resize().

◆ save_ascii()

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

Reimplemented from octave_base_value.

Definition at line 211 of file ov-magic-int.cc.

References octave_value::save_ascii().

◆ save_binary()

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

Reimplemented from octave_base_value.

Definition at line 227 of file ov-magic-int.cc.

◆ save_hdf5()

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

Reimplemented from octave_base_value.

Definition at line 244 of file ov-magic-int.cc.

◆ scalar_ref() [1/2]

template<typename T >
T& octave_base_magic_int< T >::scalar_ref ( )
inline

Definition at line 74 of file ov-magic-int.h.

◆ scalar_ref() [2/2]

template<typename T >
const T& octave_base_magic_int< T >::scalar_ref ( ) const
inline

Definition at line 72 of file ov-magic-int.h.

◆ scalar_value()

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

Reimplemented from octave_base_value.

Definition at line 155 of file ov-magic-int.h.

◆ sparse_complex_matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 177 of file ov-magic-int.h.

◆ sparse_matrix_value()

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

Reimplemented from octave_base_value.

Definition at line 173 of file ov-magic-int.h.

◆ uint16_array_value()

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

Reimplemented from octave_base_value.

Definition at line 114 of file ov-magic-int.h.

◆ uint16_scalar_value()

template<typename T >
octave_uint16 octave_base_magic_int< T >::uint16_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 138 of file ov-magic-int.h.

◆ uint32_array_value()

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

Reimplemented from octave_base_value.

Definition at line 117 of file ov-magic-int.h.

◆ uint32_scalar_value()

template<typename T >
octave_uint32 octave_base_magic_int< T >::uint32_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 141 of file ov-magic-int.h.

◆ uint64_array_value()

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

Reimplemented from octave_base_value.

Definition at line 120 of file ov-magic-int.h.

◆ uint64_scalar_value()

template<typename T >
octave_uint64 octave_base_magic_int< T >::uint64_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 144 of file ov-magic-int.h.

◆ uint8_array_value()

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

Reimplemented from octave_base_value.

Definition at line 111 of file ov-magic-int.h.

◆ uint8_scalar_value()

template<typename T >
octave_uint8 octave_base_magic_int< T >::uint8_scalar_value ( ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 135 of file ov-magic-int.h.

◆ vm_need_storable_call()

template<typename T >
bool octave_base_magic_int< T >::vm_need_storable_call ( ) const
inline

Definition at line 89 of file ov-magic-int.h.

◆ write()

template<typename T >
int octave_base_magic_int< 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 265 of file ov-magic-int.h.

References octave_value_list::array_value().


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