GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave_diag_matrix Class Referenceabstract

#include "ov-re-diag.h"

Inheritance diagram for octave_diag_matrix:
Collaboration diagram for octave_diag_matrix:

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

 octave_diag_matrix (const DiagMatrix &m)
 
 octave_diag_matrix (const octave_diag_matrix &m)
 
 octave_diag_matrix (void)
 
 ~octave_diag_matrix (void)=default
 
octave_value all (int dim=0) const
 
octave_value any (int dim=0) const
 
NDArray array_value (bool=false) const
 
octave_value as_double (void) const
 
octave_value as_int16 (void) const
 
octave_value as_int32 (void) const
 
octave_value as_int64 (void) const
 
octave_value as_int8 (void) const
 
mxArrayas_mxArray (void) const
 
octave_value as_single (void) const
 
octave_value as_uint16 (void) const
 
octave_value as_uint32 (void) const
 
octave_value as_uint64 (void) const
 
octave_value as_uint8 (void) const
 
virtual void assign (const std::string &, const octave_value &)
 
boolNDArray bool_array_value (bool warn=false) const
 
virtual boolMatrix bool_matrix_value (bool=false) const
 
virtual bool bool_value (bool=false) const
 
builtin_type_t builtin_type (void) const
 
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
 
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
 
ComplexDiagMatrix complex_diag_matrix_value (bool=false) const
 
ComplexMatrix complex_matrix_value (bool=false) const
 
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
 
octave_value convert_to_str_internal (bool pad, bool force, char type) const
 
virtual octave_value diag (octave_idx_type k=0) const
 
octave_value diag (octave_idx_type k=0) const
 
virtual octave_value diag (octave_idx_type m, octave_idx_type n) const
 
virtual octave_value diag (octave_idx_type m, octave_idx_type n) const
 
DiagMatrix diag_matrix_value (bool=false) const
 
dim_vector dims (void) const
 
octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
 
double double_value (bool=false) const
 
virtual octave_value dump (void) const
 
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)
 
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
 
FloatComplexDiagMatrix float_complex_diag_matrix_value (bool=false) const
 
FloatComplexMatrix float_complex_matrix_value (bool=false) const
 
FloatComplex float_complex_value (bool=false) const
 
FloatDiagMatrix float_diag_matrix_value (bool=false) const
 
FloatMatrix float_matrix_value (bool=false) const
 
virtual float float_scalar_value (bool frc_str_conv=false) const
 
float float_value (bool=false) const
 
octave_value full_value (void) const
 
virtual octave_functionfunction_value (bool silent=false)
 
float_display_format get_edit_display_format (void) const
 
void grab (void)
 
idx_vector index_vector (bool=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
 
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
 
virtual bool is_int16_type (void) const
 
virtual bool is_int32_type (void) const
 
virtual bool is_int64_type (void) const
 
virtual bool is_int8_type (void) const
 
virtual bool is_magic_colon (void) const
 
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
 
virtual bool is_range (void) const
 
bool is_real_matrix (void) const
 
virtual bool is_real_scalar (void) const
 
virtual bool is_scalar_type (void) const
 
virtual bool is_single_type (void) const
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
virtual bool is_sq_string (void) const
 
virtual bool is_string (void) const
 
bool is_true (void) const
 
virtual bool is_uint16_type (void) const
 
virtual bool is_uint32_type (void) const
 
virtual bool is_uint64_type (void) const
 
virtual 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
 
bool isfloat (void) const
 
virtual 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
 
bool load_ascii (std::istream &is)
 
bool load_binary (std::istream &is, bool swap, octave::mach_info::float_format fmt)
 
virtual 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
 
MatrixType matrix_type (const MatrixType &) const
 
MatrixType matrix_type (void) const
 
Matrix matrix_value (bool=false) const
 
virtual void maybe_economize (void)
 
virtual void * mex_get_data (void) const
 
virtual octave_idx_typemex_get_ir (void) const
 
virtual 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
 
virtual size_t nparents (void) const
 
virtual octave_idx_type numel (void) const
 
type_conv_info numeric_conversion_function (void) const
 
type_conv_info numeric_demotion_function (void) const
 
virtual octave_idx_type nzmax (void) const
 
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
 
void print (std::ostream &os, bool pr_as_read_syntax=false)
 
bool print_as_scalar (void) const
 
void print_info (std::ostream &os, const std::string &prefix) const
 
virtual 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
 
virtual void print_with_name (std::ostream &output_buf, const std::string &name, bool print_padding=true)
 
virtual Range range_value (void) const
 
void release (void)
 
octave_value reshape (const dim_vector &new_dims) const
 
octave_value resize (const dim_vector &dv, bool fill=false) const
 
octave_idx_type rows (void) const
 
bool save_ascii (std::ostream &os)
 
bool save_binary (std::ostream &os, bool save_as_floats)
 
virtual bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
 
virtual octave_scalar_map scalar_map_value (void) const
 
double scalar_value (bool frc_str_conv=false) const
 
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 mode=ASCENDING) 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
 
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)
 
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

virtual bool chk_valid_scalar (const octave_value &, typename DMT::element_type &) const=0
 
int current_print_indent_level (void) const
 
void decrement_indent_level (void) const
 
void increment_indent_level (void) 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 (void) const
 
void reset_indent_level (void) const
 
octave_value to_dense (void) const
 
void warn_load (const char *type) const
 
void warn_save (const char *type) const
 

Static Protected Member Functions

static const char * get_umap_name (unary_mapper_t)
 

Protected Attributes

octave::refcount< octave_idx_typecount
 
DiagMatrix matrix
 

Private Member Functions

bool chk_valid_scalar (const octave_value &, double &) const
 
void wrong_type_arg_error (void) const
 

Private Attributes

octave_value dense_cache
 

Static Private Attributes

static bool beginning_of_line = true
 
static const std::string c_name
 
static int curr_print_indent_level = 0
 
static int t_id
 
static const std::string t_name
 

Detailed Description

Definition at line 38 of file ov-re-diag.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 207 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 727 of file ov-base.h.

Constructor & Destructor Documentation

◆ octave_diag_matrix() [1/3]

octave_diag_matrix::octave_diag_matrix ( void  )
inline

Definition at line 45 of file ov-re-diag.h.

◆ octave_diag_matrix() [2/3]

octave_diag_matrix::octave_diag_matrix ( const DiagMatrix m)
inline

Definition at line 48 of file ov-re-diag.h.

◆ octave_diag_matrix() [3/3]

octave_diag_matrix::octave_diag_matrix ( const octave_diag_matrix m)
inline

Definition at line 51 of file ov-re-diag.h.

◆ ~octave_diag_matrix()

octave_diag_matrix::~octave_diag_matrix ( void  )
default

Member Function Documentation

◆ all()

octave_value octave_base_diag< DiagMatrix , Matrix >::all ( int  dim = 0) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 108 of file ov-base-diag.h.

◆ any()

octave_value octave_base_diag< DiagMatrix , Matrix >::any ( int  dim = 0) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 109 of file ov-base-diag.h.

◆ array_value()

NDArray octave_base_diag< DiagMatrix , Matrix >::array_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 178 of file ov-base-diag.cc.

◆ as_double()

octave_value octave_diag_matrix::as_double ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 164 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix.

◆ as_int16()

octave_value octave_diag_matrix::as_int16 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 182 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::int16_array_value().

◆ as_int32()

octave_value octave_diag_matrix::as_int32 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 188 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::int32_array_value().

◆ as_int64()

octave_value octave_diag_matrix::as_int64 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 194 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::int64_array_value().

◆ as_int8()

octave_value octave_diag_matrix::as_int8 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 176 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::int8_array_value().

◆ as_mxArray()

mxArray * octave_base_diag< DiagMatrix , Matrix >::as_mxArray ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 227 of file ov-base-diag.cc.

◆ as_single()

octave_value octave_diag_matrix::as_single ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 170 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix.

◆ as_uint16()

octave_value octave_diag_matrix::as_uint16 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 206 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::uint16_array_value().

◆ as_uint32()

octave_value octave_diag_matrix::as_uint32 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 212 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::uint32_array_value().

◆ as_uint64()

octave_value octave_diag_matrix::as_uint64 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 218 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::uint64_array_value().

◆ as_uint8()

octave_value octave_diag_matrix::as_uint8 ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 200 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::uint8_array_value().

◆ assign()

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

Reimplemented in octave_class.

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

◆ bool_array_value()

boolNDArray octave_base_diag< DiagMatrix , Matrix >::bool_array_value ( bool  warn = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 174 of file ov-base-diag.cc.

◆ bool_matrix_value()

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

◆ bool_value()

bool octave_base_value::bool_value ( bool  = false) const
virtualinherited

◆ builtin_type()

builtin_type_t octave_diag_matrix::builtin_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 70 of file ov-re-diag.h.

References btyp_double.

◆ byte_size()

size_t octave_base_diag< DiagMatrix , Matrix >::byte_size ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 64 of file ov-base-diag.h.

◆ call_object_destructor()

virtual void octave_base_value::call_object_destructor ( void  )
inlinevirtualinherited

Reimplemented in octave_oncleanup.

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

◆ cell_value()

Cell octave_base_value::cell_value ( void  ) const
virtualinherited

Reimplemented in octave_cell.

Definition at line 535 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 809 of file ov-base.cc.

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

◆ char_array_value()

charNDArray octave_base_diag< DiagMatrix , Matrix >::char_array_value ( bool  warn = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 176 of file ov-base-diag.cc.

◆ char_matrix_value()

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

Reimplemented in octave_char_matrix.

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

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

◆ chk_valid_scalar() [1/2]

bool octave_diag_matrix::chk_valid_scalar ( const octave_value val,
double &  x 
) const
private

Definition at line 312 of file ov-re-diag.cc.

References octave_value::double_value(), octave_value::is_real_scalar(), retval, and x.

◆ chk_valid_scalar() [2/2]

virtual bool octave_base_diag< DiagMatrix , Matrix >::chk_valid_scalar ( const octave_value ,
typename DMT::element_type &   
) const
protectedpure virtualinherited

◆ class_name()

std::string octave_diag_matrix::class_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 113 of file ov-re-diag.h.

◆ classdef_object_value()

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

Reimplemented in octave_classdef.

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

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

◆ clone()

octave_base_value* octave_diag_matrix::clone ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 56 of file ov-re-diag.h.

◆ columns()

octave_idx_type octave_base_value::columns ( void  ) const
inlineinherited

Definition at line 325 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(), octave::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()

ComplexNDArray octave_base_diag< DiagMatrix , Matrix >::complex_array_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 170 of file ov-base-diag.cc.

◆ complex_diag_matrix_value()

ComplexDiagMatrix octave_diag_matrix::complex_diag_matrix_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

Definition at line 152 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix.

◆ complex_matrix_value()

ComplexMatrix octave_base_diag< DiagMatrix , Matrix >::complex_matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 166 of file ov-base-diag.cc.

◆ complex_value()

Complex octave_base_diag< DiagMatrix , Matrix >::complex_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 162 of file ov-base-diag.cc.

◆ convert_to_row_or_column_vector()

void octave_base_value::convert_to_row_or_column_vector ( void  )
virtualinherited

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

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

◆ convert_to_str()

◆ convert_to_str_internal()

octave_value octave_base_diag< DiagMatrix , Matrix >::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 210 of file ov-base-diag.cc.

◆ current_print_indent_level()

◆ decrement_indent_level()

void octave_base_value::decrement_indent_level ( void  ) const
inlineprotectedinherited

◆ diag() [1/4]

octave_value octave_base_value::diag
inherited

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

◆ diag() [2/4]

octave_value octave_base_diag< DiagMatrix , Matrix >::diag ( octave_idx_type  k = 0) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 120 of file ov-base-diag.cc.

◆ diag() [3/4]

octave_value octave_base_value::diag
inherited

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

◆ diag() [4/4]

◆ diag_matrix_value()

◆ dims()

dim_vector octave_base_diag< DiagMatrix , Matrix >::dims ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 89 of file ov-base-diag.h.

◆ do_index_op()

◆ double_value()

double octave_base_diag< DiagMatrix , Matrix >::double_value ( bool  force_conversion = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 149 of file ov-base-diag.cc.

◆ dump()

octave_value octave_base_value::dump ( void  ) const
virtualinherited

◆ edit_display()

std::string octave_base_diag< DiagMatrix , Matrix >::edit_display ( const float_display_format fmt,
octave_idx_type  i,
octave_idx_type  j 
) const
virtualinherited

Reimplemented from octave_base_value.

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

◆ empty_clone()

octave_base_value* octave_diag_matrix::empty_clone ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 58 of file ov-re-diag.h.

◆ erase_subfunctions()

virtual void octave_base_value::erase_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

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

◆ fast_elem_extract()

octave_value octave_base_diag< DiagMatrix , Matrix >::fast_elem_extract ( octave_idx_type  n) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 237 of file ov-base-diag.cc.

◆ 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 909 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()

FloatNDArray octave_base_diag< DiagMatrix , Matrix >::float_array_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 180 of file ov-base-diag.cc.

◆ float_complex_array_value()

FloatComplexNDArray octave_base_diag< DiagMatrix , Matrix >::float_complex_array_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 172 of file ov-base-diag.cc.

◆ float_complex_diag_matrix_value()

FloatComplexDiagMatrix octave_diag_matrix::float_complex_diag_matrix_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

Definition at line 158 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix.

◆ float_complex_matrix_value()

FloatComplexMatrix octave_base_diag< DiagMatrix , Matrix >::float_complex_matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 168 of file ov-base-diag.cc.

◆ float_complex_value()

FloatComplex octave_base_diag< DiagMatrix , Matrix >::float_complex_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 164 of file ov-base-diag.cc.

◆ float_diag_matrix_value()

FloatDiagMatrix octave_diag_matrix::float_diag_matrix_value ( bool  = false) const
virtual

Reimplemented from octave_base_value.

Definition at line 146 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix.

Referenced by default_numeric_demotion_function().

◆ float_matrix_value()

FloatMatrix octave_base_diag< DiagMatrix , Matrix >::float_matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 160 of file ov-base-diag.cc.

◆ float_scalar_value()

virtual float octave_base_value::float_scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited

◆ float_value()

float octave_base_diag< DiagMatrix , Matrix >::float_value ( bool  force_conversion = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 151 of file ov-base-diag.cc.

◆ full_value()

octave_value octave_base_diag< DiagMatrix , Matrix >::full_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 68 of file ov-base-diag.h.

◆ function_value()

◆ get_edit_display_format()

float_display_format octave_base_diag< DiagMatrix , Matrix >::get_edit_display_format ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 214 of file ov-base-diag.cc.

◆ get_umap_name()

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

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

References octave_base_value::num_unary_mappers.

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

◆ grab()

◆ increment_indent_level()

void octave_base_value::increment_indent_level ( void  ) const
inlineprotectedinherited

◆ indent()

◆ index_vector()

idx_vector octave_base_diag< DiagMatrix , Matrix >::index_vector ( bool  require_integers = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 156 of file ov-base-diag.cc.

◆ int16_array_value()

int16NDArray octave_base_diag< DiagMatrix , Matrix >::int16_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 190 of file ov-base-diag.h.

◆ int16_scalar_value()

octave_int16 octave_base_value::int16_scalar_value ( void  ) const
virtualinherited

◆ int32_array_value()

int32NDArray octave_base_diag< DiagMatrix , Matrix >::int32_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 193 of file ov-base-diag.h.

◆ int32_scalar_value()

octave_int32 octave_base_value::int32_scalar_value ( void  ) const
virtualinherited

Reimplemented in octave_scalar, octave_uint64_scalar, octave_float_scalar, and octave_bool.

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

◆ int64_array_value()

int64NDArray octave_base_diag< DiagMatrix , Matrix >::int64_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 196 of file ov-base-diag.h.

◆ int64_scalar_value()

octave_int64 octave_base_value::int64_scalar_value ( void  ) const
virtualinherited

◆ int64_value()

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

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

◆ int8_array_value()

int8NDArray octave_base_diag< DiagMatrix , Matrix >::int8_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 187 of file ov-base-diag.h.

◆ int8_scalar_value()

octave_int8 octave_base_value::int8_scalar_value ( void  ) const
virtualinherited

◆ int_value()

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

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

◆ is_all_va_args()

virtual bool octave_base_value::is_all_va_args ( void  ) const
inlinevirtualinherited

Definition at line 407 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 463 of file ov-base.h.

Referenced by octave::stack_frame::fcn_name(), and octave::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 375 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 373 of file ov-base.h.

◆ is_builtin_function()

virtual bool octave_base_value::is_builtin_function ( void  ) const
inlinevirtualinherited

◆ is_char_matrix()

virtual bool octave_base_value::is_char_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix.

Definition at line 377 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 393 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 397 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 395 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 369 of file ov-base.h.

◆ is_constant()

bool octave_base_diag< DiagMatrix , Matrix >::is_constant ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 143 of file ov-base-diag.h.

◆ is_cs_list()

virtual bool octave_base_value::is_cs_list ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cs_list.

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

◆ is_defined()

bool octave_base_diag< DiagMatrix , Matrix >::is_defined ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 141 of file ov-base-diag.h.

◆ is_diag_matrix()

bool octave_base_diag< DiagMatrix , Matrix >::is_diag_matrix ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 147 of file ov-base-diag.h.

◆ is_dld_function()

virtual bool octave_base_value::is_dld_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_dld_function.

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

Referenced by get_current_shlib().

◆ is_double_type()

bool octave_diag_matrix::is_double_type ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 76 of file ov-re-diag.h.

◆ is_function()

virtual bool octave_base_value::is_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_function.

Definition at line 467 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 461 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 465 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 618 of file ov-base.h.

◆ is_int16_type()

virtual bool octave_base_value::is_int16_type ( void  ) const
inlinevirtualinherited

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

◆ is_int32_type()

virtual bool octave_base_value::is_int32_type ( void  ) const
inlinevirtualinherited

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

◆ is_int64_type()

virtual bool octave_base_value::is_int64_type ( void  ) const
inlinevirtualinherited

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

◆ is_int8_type()

virtual bool octave_base_value::is_int8_type ( void  ) const
inlinevirtualinherited

Definition at line 421 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 405 of file ov-base.h.

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

◆ is_matrix_type()

bool octave_base_diag< DiagMatrix , Matrix >::is_matrix_type ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 137 of file ov-base-diag.h.

◆ is_mex_function()

virtual bool octave_base_value::is_mex_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function.

Definition at line 479 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 399 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 381 of file ov-base.h.

◆ is_range()

virtual bool octave_base_value::is_range ( void  ) const
inlinevirtualinherited

Reimplemented in octave_range.

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

◆ is_real_matrix()

bool octave_diag_matrix::is_real_matrix ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 72 of file ov-re-diag.h.

◆ 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()

virtual bool octave_base_value::is_single_type ( void  ) const
inlinevirtualinherited

◆ is_sorted_rows()

sortmode octave_base_diag< DiagMatrix , Matrix >::is_sorted_rows ( sortmode  mode = UNSORTED) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 134 of file ov-base-diag.h.

◆ is_sq_string()

virtual bool octave_base_value::is_sq_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_sq_str.

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

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

◆ is_string()

virtual bool octave_base_value::is_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_str.

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

Referenced by octave_class::string_vector_value().

◆ is_true()

bool octave_base_diag< DiagMatrix , Matrix >::is_true ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 145 of file ov-base-diag.cc.

◆ is_uint16_type()

virtual bool octave_base_value::is_uint16_type ( void  ) const
inlinevirtualinherited

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

◆ is_uint32_type()

virtual bool octave_base_value::is_uint32_type ( void  ) const
inlinevirtualinherited

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

◆ is_uint64_type()

virtual bool octave_base_value::is_uint64_type ( void  ) const
inlinevirtualinherited

Reimplemented in octave_uint64_scalar, and octave_uint64_matrix.

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

◆ is_uint8_type()

virtual bool octave_base_value::is_uint8_type ( void  ) const
inlinevirtualinherited

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

◆ 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 471 of file ov-base.h.

Referenced by octave::find_fcn_by_line(), and octave::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 469 of file ov-base.h.

◆ is_zero_by_zero()

bool octave_base_value::is_zero_by_zero ( void  ) const
inlineinherited

Definition at line 359 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 361 of file ov-base.h.

◆ iscellstr()

virtual bool octave_base_value::iscellstr ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

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

◆ iscomplex()

virtual bool octave_base_value::iscomplex ( void  ) const
inlinevirtualinherited

◆ isempty()

◆ isfloat()

bool octave_diag_matrix::isfloat ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 78 of file ov-re-diag.h.

◆ isinteger()

virtual bool octave_base_value::isinteger ( void  ) const
inlinevirtualinherited

Reimplemented in octave_uint64_scalar, and octave_uint64_matrix.

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

◆ isjava()

virtual bool octave_base_value::isjava ( void  ) const
inlinevirtualinherited

Reimplemented in octave_java.

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

◆ islocked()

virtual bool octave_base_value::islocked ( void  ) const
inlinevirtualinherited

Reimplemented in octave_function.

Definition at line 720 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 437 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 457 of file ov-base.h.

◆ isnumeric()

bool octave_base_diag< DiagMatrix , Matrix >::isnumeric ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 139 of file ov-base-diag.h.

◆ isobject()

virtual bool octave_base_value::isobject ( void  ) const
inlinevirtualinherited

Reimplemented in octave_oncleanup, octave_classdef, and octave_class.

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

Referenced by oct_binop_default().

◆ isreal()

bool octave_diag_matrix::isreal ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 74 of file ov-re-diag.h.

◆ issorted()

sortmode octave_base_diag< DiagMatrix , Matrix >::issorted ( sortmode  mode = UNSORTED) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 128 of file ov-base-diag.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 389 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 918 of file ov-base.cc.

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

◆ load_ascii()

bool octave_base_diag< DiagMatrix , Matrix >::load_ascii ( std::istream &  is)
virtualinherited

Reimplemented from octave_base_value.

Definition at line 221 of file ov-base-diag.cc.

◆ load_binary()

bool octave_diag_matrix::load_binary ( std::istream &  is,
bool  swap,
octave::mach_info::float_format  fmt 
)
virtual

Reimplemented from octave_base_value.

Definition at line 283 of file ov-re-diag.cc.

References len, m, octave_base_diag< DiagMatrix, Matrix >::matrix, r, read_doubles(), and swap_bytes< 4 >().

◆ load_hdf5()

◆ lock()

void octave_base_value::lock ( void  )
virtualinherited

Reimplemented in octave_function.

Definition at line 1120 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 496 of file ov-base.cc.

◆ 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]

MatrixType octave_base_diag< DiagMatrix , Matrix >::matrix_type ( const MatrixType ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 112 of file ov-base-diag.h.

◆ matrix_type() [2/2]

MatrixType octave_base_diag< DiagMatrix , Matrix >::matrix_type ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 111 of file ov-base-diag.h.

◆ matrix_value()

Matrix octave_base_diag< DiagMatrix , Matrix >::matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 158 of file ov-base-diag.cc.

◆ maybe_economize()

◆ mex_get_data()

◆ mex_get_ir()

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

◆ mex_get_jc()

virtual 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 329 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 503 of file ov-base.cc.

References d, err_wrong_type_arg(), error(), octave::math::fix(), and octave::math::isnan().

◆ nnz()

octave_idx_type octave_base_diag< DiagMatrix , Matrix >::nnz ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 91 of file ov-base-diag.h.

◆ nparents()

size_t octave_base_value::nparents ( void  ) const
virtualinherited

Reimplemented in octave_class.

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

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

◆ numel()

◆ numeric_assign()

◆ numeric_conversion_function()

octave_base_value::type_conv_info octave_diag_matrix::numeric_conversion_function ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 54 of file ov-re-diag.cc.

References default_numeric_conversion_function(), and octave_matrix::static_type_id().

◆ numeric_demotion_function()

octave_base_value::type_conv_info octave_diag_matrix::numeric_demotion_function ( void  ) const
virtual

◆ nzmax()

octave_idx_type octave_base_value::nzmax ( void  ) const
virtualinherited

◆ 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 850 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 857 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()

octave_value octave_base_diag< DiagMatrix , Matrix >::permute ( const Array< int > &  vec,
bool  inv = false 
) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 96 of file ov-base-diag.h.

◆ print()

void octave_base_diag< DiagMatrix , Matrix >::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
)
virtualinherited

Reimplemented from octave_base_value.

Definition at line 231 of file ov-base-diag.cc.

◆ print_as_scalar()

bool octave_base_diag< DiagMatrix , Matrix >::print_as_scalar ( void  ) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 229 of file ov-base-diag.cc.

◆ print_info()

void octave_base_diag< DiagMatrix , Matrix >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 233 of file ov-base-diag.cc.

◆ print_name_tag()

◆ print_raw()

void octave_base_diag< DiagMatrix , Matrix >::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 212 of file ov-base-diag.cc.

◆ 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()

Range octave_base_value::range_value ( void  ) const
virtualinherited

Reimplemented in octave_range.

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

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

Referenced by octave::octave_jit_cast_range_any().

◆ register_type() [1/2]

void octave_diag_matrix::register_type ( octave::type_info ti)
static

Definition at line 43 of file ov-re-diag.cc.

◆ register_type() [2/2]

void octave_diag_matrix::register_type ( void  )
static

Definition at line 43 of file ov-re-diag.cc.

Referenced by install_types().

◆ release()

◆ 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 838 of file ov-base.h.

◆ reshape()

octave_value octave_base_diag< DiagMatrix , Matrix >::reshape ( const dim_vector new_dims) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 93 of file ov-base-diag.h.

◆ resize()

octave_value octave_base_diag< DiagMatrix , Matrix >::resize ( const dim_vector dv,
bool  fill = false 
) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 106 of file ov-base-diag.cc.

◆ rows()

octave_idx_type octave_base_value::rows ( void  ) const
inlineinherited

Definition at line 318 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(), octave::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()

bool octave_base_diag< DiagMatrix , Matrix >::save_ascii ( std::ostream &  os)
virtualinherited

Reimplemented from octave_base_value.

Definition at line 219 of file ov-base-diag.cc.

◆ save_binary()

bool octave_diag_matrix::save_binary ( std::ostream &  os,
bool  save_as_floats 
)
virtual

◆ save_hdf5()

◆ scalar_map_value()

octave_scalar_map octave_base_value::scalar_map_value ( void  ) const
virtualinherited

◆ scalar_value()

double octave_base_diag< DiagMatrix , Matrix >::scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 153 of file ov-base-diag.h.

◆ short_disp()

void octave_base_diag< DiagMatrix , Matrix >::short_disp ( std::ostream &  os) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 235 of file ov-base-diag.cc.

◆ short_value()

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

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

◆ size()

Matrix octave_base_value::size ( void  )
virtualinherited

Reimplemented in octave_classdef, and octave_class.

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

References octave_base_value::dims(), and dim_vector::ndims().

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

◆ sort() [1/2]

octave_value octave_base_diag< DiagMatrix , Matrix >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 124 of file ov-base-diag.h.

◆ sort() [2/2]

octave_value octave_base_diag< DiagMatrix , Matrix >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 122 of file ov-base-diag.h.

◆ sort_rows_idx()

Array<octave_idx_type> octave_base_diag< DiagMatrix , Matrix >::sort_rows_idx ( sortmode  mode = ASCENDING) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 131 of file ov-base-diag.h.

◆ sparse_bool_matrix_value()

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

◆ sparse_complex_matrix_value()

SparseComplexMatrix octave_base_diag< DiagMatrix , Matrix >::sparse_complex_matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

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

◆ sparse_matrix_value()

SparseMatrix octave_base_diag< DiagMatrix , Matrix >::sparse_matrix_value ( bool  = false) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 182 of file ov-base-diag.cc.

◆ squeeze()

octave_value octave_base_diag< DiagMatrix , Matrix >::squeeze ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 66 of file ov-base-diag.h.

◆ static_class_name()

static std::string octave_diag_matrix::static_class_name ( void  )
inlinestatic

Definition at line 113 of file ov-re-diag.h.

◆ static_type_id()

static int octave_diag_matrix::static_type_id ( void  )
inlinestatic

Definition at line 113 of file ov-re-diag.h.

◆ static_type_name()

static std::string octave_diag_matrix::static_type_name ( void  )
inlinestatic

Definition at line 113 of file ov-re-diag.h.

◆ string_value()

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

Reimplemented in octave_char_matrix_str.

Definition at line 793 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_diag< DiagMatrix , Matrix >::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

Reimplemented from octave_base_value.

Definition at line 85 of file ov-base-diag.cc.

◆ subsref() [1/6]

octave_value octave_base_value::subsref
inherited

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

◆ subsref() [2/6]

octave_value octave_base_diag< DiagMatrix , Matrix >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
)
virtualinherited

Reimplemented from octave_base_value.

Definition at line 75 of file ov-base-diag.cc.

◆ subsref() [3/6]

octave_value octave_base_value::subsref
inherited

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

◆ subsref() [4/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 217 of file ov-base.cc.

References octave_base_value::subsref().

◆ subsref() [5/6]

octave_value_list octave_base_value::subsref
inherited

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

◆ subsref() [6/6]

octave_value_list octave_base_diag< DiagMatrix , Matrix >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int   
)
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 78 of file ov-base-diag.h.

◆ to_dense()

octave_value octave_base_diag< DiagMatrix , Matrix >::to_dense ( void  ) const
protectedinherited

Definition at line 243 of file ov-base-diag.cc.

◆ try_narrowing_conversion()

octave_base_value * octave_diag_matrix::try_narrowing_conversion ( void  )
virtual

Reimplemented from octave_base_value.

Definition at line 77 of file ov-re-diag.cc.

References octave_base_diag< DiagMatrix, Matrix >::matrix, DiagArray2< T >::nelem(), and retval.

◆ type_id()

int octave_diag_matrix::type_id ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 113 of file ov-re-diag.h.

◆ type_name()

std::string octave_diag_matrix::type_name ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 113 of file ov-re-diag.h.

◆ uint16_array_value()

uint16NDArray octave_base_diag< DiagMatrix , Matrix >::uint16_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 202 of file ov-base-diag.h.

◆ uint16_scalar_value()

octave_uint16 octave_base_value::uint16_scalar_value ( void  ) const
virtualinherited

◆ uint32_array_value()

uint32NDArray octave_base_diag< DiagMatrix , Matrix >::uint32_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 205 of file ov-base-diag.h.

◆ uint32_scalar_value()

octave_uint32 octave_base_value::uint32_scalar_value ( void  ) const
virtualinherited

◆ uint64_array_value()

uint64NDArray octave_base_diag< DiagMatrix , Matrix >::uint64_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 208 of file ov-base-diag.h.

◆ uint64_scalar_value()

octave_uint64 octave_base_value::uint64_scalar_value ( void  ) const
virtualinherited

◆ uint64_value()

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

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

◆ uint8_array_value()

uint8NDArray octave_base_diag< DiagMatrix , Matrix >::uint8_array_value ( void  ) const
inlinevirtualinherited

Reimplemented from octave_base_value.

Definition at line 199 of file ov-base-diag.h.

◆ uint8_scalar_value()

octave_uint8 octave_base_value::uint8_scalar_value ( void  ) const
virtualinherited

◆ uint_value()

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

Definition at line 494 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 497 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 306 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 248 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 615 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 1126 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 891 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 491 of file ov-base.cc.

◆ warn_load()

◆ warn_save()

◆ write()

int octave_base_diag< DiagMatrix , Matrix >::write ( octave::stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
octave::mach_info::float_format  flt_fmt 
) const
virtualinherited

Reimplemented from octave_base_value.

Definition at line 223 of file ov-base-diag.cc.

◆ wrong_type_arg_error()

void octave_base_value::wrong_type_arg_error ( void  ) const
privateinherited

Definition at line 1108 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 195 of file ov-base.cc.

References octave_base_value::dims(), and octave::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 801 of file ov-base.cc.

References octave_base_value::wrong_type_arg_error().

Member Data Documentation

◆ beginning_of_line

bool octave_base_value::beginning_of_line = true
staticprivateinherited

◆ c_name

const std::string octave_diag_matrix::c_name
staticprivate

Definition at line 113 of file ov-re-diag.h.

◆ count

◆ curr_print_indent_level

int octave_base_value::curr_print_indent_level = 0
staticprivateinherited

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

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

◆ dense_cache

octave_value octave_base_diag< DiagMatrix , Matrix >::dense_cache
mutableprivateinherited

Definition at line 250 of file ov-base-diag.h.

◆ matrix

DiagMatrix octave_base_diag< DiagMatrix , Matrix >::matrix
protectedinherited

Definition at line 241 of file ov-base-diag.h.

◆ t_id

int octave_diag_matrix::t_id
staticprivate

Definition at line 113 of file ov-re-diag.h.

◆ t_name

const std::string octave_diag_matrix::t_name
staticprivate

Definition at line 113 of file ov-re-diag.h.


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