#include "ov-class.h"
Classes | |
class | exemplar_info |
Public Types | |
typedef std::map< std::string, exemplar_info > ::const_iterator | exemplar_const_iterator |
typedef std::map< std::string, exemplar_info >::iterator | exemplar_iterator |
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_erfc, umap_erfcx, umap_exp, umap_expm1, umap_finite, 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_xtoascii, umap_xtolower, umap_xtoupper, umap_unknown, num_unary_mappers = umap_unknown } |
Public Member Functions | |
octave_class (void) | |
octave_class (const octave_map &m, const std::string &id, const std::list< std::string > &plist) | |
octave_class (const octave_class &s) | |
octave_class (const octave_map &m, const std::string &id, const octave_value_list &parents) | |
~octave_class (void) | |
virtual octave_value | all (int=0) const |
string_vector | all_strings (bool pad) const |
virtual octave_value | any (int=0) const |
virtual NDArray | array_value (bool=false) const |
mxArray * | as_mxArray (void) const |
void | assign (const std::string &k, const octave_value &rhs) |
virtual boolNDArray | bool_array_value (bool=false) const |
virtual boolMatrix | bool_matrix_value (bool=false) const |
virtual bool | bool_value (bool=false) const |
virtual builtin_type_t | builtin_type (void) const |
size_t | byte_size (void) const |
virtual octave_idx_type | capacity (void) const |
virtual Cell | cell_value (void) const |
virtual Array< std::string > | cellstr_value (void) const |
virtual charNDArray | char_array_value (bool=false) const |
virtual charMatrix | char_matrix_value (bool force=false) const |
std::string | class_name (void) const |
octave_base_value * | clone (void) const |
octave_idx_type | columns (void) const |
virtual ComplexNDArray | complex_array_value (bool=false) const |
virtual ComplexDiagMatrix | complex_diag_matrix_value (bool=false) const |
virtual ComplexMatrix | complex_matrix_value (bool=false) const |
virtual 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 |
virtual octave_value | convert_to_str_internal (bool pad, bool force, char type) const |
virtual octave_value | diag (octave_idx_type k=0) const |
virtual DiagMatrix | diag_matrix_value (bool=false) const |
dim_vector | dims (void) const |
virtual octave_value | do_index_op (const octave_value_list &idx, bool resize_ok=false) |
virtual octave_value_list | do_multi_index_op (int nargout, const octave_value_list &idx, const std::list< octave_lvalue > *lvalue_list) |
octave_value_list | do_multi_index_op (int nargout, const octave_value_list &idx) |
Cell | dotref (const octave_value_list &idx) |
virtual double | double_value (bool=false) const |
virtual void | dump (std::ostream &os) const |
octave_base_value * | empty_clone (void) const |
virtual void | erase_subfunctions (void) |
virtual 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_handle * | fcn_handle_value (bool silent=false) |
virtual octave_fcn_inline * | fcn_inline_value (bool silent=false) |
octave_base_value * | find_parent_class (const std::string &) |
virtual FloatNDArray | float_array_value (bool=false) const |
virtual FloatComplexNDArray | float_complex_array_value (bool=false) const |
virtual FloatComplexDiagMatrix | float_complex_diag_matrix_value (bool=false) const |
virtual FloatComplexMatrix | float_complex_matrix_value (bool=false) const |
virtual FloatComplex | float_complex_value (bool=false) const |
virtual FloatDiagMatrix | float_diag_matrix_value (bool=false) const |
virtual FloatMatrix | float_matrix_value (bool=false) const |
virtual float | float_scalar_value (bool frc_str_conv=false) const |
virtual float | float_value (bool=false) const |
virtual octave_value | full_value (void) const |
virtual octave_function * | function_value (bool silent=false) |
idx_vector | index_vector (void) const |
virtual int16NDArray | int16_array_value (void) const |
virtual octave_int16 | int16_scalar_value (void) const |
virtual int32NDArray | int32_array_value (void) const |
virtual octave_int32 | int32_scalar_value (void) const |
virtual int64NDArray | int64_array_value (void) const |
virtual octave_int64 | int64_scalar_value (void) const |
virtual 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_bool_type (void) const |
virtual bool | is_builtin_function (void) const |
virtual bool | is_cell (void) const |
virtual bool | is_cellstr (void) const |
virtual bool | is_char_matrix (void) const |
virtual bool | is_complex_matrix (void) const |
virtual bool | is_complex_scalar (void) const |
virtual bool | is_complex_type (void) const |
virtual bool | is_constant (void) const |
virtual bool | is_cs_list (void) const |
bool | is_defined (void) const |
virtual bool | is_diag_matrix (void) const |
virtual bool | is_dld_function (void) const |
virtual bool | is_double_type (void) const |
bool | is_empty (void) const |
virtual bool | is_float_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_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_integer_type (void) const |
virtual bool | is_magic_colon (void) const |
bool | is_map (void) const |
virtual bool | is_matrix_type (void) const |
virtual bool | is_mex_function (void) const |
virtual bool | is_null_value (void) const |
virtual bool | is_numeric_type (void) const |
bool | is_object (void) const |
virtual bool | is_perm_matrix (void) const |
virtual bool | is_range (void) const |
virtual bool | is_real_matrix (void) const |
virtual bool | is_real_nd_array (void) const |
virtual bool | is_real_scalar (void) const |
virtual bool | is_real_type (void) const |
virtual bool | is_scalar_type (void) const |
virtual bool | is_single_type (void) const |
virtual sortmode | is_sorted (sortmode mode=UNSORTED) const |
virtual sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
virtual bool | is_sparse_type (void) const |
virtual bool | is_sq_string (void) const |
virtual bool | is_string (void) const |
virtual 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 |
virtual bool | islocked (void) const |
virtual octave_value_list | list_value (void) const |
bool | load_ascii (std::istream &is) |
bool | load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt) |
virtual void | lock (void) |
virtual long int | long_value (bool=false, bool=false) const |
virtual octave_value | map (unary_mapper_t) const |
string_vector | map_keys (void) const |
octave_map | map_value (void) const |
virtual MatrixType | matrix_type (void) const |
virtual MatrixType | matrix_type (const MatrixType &typ) const |
virtual Matrix | matrix_value (bool=false) const |
virtual void | maybe_economize (void) |
virtual void * | mex_get_data (void) const |
virtual octave_idx_type * | mex_get_ir (void) const |
virtual octave_idx_type * | mex_get_jc (void) const |
virtual int | ndims (void) const |
octave_idx_type | nfields (void) const |
virtual int | nint_value (bool=false) const |
virtual octave_idx_type | nnz (void) const |
size_t | nparents (void) const |
octave_idx_type | numel (void) const |
octave_idx_type | numel (const octave_value_list &) |
virtual type_conv_info | numeric_conversion_function (void) const |
virtual type_conv_info | numeric_demotion_function (void) const |
virtual octave_idx_type | nzmax (void) const |
std::list< std::string > | parent_class_name_list (void) const |
string_vector | parent_class_names (void) const |
virtual PermMatrix | perm_matrix_value (void) const |
virtual octave_value | permute (const Array< int > &vec, bool=false) const |
void | print (std::ostream &os, bool pr_as_read_syntax=false) const |
virtual bool | print_as_scalar (void) const |
virtual void | print_info (std::ostream &os, const std::string &prefix) const |
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 |
void | print_with_name (std::ostream &os, const std::string &name, bool print_padding=true) |
virtual Range | range_value (void) const |
bool | reconstruct_exemplar (void) |
bool | reconstruct_parents (void) |
octave_value | reshape (const dim_vector &new_dims) const |
octave_value | resize (const dim_vector &dv, bool=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 octave_scalar_map | scalar_map_value (void) const |
virtual double | scalar_value (bool frc_str_conv=false) const |
virtual short int | short_value (bool=false, bool=false) const |
Matrix | size (void) |
virtual octave_value | sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const |
virtual octave_value | sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const |
virtual Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
virtual SparseBoolMatrix | sparse_bool_matrix_value (bool=false) const |
virtual SparseComplexMatrix | sparse_complex_matrix_value (bool=false) const |
virtual SparseMatrix | sparse_matrix_value (bool=false) const |
virtual octave_value | squeeze (void) const |
virtual std::string | string_value (bool force=false) const |
octave_value | subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
virtual octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout, const std::list< octave_lvalue > *lvalue_list) |
octave_value | subsref (const std::string &type, const std::list< octave_value_list > &idx) |
octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout) |
virtual octave_value | subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add) |
virtual octave_base_value * | try_narrowing_conversion (void) |
int | type_id (void) const |
std::string | type_name (void) const |
virtual uint16NDArray | uint16_array_value (void) const |
virtual octave_uint16 | uint16_scalar_value (void) const |
virtual uint32NDArray | uint32_array_value (void) const |
virtual octave_uint32 | uint32_scalar_value (void) const |
virtual uint64NDArray | uint64_array_value (void) const |
virtual octave_uint64 | uint64_scalar_value (void) const |
virtual 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 |
octave_value | undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
octave_base_value * | unique_clone (void) |
octave_base_value * | unique_parent_class (const std::string &) |
virtual void | unlock (void) |
virtual octave_user_code * | user_code_value (bool silent=false) |
virtual octave_user_function * | user_function_value (bool silent=false) |
virtual octave_user_script * | user_script_value (bool silent=false) |
virtual unsigned short int | ushort_value (bool=false, bool=false) const |
virtual int | write (octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const |
Static Public Member Functions | |
static void | clear_exemplar_map (void) |
static octave_value | numeric_conv (const Cell &val, const std::string &type) |
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) |
Static Public Attributes | |
static std::map< std::string, exemplar_info > | exemplar_map |
Protected Member Functions | |
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 |
Protected Attributes | |
octave_refcount< octave_idx_type > | count |
Private Member Functions | |
std::string | get_current_method_class (void) |
bool | in_class_method (void) |
octave_value | subsasgn_common (const octave_value &obj, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
Private Attributes | |
std::string | c_name |
octave_map | map |
int | obsolete_copies |
std::list< std::string > | parent_list |
Static Private Attributes | |
static int | t_id |
static const std::string | t_name |
Friends | |
class | octave_value |
Definition at line 47 of file ov-class.h.
typedef std::map<std::string, exemplar_info>::const_iterator octave_class::exemplar_const_iterator |
Definition at line 282 of file ov-class.h.
typedef std::map<std::string, exemplar_info>::iterator octave_class::exemplar_iterator |
Definition at line 281 of file ov-class.h.
typedef octave_base_value*(* octave_base_value::type_conv_fcn)(const octave_base_value &) [inherited] |
enum octave_base_value::unary_mapper_t [inherited] |
octave_class::octave_class | ( | void | ) | [inline] |
Definition at line 52 of file ov-class.h.
Referenced by load_ascii(), load_binary(), save_ascii(), and save_binary().
octave_class::octave_class | ( | const octave_map & | m, | |
const std::string & | id, | |||
const std::list< std::string > & | plist | |||
) | [inline] |
Definition at line 57 of file ov-class.h.
octave_class::octave_class | ( | const octave_map & | m, | |
const std::string & | id, | |||
const octave_value_list & | parents | |||
) |
Definition at line 69 of file ov-class.cc.
References symbol_table::add_to_parent_map(), octave_map::assign(), octave_value::class_name(), octave_value::dims(), octave_map::dims(), error(), error_state, find_parent_class(), octave_map::index(), octave_value::is_object(), octave_value_list::length(), map, octave_value::map_value(), octave_map::nfields(), octave_value::numel(), octave_map::numel(), octave_base_value::octave_value, octave_value::parent_class_name_list(), parent_list, and octave_map::resize().
octave_class::octave_class | ( | const octave_class & | s | ) | [inline] |
Definition at line 66 of file ov-class.h.
octave_class::~octave_class | ( | void | ) | [inline] |
Definition at line 70 of file ov-class.h.
octave_value octave_base_value::all | ( | int | = 0 |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_range, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 359 of file ov-base.cc.
Referenced by octave_value::all().
string_vector octave_class::all_strings | ( | bool | pad | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1117 of file ov-class.cc.
References c_name, class_name(), error(), error_state, feval(), symbol_table::find_method(), octave_value::function_value(), octave_value::is_defined(), octave_value_list::length(), map, octave_base_value::octave_value, and parent_list.
octave_value octave_base_value::any | ( | int | = 0 |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_complex, octave_float_scalar, octave_float_complex, octave_lazy_index, octave_perm_matrix, octave_range, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 365 of file ov-base.cc.
Referenced by octave_value::any().
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_float_scalar, octave_float_complex, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 551 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::array_value().
mxArray * octave_class::as_mxArray | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1820 of file ov-class.cc.
References gripe_wrong_type_arg(), and type_name().
void octave_class::assign | ( | const std::string & | k, | |
const octave_value & | rhs | |||
) | [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 107 of file ov-class.h.
boolNDArray octave_base_value::bool_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 638 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::bool_array_value().
boolMatrix octave_base_value::bool_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.
Definition at line 629 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::bool_matrix_value().
Reimplemented in octave_bool, octave_complex, octave_float_scalar, octave_float_complex, OCTAVE_VALUE_INT_SCALAR_T, and octave_scalar.
Definition at line 621 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::bool_value(), and oct_assignop_conv_and_assign().
virtual builtin_type_t octave_base_value::builtin_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_cell, octave_char_matrix, octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_fcn_handle, octave_float_scalar, octave_float_complex, octave_float_complex_diag_matrix, octave_float_complex_matrix, octave_float_diag_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, octave_scalar, octave_struct, and octave_scalar_struct.
Definition at line 380 of file ov-base.h.
Referenced by octave_value::builtin_type().
size_t octave_class::byte_size | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1021 of file ov-class.cc.
References octave_map::begin(), octave_value::byte_size(), octave_map::contents(), octave_map::end(), octave_map::key(), map, and octave_base_value::octave_value.
virtual octave_idx_type octave_base_value::capacity | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 312 of file ov-base.h.
References octave_value::numel().
Referenced by octave_value::capacity().
Cell octave_base_value::cell_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_cell.
Definition at line 527 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::cell_value().
Array< std::string > octave_base_value::cellstr_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_cell, and octave_char_matrix_str.
Definition at line 903 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::cellstr_value().
charNDArray octave_base_value::char_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 660 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::char_array_value().
charMatrix octave_base_value::char_matrix_value | ( | bool | force = false |
) | const [virtual, inherited] |
Reimplemented in octave_char_matrix.
Definition at line 647 of file ov-base.cc.
References octave_value::char_matrix_value(), octave_base_value::convert_to_str(), and error_state.
Referenced by octave_value::char_matrix_value().
std::string octave_class::class_name | ( | void | ) | const [inline] |
Definition at line 213 of file ov-class.h.
Referenced by all_strings(), DEFUN(), find_parent_class(), get_current_method_class(), in_class_method(), index_vector(), numel(), print_raw(), print_with_name(), reconstruct_parents(), save_ascii(), save_binary(), size(), subsasgn_common(), subsref(), and unique_parent_class().
void octave_class::clear_exemplar_map | ( | void | ) | [static] |
Definition at line 1254 of file ov-class.cc.
References exemplar_map.
Referenced by DEFUN(), and do_matlab_compatible_clear().
octave_base_value* octave_class::clone | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 72 of file ov-class.h.
Referenced by unique_clone().
octave_idx_type octave_base_value::columns | ( | void | ) | const [inline, inherited] |
Definition at line 300 of file ov-base.h.
References octave_value::dims().
Referenced by octave_sparse_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_bool_matrix::as_mxArray(), octave_value::columns(), octave_sparse_matrix::complex_value(), octave_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_char_matrix::double_value(), octave_bool_matrix::double_value(), octave_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), pr_where(), octave_cell::print_raw(), octave_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), and octave_bool_matrix::save_ascii().
ComplexNDArray octave_base_value::complex_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 603 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::complex_array_value().
ComplexDiagMatrix octave_base_value::complex_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 709 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::complex_diag_matrix_value(), octave_base_diag< DMT, MT >::complex_matrix_value(), and octave_base_diag< DMT, MT >::sparse_complex_matrix_value().
ComplexMatrix octave_base_value::complex_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 585 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::complex_matrix_value().
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 567 of file ov-base.cc.
References gripe_wrong_type_arg(), and lo_ieee_nan_value().
Referenced by octave_value::complex_value().
void octave_base_value::convert_to_row_or_column_vector | ( | void | ) | [virtual, inherited] |
Definition at line 391 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::convert_to_row_or_column_vector().
octave_value octave_base_value::convert_to_str | ( | bool | pad = false , |
|
bool | force = false , |
|||
char | type = '\'' | |||
) | const [virtual, inherited] |
Definition at line 371 of file ov-base.cc.
References octave_base_value::convert_to_str_internal(), gripe_implicit_conversion(), octave_base_value::is_numeric_type(), and octave_value::type_name().
Referenced by octave_base_value::all_strings(), octave_base_value::char_matrix_value(), octave_value::convert_to_str(), octave_scalar::map(), octave_matrix::map(), and octave_base_value::string_value().
octave_value octave_base_value::convert_to_str_internal | ( | bool | pad, | |
bool | force, | |||
char | type | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_int_matrix< T >, octave_base_int_scalar< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_cell, octave_char_matrix, octave_fcn_inline, octave_float_scalar, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >, and octave_base_int_scalar< OCTAVE_INT_T >.
Definition at line 383 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_base_value::convert_to_str(), and octave_value::convert_to_str_internal().
int octave_base_value::current_print_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 773 of file ov-base.h.
Referenced by octave_char_matrix_str::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_perm_matrix::print_raw(), octave_float_matrix::print_raw(), octave_float_complex_matrix::print_raw(), octave_fcn_inline::print_raw(), octave_fcn_handle::print_raw(), octave_complex_matrix::print_raw(), octave_char_matrix::print_raw(), octave_bool_matrix::print_raw(), octave_base_int_matrix< T >::print_raw(), and octave_base_diag< DMT, MT >::print_raw().
void octave_base_value::decrement_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 770 of file ov-base.h.
Referenced by octave_scalar_struct::print_raw(), octave_struct::print_raw(), and octave_cell::print_raw().
octave_value octave_base_value::diag | ( | octave_idx_type | k = 0 |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_complex_matrix, octave_float_complex_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_char_matrix_str, octave_char_matrix_sq_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 1116 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_value::diag().
DiagMatrix octave_base_value::diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 693 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::diag_matrix_value(), octave_base_diag< DMT, MT >::matrix_value(), and octave_base_diag< DMT, MT >::sparse_matrix_value().
dim_vector octave_class::dims | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 120 of file ov-class.h.
Referenced by size(), and subsasgn_common().
octave_value octave_base_value::do_index_op | ( | const octave_value_list & | idx, | |
bool | resize_ok = false | |||
) | [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_bool, octave_complex, octave_float_scalar, octave_float_complex, OCTAVE_VALUE_INT_SCALAR_T, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_scalar, octave_char_matrix_str, octave_char_matrix_sq_str, octave_struct, octave_scalar_struct, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 193 of file ov-base.cc.
References error(), and octave_base_value::octave_value.
Referenced by octave_value::do_index_op(), and octave_base_scalar< ST >::subsref().
octave_value_list octave_class::do_multi_index_op | ( | int | nargout, | |
const octave_value_list & | idx | |||
) | [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 99 of file ov-class.h.
octave_value_list octave_base_value::do_multi_index_op | ( | int | nargout, | |
const octave_value_list & | idx, | |||
const std::list< octave_lvalue > * | lvalue_list | |||
) | [virtual, inherited] |
Reimplemented in octave_builtin, octave_fcn_handle, octave_fcn_binder, and octave_user_function.
Definition at line 209 of file ov-base.cc.
References octave_base_value::do_multi_index_op().
Cell octave_class::dotref | ( | const octave_value_list & | idx | ) |
Definition at line 358 of file ov-class.cc.
References octave_map::contents(), octave_map::end(), error(), error_state, find_parent_class(), get_current_method_class(), gripe_invalid_index1(), octave_value_list::length(), map, octave_base_value::map_value(), and octave_map::seek().
Referenced by subsref().
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 511 of file ov-base.cc.
References gripe_wrong_type_arg(), and lo_ieee_nan_value().
Referenced by octave_value::double_value().
void octave_base_value::dump | ( | std::ostream & | os | ) | const [virtual, inherited] |
Definition at line 1254 of file ov-base.cc.
References octave_base_value::dims(), and dim_vector::str().
Referenced by octave_value::dump().
octave_base_value* octave_class::empty_clone | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 76 of file ov-class.h.
virtual void octave_base_value::erase_subfunctions | ( | void | ) | [inline, virtual, inherited] |
Reimplemented in octave_user_function.
Definition at line 448 of file ov-base.h.
Referenced by octave_value::erase_subfunctions().
octave_value octave_base_value::fast_elem_extract | ( | octave_idx_type | n | ) | const [virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_struct, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, and octave_base_matrix< boolNDArray >.
Definition at line 1475 of file ov-base.cc.
References octave_base_value::octave_value.
Referenced by octave_value::fast_elem_extract().
bool octave_base_value::fast_elem_insert | ( | octave_idx_type | n, | |
const octave_value & | x | |||
) | [virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_struct, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, and octave_base_matrix< boolNDArray >.
Definition at line 1481 of file ov-base.cc.
Referenced by octave_value::fast_elem_insert().
bool octave_base_value::fast_elem_insert_self | ( | void * | where, | |
builtin_type_t | btyp | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_scalar< ST >, octave_float_scalar, octave_scalar, octave_scalar_struct, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.
Definition at line 1487 of file ov-base.cc.
Referenced by octave_struct::fast_elem_insert(), and octave_base_matrix< MT >::fast_elem_insert().
octave_fcn_handle * octave_base_value::fcn_handle_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_fcn_handle.
Definition at line 1022 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::fcn_handle_value().
octave_fcn_inline * octave_base_value::fcn_inline_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_fcn_inline.
Definition at line 1033 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::fcn_inline_value().
octave_base_value * octave_class::find_parent_class | ( | const std::string & | parent_class_name | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1048 of file ov-class.cc.
References class_name(), octave_map::contents(), octave_base_value::find_parent_class(), octave_value::internal_rep(), map, parent_list, and octave_map::seek().
Referenced by dotref(), in_class_method(), and octave_class().
FloatNDArray octave_base_value::float_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_float_scalar, octave_float_complex, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 559 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_array_value().
FloatComplexNDArray octave_base_value::float_complex_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 612 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_complex_array_value().
FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 717 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_complex_diag_matrix_value(), and octave_base_diag< DMT, MT >::float_complex_matrix_value().
FloatComplexMatrix octave_base_value::float_complex_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 594 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_complex_matrix_value().
FloatComplex octave_base_value::float_complex_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 576 of file ov-base.cc.
References gripe_wrong_type_arg(), and lo_ieee_float_nan_value().
Referenced by octave_value::float_complex_value().
FloatDiagMatrix octave_base_value::float_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 701 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_diag_matrix_value(), and octave_base_diag< DMT, MT >::float_matrix_value().
FloatMatrix octave_base_value::float_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 543 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_matrix_value().
virtual float octave_base_value::float_scalar_value | ( | bool | frc_str_conv = false |
) | const [inline, virtual, inherited] |
Reimplemented in octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_range, and octave_scalar.
Definition at line 471 of file ov-base.h.
References octave_value::float_value().
Referenced by octave_value::float_scalar_value().
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 519 of file ov-base.cc.
References gripe_wrong_type_arg(), and lo_ieee_float_nan_value().
Referenced by octave_value::float_value().
octave_value octave_base_value::full_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_range, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 133 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_value::full_value().
octave_function * octave_base_value::function_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_builtin, octave_fcn_handle, octave_mex_function, octave_user_script, and octave_user_function.
Definition at line 978 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by DEFUN_DLD(), and octave_value::function_value().
std::string octave_class::get_current_method_class | ( | void | ) | [private] |
Definition at line 225 of file ov-class.cc.
References class_name(), octave_call_stack::current(), octave_function::dispatch_class(), octave_function::is_class_constructor(), octave_function::is_class_method(), and nparents().
Referenced by dotref(), and subsasgn_common().
bool octave_class::in_class_method | ( | void | ) | [private] |
Definition at line 1828 of file ov-class.cc.
References class_name(), octave_call_stack::current(), octave_function::dispatch_class(), find_parent_class(), octave_function::is_anonymous_function_of_class(), octave_function::is_class_constructor(), octave_function::is_class_method(), and octave_function::is_private_function_of_class().
Referenced by numel(), size(), subsasgn_common(), and subsref().
void octave_base_value::increment_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 767 of file ov-base.h.
Referenced by octave_scalar_struct::print_raw(), octave_struct::print_raw(), and octave_cell::print_raw().
void octave_base_value::indent | ( | std::ostream & | os | ) | const [protected, inherited] |
Definition at line 1438 of file ov-base.cc.
References octave_base_value::beginning_of_line, and octave_base_value::curr_print_indent_level.
Referenced by octave_magic_colon::print(), octave_scalar_struct::print_name_tag(), octave_struct::print_name_tag(), octave_range::print_name_tag(), print_name_tag(), octave_base_value::print_name_tag(), octave_base_scalar< ST >::print_name_tag(), octave_scalar_struct::print_raw(), octave_struct::print_raw(), print_raw(), octave_cell::print_raw(), octave_base_scalar< ST >::print_raw(), and print_with_name().
idx_vector octave_class::index_vector | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 987 of file ov-class.cc.
References c_name, class_name(), do_binary_op(), error(), error_state, feval(), symbol_table::find_method(), octave_value::function_value(), octave_value::index_vector(), octave_value::is_defined(), octave_value_list::length(), map, octave_base_value::octave_value, octave_value::op_add, and parent_list.
int16NDArray octave_base_value::int16_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 814 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int16_array_value().
octave_int16 octave_base_value::int16_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 742 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int16_scalar_value().
int32NDArray octave_base_value::int32_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 823 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int32_array_value().
octave_int32 octave_base_value::int32_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 751 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int32_scalar_value().
int64NDArray octave_base_value::int64_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 832 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int64_array_value().
octave_int64 octave_base_value::int64_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 760 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int64_scalar_value().
int8NDArray octave_base_value::int8_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 805 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int8_array_value().
octave_int8 octave_base_value::int8_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 733 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int8_scalar_value().
Referenced by octave_value::int_value().
virtual bool octave_base_value::is_all_va_args | ( | void | ) | const [inline, virtual, inherited] |
virtual bool octave_base_value::is_anonymous_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_user_function.
Definition at line 430 of file ov-base.h.
Referenced by octave_value::is_anonymous_function().
virtual bool octave_base_value::is_bool_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool_matrix, and octave_sparse_bool_matrix.
Definition at line 352 of file ov-base.h.
Referenced by octave_value::is_bool_matrix().
virtual bool octave_base_value::is_bool_scalar | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool.
Definition at line 350 of file ov-base.h.
Referenced by octave_value::is_bool_scalar().
virtual bool octave_base_value::is_bool_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.
Definition at line 404 of file ov-base.h.
Referenced by octave_value::is_bool_type().
virtual bool octave_base_value::is_builtin_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_builtin, octave_dld_function, and octave_mex_function.
Definition at line 442 of file ov-base.h.
Referenced by octave_value::is_builtin_function().
virtual bool octave_base_value::is_cell | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_cell.
Definition at line 336 of file ov-base.h.
Referenced by octave_value::is_cell().
virtual bool octave_base_value::is_cellstr | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_cell.
Definition at line 338 of file ov-base.h.
Referenced by octave_value::is_cellstr().
virtual bool octave_base_value::is_char_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix.
Definition at line 354 of file ov-base.h.
Referenced by octave_value::is_char_matrix().
virtual bool octave_base_value::is_complex_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_complex_diag_matrix, and octave_float_complex_matrix.
Definition at line 348 of file ov-base.h.
Referenced by octave_value::is_complex_matrix().
virtual bool octave_base_value::is_complex_scalar | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex, and octave_float_complex.
Definition at line 346 of file ov-base.h.
Referenced by octave_value::is_complex_scalar().
virtual bool octave_base_value::is_complex_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_complex, octave_float_complex_diag_matrix, and octave_float_complex_matrix.
Definition at line 410 of file ov-base.h.
Referenced by octave_value::is_complex_type().
virtual bool octave_base_value::is_constant | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_cell, octave_magic_colon, octave_cs_list, octave_lazy_index, octave_perm_matrix, octave_range, octave_struct, octave_scalar_struct, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 426 of file ov-base.h.
Referenced by octave_value::is_constant().
virtual bool octave_base_value::is_cs_list | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_cs_list.
Definition at line 370 of file ov-base.h.
Referenced by octave_value::is_cs_list().
bool octave_class::is_defined | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 150 of file ov-class.h.
virtual bool octave_base_value::is_diag_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 356 of file ov-base.h.
Referenced by octave_value::is_diag_matrix().
virtual bool octave_base_value::is_dld_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_dld_function.
Definition at line 444 of file ov-base.h.
Referenced by get_current_shlib(), and octave_value::is_dld_function().
virtual bool octave_base_value::is_double_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_complex_diag_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, and octave_scalar.
Definition at line 382 of file ov-base.h.
Referenced by octave_value::is_double_type().
bool octave_base_value::is_empty | ( | void | ) | const [inline, inherited] |
Definition at line 334 of file ov-base.h.
References octave_value::numel().
Referenced by DEFUN(), octave_value::is_empty(), octave_cell::subsasgn(), octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_matrix< MT >::subsasgn(), and octave_base_diag< DMT, MT >::subsasgn().
virtual bool octave_base_value::is_float_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_diag_matrix, octave_float_complex_matrix, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, and octave_scalar.
Definition at line 386 of file ov-base.h.
Referenced by octave_value::is_float_type().
virtual bool octave_base_value::is_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_function.
Definition at line 434 of file ov-base.h.
Referenced by octave_value::is_function().
virtual bool octave_base_value::is_function_handle | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_fcn_handle.
Definition at line 428 of file ov-base.h.
Referenced by octave_value::is_function_handle().
virtual bool octave_base_value::is_inline_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_fcn_inline, and octave_user_function.
Definition at line 432 of file ov-base.h.
Referenced by octave_value::is_inline_function().
virtual bool octave_base_value::is_int16_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 390 of file ov-base.h.
Referenced by octave_value::is_int16_type().
virtual bool octave_base_value::is_int32_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 392 of file ov-base.h.
Referenced by octave_value::is_int32_type().
virtual bool octave_base_value::is_int64_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 394 of file ov-base.h.
Referenced by octave_value::is_int64_type().
virtual bool octave_base_value::is_int8_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 388 of file ov-base.h.
Referenced by octave_value::is_int8_type().
virtual bool octave_base_value::is_integer_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in OCTAVE_VALUE_INT_MATRIX_T, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 406 of file ov-base.h.
Referenced by octave_value::is_integer_type().
virtual bool octave_base_value::is_magic_colon | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_magic_colon.
Definition at line 372 of file ov-base.h.
Referenced by octave_value::is_magic_colon().
bool octave_class::is_map | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 152 of file ov-class.h.
virtual bool octave_base_value::is_matrix_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 416 of file ov-base.h.
Referenced by octave_value::is_matrix_type().
virtual bool octave_base_value::is_mex_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_mex_function.
Definition at line 446 of file ov-base.h.
Referenced by get_current_shlib(), and octave_value::is_mex_function().
virtual bool octave_base_value::is_null_value | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_null_matrix, octave_null_str, and octave_null_sq_str.
Definition at line 424 of file ov-base.h.
Referenced by octave_value::is_null_value().
virtual bool octave_base_value::is_numeric_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 418 of file ov-base.h.
Referenced by octave_base_value::convert_to_str(), octave_value::is_numeric_type(), and octave_base_value::subsasgn().
bool octave_class::is_object | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 154 of file ov-class.h.
Referenced by reconstruct_parents().
virtual bool octave_base_value::is_perm_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_perm_matrix.
Definition at line 358 of file ov-base.h.
Referenced by octave_value::is_perm_matrix().
virtual bool octave_base_value::is_range | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_range.
Definition at line 364 of file ov-base.h.
Referenced by octave_value::is_range().
virtual bool octave_base_value::is_real_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_diag_matrix, octave_matrix, and octave_sparse_matrix.
Definition at line 342 of file ov-base.h.
Referenced by octave_value::is_real_matrix().
virtual bool octave_base_value::is_real_nd_array | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 344 of file ov-base.h.
Referenced by octave_value::is_real_nd_array().
virtual bool octave_base_value::is_real_scalar | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool, octave_float_scalar, and octave_scalar.
Definition at line 340 of file ov-base.h.
Referenced by octave_value::is_real_scalar().
virtual bool octave_base_value::is_real_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_int_matrix< T >, octave_base_int_scalar< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_float_scalar, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >, and octave_base_int_scalar< OCTAVE_INT_T >.
Definition at line 408 of file ov-base.h.
Referenced by octave_value::is_real_type().
virtual bool octave_base_value::is_scalar_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_scalar< ST >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.
Definition at line 414 of file ov-base.h.
Referenced by octave_value::is_scalar_type().
virtual bool octave_base_value::is_single_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_diag_matrix, and octave_float_matrix.
Definition at line 384 of file ov-base.h.
Referenced by octave_value::is_single_type().
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 1141 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::is_sorted().
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.
Definition at line 1157 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::is_sorted_rows().
virtual bool octave_base_value::is_sparse_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 420 of file ov-base.h.
Referenced by octave_value::is_sparse_type().
virtual bool octave_base_value::is_sq_string | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix_sq_str.
Definition at line 362 of file ov-base.h.
Referenced by octave_value::is_dq_string(), octave_value::is_sq_string(), and octave_char_matrix_str::resize().
virtual bool octave_base_value::is_string | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix_str.
Definition at line 360 of file ov-base.h.
Referenced by DEFUN(), octave_value::is_dq_string(), and octave_value::is_string().
virtual bool octave_base_value::is_true | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_bool, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 422 of file ov-base.h.
Referenced by octave_value::is_true().
virtual bool octave_base_value::is_uint16_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 398 of file ov-base.h.
Referenced by octave_value::is_uint16_type().
virtual bool octave_base_value::is_uint32_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 400 of file ov-base.h.
Referenced by octave_value::is_uint32_type().
virtual bool octave_base_value::is_uint64_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 402 of file ov-base.h.
Referenced by octave_value::is_uint64_type().
virtual bool octave_base_value::is_uint8_type | ( | void | ) | const [inline, virtual, inherited] |
Definition at line 396 of file ov-base.h.
Referenced by octave_value::is_uint8_type().
virtual bool octave_base_value::is_user_code | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_user_code.
Definition at line 440 of file ov-base.h.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_caller_user_code(), octave_call_stack::do_caller_user_code_column(), octave_call_stack::do_caller_user_code_line(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame_relative(), octave_call_stack::do_num_user_code_frames(), and octave_value::is_user_code().
virtual bool octave_base_value::is_user_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_user_function.
Definition at line 438 of file ov-base.h.
Referenced by DEFUN(), do_which(), octave_value::is_user_function(), raw_help_from_symbol_table(), and try_local_protect().
virtual bool octave_base_value::is_user_script | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_user_script.
Definition at line 436 of file ov-base.h.
Referenced by DEFUN(), and octave_value::is_user_script().
virtual bool octave_base_value::islocked | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_function.
Definition at line 666 of file ov-base.h.
Referenced by octave_value::islocked().
octave_value_list octave_base_value::list_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_cell, and octave_cs_list.
Definition at line 1044 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::list_value().
bool octave_class::load_ascii | ( | std::istream & | is | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1354 of file ov-class.cc.
References octave_map::assign(), c_name, octave_value::cell_value(), error(), error_state, extract_keyword(), feval(), load_path::find_method(), octave_value::is_cell(), map, octave_class(), panic_impossible, read_ascii_data(), reconstruct_exemplar(), reconstruct_parents(), and warning().
bool octave_class::load_binary | ( | std::istream & | is, | |
bool | swap, | |||
oct_mach_info::float_format | fmt | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1485 of file ov-class.cc.
References octave_map::assign(), c_name, octave_value::cell_value(), error(), error_state, feval(), load_path::find_method(), octave_value::is_cell(), map, octave_class(), OCTAVE_LOCAL_BUFFER, panic_impossible, read_binary_data(), reconstruct_exemplar(), reconstruct_parents(), swap_bytes< 4 >(), and warning().
void octave_base_value::lock | ( | void | ) | [virtual, inherited] |
Reimplemented in octave_function.
Definition at line 1242 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::lock().
virtual long int octave_base_value::long_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::long_value().
octave_value octave_base_value::map | ( | unary_mapper_t | umap | ) | const [virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_cell, octave_char_matrix, octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_diag_matrix, octave_float_complex_matrix, octave_float_diag_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 1235 of file ov-base.cc.
References error(), octave_base_value::get_umap_name(), and octave_base_value::octave_value.
Referenced by octave_value::map().
string_vector octave_class::map_keys | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1040 of file ov-class.cc.
References gripe_wrong_type_arg(), and type_name().
octave_map octave_class::map_value | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 156 of file ov-class.h.
Referenced by reshape(), save_ascii(), and save_binary().
MatrixType octave_base_value::matrix_type | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 345 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::matrix_type().
MatrixType octave_base_value::matrix_type | ( | const MatrixType & | typ | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 352 of file ov-base.cc.
References gripe_wrong_type_arg().
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 535 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::matrix_value().
virtual void octave_base_value::maybe_economize | ( | void | ) | [inline, virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, and octave_base_matrix< boolNDArray >.
Definition at line 241 of file ov-base.h.
Referenced by octave_value::maybe_economize().
virtual void* octave_base_value::mex_get_data | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_scalar< ST >, octave_base_sparse< T >, octave_bool_matrix, octave_cell, octave_char_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_lazy_index, octave_matrix, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 639 of file ov-base.h.
Referenced by octave_value::mex_get_data().
virtual octave_idx_type* octave_base_value::mex_get_ir | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 641 of file ov-base.h.
Referenced by octave_value::mex_get_ir().
virtual octave_idx_type* octave_base_value::mex_get_jc | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 643 of file ov-base.h.
Referenced by octave_value::mex_get_jc().
virtual int octave_base_value::ndims | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.
Definition at line 307 of file ov-base.h.
References octave_value::dims(), and dim_vector::length().
Referenced by octave_value::ndims().
void octave_base_value::newline | ( | std::ostream & | os | ) | const [protected, inherited] |
Definition at line 1457 of file ov-base.cc.
References octave_base_value::beginning_of_line.
Referenced by octave_range::print(), octave_perm_matrix::print(), octave_oncleanup::print(), octave_fcn_inline::print(), octave_fcn_handle::print(), octave_base_sparse< T >::print(), octave_base_scalar< ST >::print(), octave_base_matrix< MT >::print(), octave_base_diag< DMT, MT >::print(), octave_scalar_struct::print_name_tag(), octave_struct::print_name_tag(), octave_range::print_name_tag(), print_name_tag(), octave_base_value::print_name_tag(), octave_scalar_struct::print_raw(), octave_struct::print_raw(), print_raw(), octave_cell::print_raw(), print_with_name(), and octave_base_value::print_with_name().
octave_idx_type octave_class::nfields | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 132 of file ov-class.h.
Definition at line 488 of file ov-base.cc.
References d, octave_sparse_bool_matrix::double_value(), error(), error_state, fix(), gripe_wrong_type_arg(), and xisnan().
Referenced by DEFUN(), and octave_value::nint_value().
octave_idx_type octave_base_value::nnz | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 304 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::nnz().
size_t octave_class::nparents | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 134 of file ov-class.h.
Referenced by get_current_method_class().
octave_idx_type octave_class::numel | ( | const octave_value_list & | idx | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 446 of file ov-class.cc.
References called_from_builtin(), class_name(), octave_base_value::count, error(), feval(), symbol_table::find_method(), octave_value::function_value(), in_class_method(), octave_value::is_defined(), octave_value_list::length(), numel(), and octave_base_value::octave_value.
octave_idx_type octave_class::numel | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 126 of file ov-class.h.
References dim_vector::numel().
Referenced by numel(), subsasgn_common(), and subsref().
octave_value octave_base_value::numeric_assign | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [protected, inherited] |
Definition at line 1287 of file ov-base.cc.
References octave_value::assign_op_as_string(), octave_base_value::count, error(), error_state, f, octave_value::get_rep(), gripe_assign_conversion_failed(), gripe_indexed_assignment(), gripe_no_conversion(), octave_value_typeinfo::lookup_assign_op(), octave_value_typeinfo::lookup_pref_assign_conv(), octave_value_typeinfo::lookup_widening_op(), octave_value::maybe_mutate(), octave_base_value::numeric_conversion_function(), octave_value::numeric_conversion_function(), octave_base_value::octave_value, octave_value::op_asn_eq, octave_value::subsasgn(), octave_base_value::type_conv_info::type_id(), octave_value::type_id(), and octave_value::type_name().
Referenced by octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_scalar< ST >::subsasgn(), octave_base_matrix< MT >::subsasgn(), and octave_base_diag< DMT, MT >::subsasgn().
octave_value octave_class::numeric_conv | ( | const Cell & | val, | |
const std::string & | type | |||
) | [static] |
Definition at line 605 of file ov-class.cc.
References gripe_invalid_index_for_assignment(), octave_value::is_map(), and Array< T >::length().
Referenced by subsasgn_common().
virtual type_conv_info octave_base_value::numeric_conversion_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, octave_lazy_index, octave_null_matrix, octave_null_str, octave_null_sq_str, octave_perm_matrix, octave_range, octave_diag_matrix, and octave_char_matrix_str.
Definition at line 228 of file ov-base.h.
Referenced by octave_base_value::numeric_assign(), and octave_value::numeric_conversion_function().
virtual type_conv_info octave_base_value::numeric_demotion_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_diag_matrix, octave_matrix, and octave_scalar.
Definition at line 232 of file ov-base.h.
Referenced by octave_value::numeric_demotion_function().
octave_idx_type octave_base_value::nzmax | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 311 of file ov-base.cc.
References octave_base_value::numel().
Referenced by octave_value::nzmax().
std::list<std::string> octave_class::parent_class_name_list | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 160 of file ov-class.h.
string_vector octave_class::parent_class_names | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 163 of file ov-class.h.
PermMatrix octave_base_value::perm_matrix_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_perm_matrix.
Definition at line 725 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::perm_matrix_value().
octave_value octave_base_value::permute | ( | const Array< int > & | vec, | |
bool | = false | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_range, octave_char_matrix_str, octave_char_matrix_sq_str, octave_struct, octave_scalar_struct, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 331 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_value::ipermute(), and octave_value::permute().
void octave_class::print | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1146 of file ov-class.cc.
References print_raw().
virtual bool octave_base_value::print_as_scalar | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_cell, octave_fcn_handle, octave_lazy_index, octave_perm_matrix, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 601 of file ov-base.h.
Referenced by octave_value::print_as_scalar(), and octave_base_value::print_name_tag().
void octave_base_value::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 446 of file ov-base.cc.
Referenced by octave_value::print_info().
bool octave_class::print_name_tag | ( | std::ostream & | os, | |
const std::string & | name | |||
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1162 of file ov-class.cc.
References octave_base_value::indent(), octave_base_value::newline(), and Vcompact_format.
void octave_class::print_raw | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 1152 of file ov-class.cc.
References class_name(), octave_base_value::indent(), and octave_base_value::newline().
Referenced by print().
void octave_class::print_with_name | ( | std::ostream & | os, | |
const std::string & | name, | |||
bool | print_padding = true | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1176 of file ov-class.cc.
References class_name(), octave_base_value::count, feval(), symbol_table::find_method(), octave_value::function_value(), octave_base_value::indent(), octave_value::is_defined(), octave_base_value::newline(), octave_base_value::octave_value, and octave_value_list::stash_name_tags().
Range octave_base_value::range_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_range.
Definition at line 912 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::range_value().
bool octave_class::reconstruct_exemplar | ( | void | ) |
Definition at line 1208 of file ov-class.cc.
References c_name, octave_value::do_multi_index_op(), exemplar_map, symbol_table::find_method(), octave_value::function_value(), octave_function::is_class_constructor(), octave_value::is_defined(), octave_value::is_function(), octave_value_list::length(), and warning().
Referenced by load_ascii(), load_binary(), and read_mat5_binary_element().
bool octave_class::reconstruct_parents | ( | void | ) |
Definition at line 1267 of file ov-class.cc.
References octave_map::begin(), c_name, class_name(), octave_map::contains(), octave_map::contents(), octave_map::end(), exemplar_map, is_object(), octave_map::key(), map, parent_list, and octave_class::exemplar_info::parents().
Referenced by load_ascii(), load_binary(), and read_mat5_binary_element().
void octave_class::register_type | ( | void | ) | [static] |
Definition at line 63 of file ov-class.cc.
Referenced by install_types().
void octave_base_value::reset | ( | void | ) | const [protected, inherited] |
Definition at line 1467 of file ov-base.cc.
References octave_base_value::beginning_of_line, and octave_base_value::curr_print_indent_level.
void octave_base_value::reset_indent_level | ( | void | ) | const [inline, protected, inherited] |
octave_value octave_class::reshape | ( | const dim_vector & | new_dims | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 136 of file ov-class.h.
References map, map_value(), octave_value(), and octave_map::reshape().
octave_value octave_class::resize | ( | const dim_vector & | dv, | |
bool | = false | |||
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 143 of file ov-class.h.
References map, octave_value(), and octave_map::resize().
octave_idx_type octave_base_value::rows | ( | void | ) | const [inline, inherited] |
Definition at line 293 of file ov-base.h.
References octave_value::dims().
Referenced by octave_sparse_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_bool_matrix::as_mxArray(), octave_sparse_matrix::complex_value(), octave_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_char_matrix::double_value(), octave_bool_matrix::double_value(), octave_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), octave_cell::print_raw(), octave_value::rows(), octave_matrix::save_ascii(), octave_float_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), and octave_bool_matrix::save_ascii().
bool octave_class::save_ascii | ( | std::ostream & | os | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1319 of file ov-class.cc.
References octave_map::begin(), class_name(), octave_map::contents(), octave_map::end(), error_state, feval(), load_path::find_method(), octave_map::key(), map, map_value(), octave_map::nfields(), octave_class(), and save_ascii_data().
Reimplemented from octave_base_value.
Definition at line 1445 of file ov-class.cc.
References octave_map::begin(), class_name(), octave_map::contents(), octave_map::end(), error_state, feval(), load_path::find_method(), octave_map::key(), map, map_value(), octave_map::nfields(), octave_class(), and save_binary_data().
octave_scalar_map octave_base_value::scalar_map_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_oncleanup, and octave_scalar_struct.
Definition at line 928 of file ov-base.cc.
References octave_map::checkelem(), error(), error_state, octave_base_value::map_value(), and octave_map::numel().
Referenced by octave_value::scalar_map_value().
virtual double octave_base_value::scalar_value | ( | bool | frc_str_conv = false |
) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 468 of file ov-base.h.
References octave_value::double_value().
Referenced by octave_value::scalar_value().
virtual short int octave_base_value::short_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::short_value().
Matrix octave_class::size | ( | void | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 411 of file ov-class.cc.
References called_from_builtin(), class_name(), octave_base_value::count, dims(), error(), feval(), symbol_table::find_method(), octave_value::function_value(), in_class_method(), octave_value::is_defined(), dim_vector::length(), octave_value_list::length(), and Matrix::resize().
octave_value octave_base_value::sort | ( | octave_idx_type | dim = 0 , |
|
sortmode | mode = ASCENDING | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_char_matrix_str, octave_char_matrix_sq_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 1124 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_value::sort().
octave_value octave_base_value::sort | ( | Array< octave_idx_type > & | sidx, | |
octave_idx_type | dim = 0 , |
|||
sortmode | mode = ASCENDING | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_char_matrix_str, octave_char_matrix_sq_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 1132 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Array< octave_idx_type > octave_base_value::sort_rows_idx | ( | sortmode | mode = ASCENDING |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.
Definition at line 1149 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::sort_rows_idx().
SparseBoolMatrix octave_base_value::sparse_bool_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_sparse_complex_matrix, octave_perm_matrix, and octave_sparse_matrix.
Definition at line 685 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::sparse_bool_matrix_value().
SparseComplexMatrix octave_base_value::sparse_complex_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 677 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::sparse_complex_matrix_value().
SparseMatrix octave_base_value::sparse_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_complex, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 669 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::sparse_matrix_value().
octave_value octave_base_value::squeeze | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_scalar< ST >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_char_matrix_str, octave_char_matrix_sq_str, octave_struct, octave_scalar_struct, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, octave_base_scalar< bool >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 125 of file ov-base.cc.
References error(), and octave_base_value::octave_value.
Referenced by octave_value::squeeze().
static std::string octave_class::static_class_name | ( | void | ) | [inline, static] |
Definition at line 217 of file ov-class.h.
static int octave_class::static_type_id | ( | void | ) | [inline, static] |
Definition at line 215 of file ov-class.h.
Referenced by do_binary_op(), and do_unary_op().
static std::string octave_class::static_type_name | ( | void | ) | [inline, static] |
Definition at line 216 of file ov-class.h.
std::string octave_base_value::string_value | ( | bool | force = false |
) | const [virtual, inherited] |
Reimplemented in octave_char_matrix_str.
Definition at line 890 of file ov-base.cc.
References octave_base_value::convert_to_str(), error_state, and octave_value::string_value().
Referenced by DEFUN(), octave_value::string_value(), and warning_enabled().
octave_value octave_class::subsasgn | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 623 of file ov-class.cc.
References octave_base_value::count, and subsasgn_common().
octave_value octave_class::subsasgn_common | ( | const octave_value & | obj, | |
const std::string & | type, | |||
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [private] |
Definition at line 644 of file ov-class.cc.
References octave_map::assign(), called_from_builtin(), class_name(), octave_map::contains(), octave_map::contents(), octave_base_value::count, octave_map::delete_elements(), dims(), octave_value::empty_conv(), octave_map::end(), error(), error_state, feval(), symbol_table::find_method(), octave_value::function_value(), get_current_method_class(), gripe_failed_assignment(), gripe_indexed_cs_list(), gripe_invalid_index_for_assignment(), gripe_invalid_index_type(), in_class_method(), Cell::index(), octave_value::is_cs_list(), octave_value::is_defined(), octave_value::is_empty(), octave_value::is_map(), octave_value::is_object(), octave_value::is_user_function(), octave_value::is_zero_by_zero(), octave_value::length(), octave_value_list::length(), octave_value::list_value(), make_idx_args(), Array< T >::make_unique(), octave_value::make_unique(), map, octave_value::map_value(), numel(), Array< T >::numel(), numeric_conv(), obsolete_copies, octave_base_value::octave_value, panic_impossible, unwind_protect::protect_var(), Cell::reshape(), octave_value_list::resize(), octave_map::seek(), octave_map::setfield(), octave_value::storable_value(), octave_value::subsasgn(), octave_base_value::subsasgn(), octave_user_function::subsasgn_optimization_ok(), type_name(), unique_parent_class(), and octave_value::user_function_value().
Referenced by subsasgn(), and undef_subsasgn().
octave_value_list octave_class::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
int | nargout | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 479 of file ov-class.cc.
References c_name, called_from_builtin(), class_name(), octave_base_value::count, dotref(), error_state, feval(), symbol_table::find_method(), octave_value::function_value(), gripe_invalid_index1(), gripe_invalid_index_type(), in_class_method(), octave_map::index(), Cell::index(), octave_value::is_defined(), octave_value_list::length(), Array< T >::length(), make_idx_args(), map, numel(), octave_map::numel(), octave_base_value::octave_value, panic_impossible, parent_list, and type_name().
octave_value octave_base_value::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
bool | auto_add | |||
) | [virtual, inherited] |
Reimplemented in octave_cell, octave_struct, and octave_scalar_struct.
Definition at line 174 of file ov-base.cc.
References octave_base_value::subsref().
octave_value octave_class::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx | |||
) | [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 87 of file ov-class.h.
References octave_value_list::length(), and octave_value().
octave_value_list octave_base_value::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
int | nargout, | |||
const std::list< octave_lvalue > * | lvalue_list | |||
) | [virtual, inherited] |
Reimplemented in octave_builtin, octave_fcn_handle, and octave_user_function.
Definition at line 183 of file ov-base.cc.
References octave_base_value::subsref().
virtual octave_base_value* octave_base_value::try_narrowing_conversion | ( | void | ) | [inline, virtual, inherited] |
Reimplemented in octave_base_int_matrix< T >, octave_base_int_scalar< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_complex, octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_complex, octave_float_complex_diag_matrix, octave_float_complex_matrix, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, octave_struct, octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >, and octave_base_int_scalar< OCTAVE_INT_T >.
Definition at line 239 of file ov-base.h.
Referenced by octave_value::maybe_mutate(), octave_value::try_narrowing_conversion(), octave_float_complex_diag_matrix::try_narrowing_conversion(), and octave_complex_diag_matrix::try_narrowing_conversion().
int octave_class::type_id | ( | void | ) | const [inline] |
Definition at line 211 of file ov-class.h.
std::string octave_class::type_name | ( | void | ) | const [inline] |
Definition at line 212 of file ov-class.h.
Referenced by as_mxArray(), map_keys(), subsasgn_common(), and subsref().
uint16NDArray octave_base_value::uint16_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 850 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint16_array_value().
octave_uint16 octave_base_value::uint16_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 778 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint16_scalar_value().
uint32NDArray octave_base_value::uint32_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 859 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint32_array_value().
octave_uint32 octave_base_value::uint32_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 787 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint32_scalar_value().
uint64NDArray octave_base_value::uint64_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 868 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint64_array_value().
octave_uint64 octave_base_value::uint64_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 796 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint64_scalar_value().
uint8NDArray octave_base_value::uint8_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 841 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint8_array_value().
octave_uint8 octave_base_value::uint8_scalar_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.
Definition at line 769 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint8_scalar_value().
virtual unsigned int octave_base_value::uint_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::uint_value().
virtual unsigned long int octave_base_value::ulong_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::ulong_value().
octave_value octave_class::undef_subsasgn | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 632 of file ov-class.cc.
References subsasgn_common().
octave_base_value * octave_class::unique_clone | ( | void | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 206 of file ov-class.cc.
References clone(), octave_base_value::count, and obsolete_copies.
octave_base_value * octave_class::unique_parent_class | ( | const std::string & | parent_class_name | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 1079 of file ov-class.cc.
References class_name(), octave_map::contents(), octave_base_value::find_parent_class(), octave_value::internal_rep(), octave_value::make_unique(), map, parent_list, octave_map::seek(), and octave_base_value::unique_parent_class().
Referenced by subsasgn_common().
void octave_base_value::unlock | ( | void | ) | [virtual, inherited] |
Reimplemented in octave_function.
Definition at line 1248 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::unlock().
octave_user_code * octave_base_value::user_code_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_user_script, and octave_user_function.
Definition at line 1011 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::user_code_value().
octave_user_function * octave_base_value::user_function_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_fcn_handle, and octave_user_function.
Definition at line 989 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::user_function_value().
octave_user_script * octave_base_value::user_script_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_user_script.
Definition at line 1000 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::user_script_value().
virtual unsigned short int octave_base_value::ushort_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::ushort_value().
int octave_base_value::write | ( | octave_stream & | os, | |
int | block_size, | |||
oct_data_conv::data_type | output_type, | |||
int | skip, | |||
oct_mach_info::float_format | flt_fmt | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_complex, octave_complex_matrix, octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 1101 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::write().
friend class octave_value [friend, inherited] |
Definition at line 205 of file ov-base.h.
Referenced by all_strings(), octave_scalar_struct::byte_size(), octave_struct::byte_size(), byte_size(), octave_scalar::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), octave_matrix::convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), octave_fcn_inline::convert_to_str_internal(), octave_bool::convert_to_str_internal(), octave_sparse_bool_matrix::convert_to_str_internal(), octave_bool_matrix::convert_to_str_internal(), octave_base_value::convert_to_str_internal(), octave_base_int_scalar< T >::convert_to_str_internal(), octave_base_int_matrix< T >::convert_to_str_internal(), DEFUN(), octave_base_value::diag(), octave_base_value::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_char_matrix_str::do_index_op_internal(), octave_base_value::do_multi_index_op(), octave_struct::fast_elem_extract(), octave_base_matrix< Cell >::fast_elem_extract(), octave_base_value::fast_elem_extract(), octave_base_matrix< MT >::fast_elem_extract(), octave_base_value::full_value(), octave_range::index_vector(), index_vector(), octave_perm_matrix::load_ascii(), octave_base_diag< DMT, MT >::load_ascii(), octave_scalar::map(), octave_matrix::map(), octave_base_value::map(), numel(), octave_base_value::numeric_assign(), octave_class(), octave_oncleanup::octave_oncleanup(), octave_base_value::permute(), print_with_name(), octave_base_value::reshape(), octave_char_matrix_str::resize(), octave_base_value::resize(), octave_fcn_handle::set_fcn(), octave_base_value::sort(), octave_base_value::squeeze(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), subsasgn_common(), octave_struct::subsref(), octave_cs_list::subsref(), subsref(), octave_cell::subsref(), and octave_base_value::subsref().
std::string octave_class::c_name [private] |
Definition at line 224 of file ov-class.h.
Referenced by all_strings(), index_vector(), load_ascii(), load_binary(), reconstruct_exemplar(), reconstruct_parents(), and subsref().
octave_refcount<octave_idx_type> octave_base_value::count [protected, inherited] |
Definition at line 786 of file ov-base.h.
Referenced by octave_value::assign(), octave_diag_matrix::do_index_op(), octave_perm_matrix::do_index_op(), octave_value::do_non_const_unary_op(), octave_value::get_count(), octave_value::make_storable_value(), octave_value::make_unique(), octave_value::maybe_mutate(), numel(), octave_base_value::numeric_assign(), octave_value::octave_value(), octave_value::operator=(), print_with_name(), size(), octave_scalar_struct::subsasgn(), octave_struct::subsasgn(), subsasgn(), octave_cell::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), subsasgn_common(), subsref(), unique_clone(), and octave_value::~octave_value().
std::map< std::string, octave_class::exemplar_info > octave_class::exemplar_map [static] |
Definition at line 279 of file ov-class.h.
Referenced by clear_exemplar_map(), reconstruct_exemplar(), and reconstruct_parents().
octave_map octave_class::map [private] |
Definition at line 206 of file ov-class.h.
Referenced by all_strings(), byte_size(), dotref(), find_parent_class(), index_vector(), load_ascii(), load_binary(), octave_class(), reconstruct_parents(), reshape(), resize(), save_ascii(), save_binary(), subsasgn_common(), subsref(), and unique_parent_class().
int octave_class::obsolete_copies [private] |
Definition at line 235 of file ov-class.h.
Referenced by subsasgn_common(), and unique_clone().
std::list<std::string> octave_class::parent_list [private] |
Definition at line 225 of file ov-class.h.
Referenced by all_strings(), find_parent_class(), index_vector(), octave_class(), reconstruct_parents(), subsref(), and unique_parent_class().
int octave_class::t_id [static, private] |
Definition at line 221 of file ov-class.h.
Referenced by register_type().
const std::string octave_class::t_name [static, private] |
Definition at line 223 of file ov-class.h.
Referenced by register_type().