Public Types |
enum | unary_op {
op_not,
op_uplus,
op_uminus,
op_transpose,
op_hermitian,
op_incr,
op_decr,
num_unary_ops,
unknown_unary_op
} |
enum | binary_op {
op_add,
op_sub,
op_mul,
op_div,
op_pow,
op_ldiv,
op_lshift,
op_rshift,
op_lt,
op_le,
op_eq,
op_ge,
op_gt,
op_ne,
op_el_mul,
op_el_div,
op_el_pow,
op_el_ldiv,
op_el_and,
op_el_or,
op_struct_ref,
num_binary_ops,
unknown_binary_op
} |
enum | compound_binary_op {
op_trans_mul,
op_mul_trans,
op_herm_mul,
op_mul_herm,
op_trans_ldiv,
op_herm_ldiv,
op_el_not_and,
op_el_not_or,
op_el_and_not,
op_el_or_not,
num_compound_binary_ops,
unknown_compound_binary_op
} |
enum | assign_op {
op_asn_eq,
op_add_eq,
op_sub_eq,
op_mul_eq,
op_div_eq,
op_ldiv_eq,
op_pow_eq,
op_lshift_eq,
op_rshift_eq,
op_el_mul_eq,
op_el_div_eq,
op_el_ldiv_eq,
op_el_pow_eq,
op_el_and_eq,
op_el_or_eq,
num_assign_ops,
unknown_assign_op
} |
enum | magic_colon { magic_colon_t
} |
Public Member Functions |
| octave_value (void) |
| octave_value (short int i) |
| octave_value (unsigned short int i) |
| octave_value (int i) |
| octave_value (unsigned int i) |
| octave_value (long int i) |
| octave_value (unsigned long int i) |
| octave_value (octave_time t) |
| octave_value (double d) |
| octave_value (float d) |
| octave_value (const Array< octave_value > &a, bool is_cs_list=false) |
| octave_value (const Cell &c, bool is_cs_list=false) |
| octave_value (const Matrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const FloatMatrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const NDArray &nda) |
| octave_value (const FloatNDArray &nda) |
| octave_value (const Array< double > &m) |
| octave_value (const Array< float > &m) |
| octave_value (const DiagMatrix &d) |
| octave_value (const FloatDiagMatrix &d) |
| octave_value (const RowVector &v) |
| octave_value (const FloatRowVector &v) |
| octave_value (const ColumnVector &v) |
| octave_value (const FloatColumnVector &v) |
| octave_value (const Complex &C) |
| octave_value (const FloatComplex &C) |
| octave_value (const ComplexMatrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const FloatComplexMatrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const ComplexNDArray &cnda) |
| octave_value (const FloatComplexNDArray &cnda) |
| octave_value (const Array< Complex > &m) |
| octave_value (const Array< FloatComplex > &m) |
| octave_value (const ComplexDiagMatrix &d) |
| octave_value (const FloatComplexDiagMatrix &d) |
| octave_value (const ComplexRowVector &v) |
| octave_value (const FloatComplexRowVector &v) |
| octave_value (const ComplexColumnVector &v) |
| octave_value (const FloatComplexColumnVector &v) |
| octave_value (const PermMatrix &p) |
| octave_value (bool b) |
| octave_value (const boolMatrix &bm, const MatrixType &t=MatrixType()) |
| octave_value (const boolNDArray &bnda) |
| octave_value (const Array< bool > &bnda) |
| octave_value (char c, char type= '\'') |
| octave_value (const char *s, char type= '\'') |
| octave_value (const std::string &s, char type= '\'') |
| octave_value (const string_vector &s, char type= '\'') |
| octave_value (const charMatrix &chm, char type= '\'') |
| octave_value (const charNDArray &chnda, char type= '\'') |
| octave_value (const Array< char > &chnda, char type= '\'') |
| octave_value (const charMatrix &chm, bool is_string, char type= '\'') GCC_ATTR_DEPRECATED |
| octave_value (const charNDArray &chnda, bool is_string, char type= '\'') GCC_ATTR_DEPRECATED |
| octave_value (const Array< char > &chnda, bool is_string, char type= '\'') GCC_ATTR_DEPRECATED |
| octave_value (const SparseMatrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const Sparse< double > &m, const MatrixType &t=MatrixType()) |
| octave_value (const SparseComplexMatrix &m, const MatrixType &t=MatrixType()) |
| octave_value (const Sparse< Complex > &m, const MatrixType &t=MatrixType()) |
| octave_value (const SparseBoolMatrix &bm, const MatrixType &t=MatrixType()) |
| octave_value (const Sparse< bool > &m, const MatrixType &t=MatrixType()) |
| octave_value (const octave_int8 &i) |
| octave_value (const octave_int16 &i) |
| octave_value (const octave_int32 &i) |
| octave_value (const octave_int64 &i) |
| octave_value (const octave_uint8 &i) |
| octave_value (const octave_uint16 &i) |
| octave_value (const octave_uint32 &i) |
| octave_value (const octave_uint64 &i) |
| octave_value (const int8NDArray &inda) |
| octave_value (const Array< octave_int8 > &inda) |
| octave_value (const int16NDArray &inda) |
| octave_value (const Array< octave_int16 > &inda) |
| octave_value (const int32NDArray &inda) |
| octave_value (const Array< octave_int32 > &inda) |
| octave_value (const int64NDArray &inda) |
| octave_value (const Array< octave_int64 > &inda) |
| octave_value (const uint8NDArray &inda) |
| octave_value (const Array< octave_uint8 > &inda) |
| octave_value (const uint16NDArray &inda) |
| octave_value (const Array< octave_uint16 > &inda) |
| octave_value (const uint32NDArray &inda) |
| octave_value (const Array< octave_uint32 > &inda) |
| octave_value (const uint64NDArray &inda) |
| octave_value (const Array< octave_uint64 > &inda) |
| octave_value (const Array< octave_idx_type > &inda, bool zero_based=false, bool cache_index=false) |
| octave_value (const Array< std::string > &cellstr) |
| octave_value (const idx_vector &idx, bool lazy=true) |
| octave_value (double base, double limit, double inc) |
| octave_value (const Range &r) |
| octave_value (const octave_map &m) |
| octave_value (const octave_scalar_map &m) |
| octave_value (const Octave_map &m) |
| octave_value (const Octave_map &m, const std::string &id) |
| octave_value (const octave_value_list &m, bool=false) |
| octave_value (octave_value::magic_colon) |
| octave_value (octave_base_value *new_rep, bool borrow=false) |
| octave_value (octave_base_value *new_rep, int xcount) GCC_ATTR_DEPRECATED |
| octave_value (const octave_value &a) |
octave_base_value * | clone (void) const |
octave_base_value * | empty_clone (void) const |
| ~octave_value (void) |
void | make_unique (void) |
void | make_unique (int obsolete_copies) |
octave_value & | operator= (const octave_value &a) |
octave_idx_type | get_count (void) const |
octave_base_value::type_conv_info | numeric_conversion_function (void) const |
octave_base_value::type_conv_info | numeric_demotion_function (void) const |
void | maybe_mutate (void) |
octave_value | squeeze (void) const |
octave_value | full_value (void) const |
octave_base_value * | try_narrowing_conversion (void) |
Matrix | size (void) |
octave_idx_type | numel (const octave_value_list &idx) |
octave_value | single_subsref (const std::string &type, const octave_value_list &idx) |
octave_value | subsref (const std::string &type, const std::list< octave_value_list > &idx) |
octave_value | subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add) |
octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout) |
octave_value_list | subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout, const std::list< octave_lvalue > *lvalue_list) |
octave_value | next_subsref (const std::string &type, const std::list< octave_value_list > &idx, size_t skip=1) |
octave_value_list | next_subsref (int nargout, const std::string &type, const std::list< octave_value_list > &idx, size_t skip=1) |
octave_value | next_subsref (bool auto_add, const std::string &type, const std::list< octave_value_list > &idx, size_t skip=1) |
octave_value | do_index_op (const octave_value_list &idx, bool resize_ok=false) |
octave_value_list | do_multi_index_op (int nargout, const octave_value_list &idx) |
octave_value_list | do_multi_index_op (int nargout, const octave_value_list &idx, const std::list< octave_lvalue > *lvalue_list) |
octave_value | subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
octave_value | undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
octave_value & | assign (assign_op op, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
octave_value & | assign (assign_op, const octave_value &rhs) |
idx_vector | index_vector (void) const |
dim_vector | dims (void) const |
octave_idx_type | rows (void) const |
octave_idx_type | columns (void) const |
octave_idx_type | length (void) const |
int | ndims (void) const |
bool | all_zero_dims (void) const |
octave_idx_type | numel (void) const |
octave_idx_type | capacity (void) const |
size_t | byte_size (void) const |
octave_idx_type | nnz (void) const |
octave_idx_type | nzmax (void) const |
octave_idx_type | nfields (void) const |
octave_value | reshape (const dim_vector &dv) const |
octave_value | permute (const Array< int > &vec, bool inv=false) const |
octave_value | ipermute (const Array< int > &vec) const |
octave_value | resize (const dim_vector &dv, bool fill=false) const |
MatrixType | matrix_type (void) const |
MatrixType | matrix_type (const MatrixType &typ) const |
bool | is_defined (void) const |
bool | is_undefined (void) const |
bool | is_empty (void) const |
bool | is_cell (void) const |
bool | is_cellstr (void) const |
bool | is_real_scalar (void) const |
bool | is_real_matrix (void) const |
bool | is_real_nd_array (void) const |
bool | is_complex_scalar (void) const |
bool | is_complex_matrix (void) const |
bool | is_bool_scalar (void) const |
bool | is_bool_matrix (void) const |
bool | is_char_matrix (void) const |
bool | is_diag_matrix (void) const |
bool | is_perm_matrix (void) const |
bool | is_string (void) const |
bool | is_sq_string (void) const |
bool | is_dq_string (void) const |
bool | is_range (void) const |
bool | is_map (void) const |
bool | is_object (void) const |
bool | is_cs_list (void) const |
bool | is_magic_colon (void) const |
bool | is_null_value (void) const |
octave_value | all (int dim=0) const |
octave_value | any (int dim=0) const |
builtin_type_t | builtin_type (void) const |
bool | is_double_type (void) const |
bool | is_single_type (void) const |
bool | is_float_type (void) const |
bool | is_int8_type (void) const |
bool | is_int16_type (void) const |
bool | is_int32_type (void) const |
bool | is_int64_type (void) const |
bool | is_uint8_type (void) const |
bool | is_uint16_type (void) const |
bool | is_uint32_type (void) const |
bool | is_uint64_type (void) const |
bool | is_bool_type (void) const |
bool | is_integer_type (void) const |
bool | is_real_type (void) const |
bool | is_complex_type (void) const |
bool | is_scalar_type (void) const |
bool | is_matrix_type (void) const |
bool | is_numeric_type (void) const |
bool | is_sparse_type (void) const |
bool | is_true (void) const |
bool | is_equal (const octave_value &) const |
bool | is_zero_by_zero (void) const |
bool | is_constant (void) const |
bool | is_function_handle (void) const |
bool | is_inline_function (void) const |
bool | is_function (void) const |
bool | is_user_script (void) const |
bool | is_user_function (void) const |
bool | is_user_code (void) const |
bool | is_builtin_function (void) const |
bool | is_dld_function (void) const |
bool | is_mex_function (void) const |
void | erase_subfunctions (void) |
octave_value | eval (void) |
short int | short_value (bool req_int=false, bool frc_str_conv=false) const |
unsigned short int | ushort_value (bool req_int=false, bool frc_str_conv=false) const |
int | int_value (bool req_int=false, bool frc_str_conv=false) const |
unsigned int | uint_value (bool req_int=false, bool frc_str_conv=false) const |
int | nint_value (bool frc_str_conv=false) const |
long int | long_value (bool req_int=false, bool frc_str_conv=false) const |
unsigned long int | ulong_value (bool req_int=false, bool frc_str_conv=false) const |
octave_idx_type | idx_type_value (bool req_int=false, bool frc_str_conv=false) const |
double | double_value (bool frc_str_conv=false) const |
float | float_value (bool frc_str_conv=false) const |
double | scalar_value (bool frc_str_conv=false) const |
float | float_scalar_value (bool frc_str_conv=false) const |
Cell | cell_value (void) const |
Matrix | matrix_value (bool frc_str_conv=false) const |
FloatMatrix | float_matrix_value (bool frc_str_conv=false) const |
NDArray | array_value (bool frc_str_conv=false) const |
FloatNDArray | float_array_value (bool frc_str_conv=false) const |
Complex | complex_value (bool frc_str_conv=false) const |
FloatComplex | float_complex_value (bool frc_str_conv=false) const |
ComplexMatrix | complex_matrix_value (bool frc_str_conv=false) const |
FloatComplexMatrix | float_complex_matrix_value (bool frc_str_conv=false) const |
ComplexNDArray | complex_array_value (bool frc_str_conv=false) const |
FloatComplexNDArray | float_complex_array_value (bool frc_str_conv=false) const |
bool | bool_value (bool warn=false) const |
boolMatrix | bool_matrix_value (bool warn=false) const |
boolNDArray | bool_array_value (bool warn=false) const |
charMatrix | char_matrix_value (bool frc_str_conv=false) const |
charNDArray | char_array_value (bool frc_str_conv=false) const |
SparseMatrix | sparse_matrix_value (bool frc_str_conv=false) const |
SparseComplexMatrix | sparse_complex_matrix_value (bool frc_str_conv=false) const |
SparseBoolMatrix | sparse_bool_matrix_value (bool warn=false) const |
DiagMatrix | diag_matrix_value (bool force=false) const |
FloatDiagMatrix | float_diag_matrix_value (bool force=false) const |
ComplexDiagMatrix | complex_diag_matrix_value (bool force=false) const |
FloatComplexDiagMatrix | float_complex_diag_matrix_value (bool force=false) const |
PermMatrix | perm_matrix_value (void) const |
octave_int8 | int8_scalar_value (void) const |
octave_int16 | int16_scalar_value (void) const |
octave_int32 | int32_scalar_value (void) const |
octave_int64 | int64_scalar_value (void) const |
octave_uint8 | uint8_scalar_value (void) const |
octave_uint16 | uint16_scalar_value (void) const |
octave_uint32 | uint32_scalar_value (void) const |
octave_uint64 | uint64_scalar_value (void) const |
int8NDArray | int8_array_value (void) const |
int16NDArray | int16_array_value (void) const |
int32NDArray | int32_array_value (void) const |
int64NDArray | int64_array_value (void) const |
uint8NDArray | uint8_array_value (void) const |
uint16NDArray | uint16_array_value (void) const |
uint32NDArray | uint32_array_value (void) const |
uint64NDArray | uint64_array_value (void) const |
string_vector | all_strings (bool pad=false) const |
std::string | string_value (bool force=false) const |
Array< std::string > | cellstr_value (void) const |
Range | range_value (void) const |
octave_map | map_value (void) const |
octave_scalar_map | scalar_map_value (void) const |
string_vector | map_keys (void) const |
size_t | nparents (void) const |
std::list< std::string > | parent_class_name_list (void) const |
string_vector | parent_class_names (void) const |
octave_base_value * | find_parent_class (const std::string &parent_class_name) |
octave_function * | function_value (bool silent=false) const |
octave_user_function * | user_function_value (bool silent=false) const |
octave_user_script * | user_script_value (bool silent=false) const |
octave_user_code * | user_code_value (bool silent=false) const |
octave_fcn_handle * | fcn_handle_value (bool silent=false) const |
octave_fcn_inline * | fcn_inline_value (bool silent=false) const |
octave_value_list | list_value (void) const |
ColumnVector | column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
ComplexColumnVector | complex_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
RowVector | row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
ComplexRowVector | complex_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
FloatColumnVector | float_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
FloatComplexColumnVector | float_complex_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
FloatRowVector | float_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
FloatComplexRowVector | float_complex_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< int > | int_vector_value (bool req_int=false, bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< octave_idx_type > | octave_idx_type_vector_value (bool req_int=false, bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< double > | vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< Complex > | complex_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< float > | float_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
Array< FloatComplex > | float_complex_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const |
void | maybe_economize (void) |
octave_value | storable_value (void) const |
void | make_storable_value (void) |
octave_value | convert_to_str (bool pad=false, bool force=false, char type= '\'') const |
octave_value | convert_to_str_internal (bool pad, bool force, char type) const |
void | convert_to_row_or_column_vector (void) |
bool | print_as_scalar (void) const |
void | print (std::ostream &os, bool pr_as_read_syntax=false) const |
void | print_raw (std::ostream &os, bool pr_as_read_syntax=false) const |
bool | print_name_tag (std::ostream &os, const std::string &name) const |
void | print_with_name (std::ostream &os, const std::string &name, bool print_padding=true) const |
int | type_id (void) const |
std::string | type_name (void) const |
std::string | class_name (void) const |
octave_value & | do_non_const_unary_op (unary_op op) |
octave_value & | do_non_const_unary_op (unary_op op, const std::string &type, const std::list< octave_value_list > &idx) |
const octave_base_value & | get_rep (void) const |
bool | is_copy_of (const octave_value &val) const |
void | print_info (std::ostream &os, const std::string &prefix=std::string()) const |
bool | save_ascii (std::ostream &os) |
bool | load_ascii (std::istream &is) |
bool | save_binary (std::ostream &os, bool &save_as_floats) |
bool | load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt) |
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 |
octave_base_value * | internal_rep (void) const |
void * | mex_get_data (void) const |
octave_idx_type * | mex_get_ir (void) const |
octave_idx_type * | mex_get_jc (void) const |
mxArray * | as_mxArray (void) const |
octave_value | diag (octave_idx_type k=0) const |
octave_value | sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const |
octave_value | sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const |
sortmode | is_sorted (sortmode mode=UNSORTED) const |
Array< octave_idx_type > | sort_rows_idx (sortmode mode=ASCENDING) const |
sortmode | is_sorted_rows (sortmode mode=UNSORTED) const |
void | lock (void) |
void | unlock (void) |
bool | islocked (void) const |
void | dump (std::ostream &os) const |
octave_value | map (octave_base_value::unary_mapper_t umap) const |
octave_value | fast_elem_extract (octave_idx_type n) const |
virtual bool | fast_elem_insert (octave_idx_type n, const octave_value &x) |
Static Public Member Functions |
static assign_op | binary_op_to_assign_op (binary_op) |
static std::string | unary_op_as_string (unary_op) |
static std::string | unary_op_fcn_name (unary_op) |
static std::string | binary_op_as_string (binary_op) |
static std::string | binary_op_fcn_name (binary_op) |
static std::string | binary_op_fcn_name (compound_binary_op) |
static std::string | assign_op_as_string (assign_op) |
static octave_value | empty_conv (const std::string &type, const octave_value &rhs=octave_value()) |
Protected Attributes |
octave_base_value * | rep |
Friends |
OCTINTERP_API octave_value | do_unary_op (unary_op op, const octave_value &a) |
OCTINTERP_API octave_value | do_binary_op (binary_op op, const octave_value &a, const octave_value &b) |
OCTINTERP_API octave_value | do_binary_op (compound_binary_op op, const octave_value &a, const octave_value &b) |
OCTINTERP_API octave_value | do_cat_op (const octave_value &a, const octave_value &b, const Array< octave_idx_type > &ra_idx) |