GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
octave_value Class Reference

#include "ov.h"

Collaboration diagram for octave_value:
Collaboration graph
[legend]

Public Types

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  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  magic_colon { magic_colon_t }
 
enum  unary_op {
  op_not, op_uplus, op_uminus, op_transpose,
  op_hermitian, op_incr, op_decr, num_unary_ops,
  unknown_unary_op
}
 

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 DiagArray2< double > &d)
 
 octave_value (const DiagArray2< float > &d)
 
 octave_value (const DiagArray2< Complex > &d)
 
 octave_value (const DiagArray2< FloatComplex > &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, bool force_range=false)
 
 octave_value (const octave_map &m)
 
 octave_value (const octave_scalar_map &m)
 
 octave_value (const octave_map &m, const std::string &id, const std::list< std::string > &plist)
 
 octave_value (const octave_scalar_map &m, const std::string &id, const std::list< std::string > &plist)
 
 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_value (void)
 
octave_value abs (void) const
 
octave_value acos (void) const
 
octave_value acosh (void) const
 
octave_value all (int dim=0) const
 
string_vector all_strings (bool pad=false) const
 
bool all_zero_dims (void) const
 
octave_value angle (void) const
 
octave_value any (int dim=0) const
 
octave_value arg (void) const
 
NDArray array_value (bool frc_str_conv=false) const
 
mxArrayas_mxArray (void) const
 
octave_value asin (void) const
 
octave_value asinh (void) const
 
octave_valueassign (assign_op op, const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
octave_valueassign (assign_op, const octave_value &rhs)
 
octave_value atan (void) const
 
octave_value atanh (void) const
 
boolNDArray bool_array_value (bool warn=false) const
 
boolMatrix bool_matrix_value (bool warn=false) const
 
bool bool_value (bool warn=false) const
 
builtin_type_t builtin_type (void) const
 
size_t byte_size (void) const
 
octave_idx_type capacity (void) const
 
octave_value cbrt (void) const
 
octave_value ceil (void) const
 
Cell cell_value (void) const
 
Array< std::string > cellstr_value (void) const
 
charNDArray char_array_value (bool frc_str_conv=false) const
 
charMatrix char_matrix_value (bool frc_str_conv=false) const
 
std::string class_name (void) const
 
octave_base_valueclone (void) const
 
ColumnVector column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_idx_type columns (void) const
 
ComplexNDArray complex_array_value (bool frc_str_conv=false) const
 
ComplexColumnVector complex_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
ComplexDiagMatrix complex_diag_matrix_value (bool force=false) const
 
ComplexMatrix complex_matrix_value (bool frc_str_conv=false) const
 
ComplexRowVector complex_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
Complex complex_value (bool frc_str_conv=false) const
 
Array< Complexcomplex_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_value conj (void) const
 
void convert_to_row_or_column_vector (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
 
octave_value cos (void) const
 
octave_value cosh (void) const
 
octave_value dawson (void) const
 
octave_value diag (octave_idx_type k=0) const
 
octave_value diag (octave_idx_type m, octave_idx_type n) const
 
DiagMatrix diag_matrix_value (bool force=false) const
 
dim_vector dims (void) const
 
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_valuedo_non_const_unary_op (unary_op op)
 
octave_valuedo_non_const_unary_op (unary_op op, const std::string &type, const std::list< octave_value_list > &idx)
 
double double_value (bool frc_str_conv=false) const
 
void dump (std::ostream &os) const
 
octave_base_valueempty_clone (void) const
 
void erase_subfunctions (void)
 
octave_value erf (void) const
 
octave_value erfc (void) const
 
octave_value erfcinv (void) const
 
octave_value erfcx (void) const
 
octave_value erfi (void) const
 
octave_value erfinv (void) const
 
octave_value eval (void)
 
octave_value exp (void) const
 
octave_value expm1 (void) const
 
octave_value fast_elem_extract (octave_idx_type n) const
 
virtual bool fast_elem_insert (octave_idx_type n, const octave_value &x)
 
octave_fcn_handlefcn_handle_value (bool silent=false) const
 
octave_fcn_inlinefcn_inline_value (bool silent=false) const
 
octave_base_valuefind_parent_class (const std::string &parent_class_name)
 
octave_value finite (void) const
 
octave_value fix (void) const
 
FloatNDArray float_array_value (bool frc_str_conv=false) const
 
FloatColumnVector float_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
FloatComplexNDArray float_complex_array_value (bool frc_str_conv=false) const
 
FloatComplexColumnVector float_complex_column_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
FloatComplexDiagMatrix float_complex_diag_matrix_value (bool force=false) const
 
FloatComplexMatrix float_complex_matrix_value (bool frc_str_conv=false) const
 
FloatComplexRowVector float_complex_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
FloatComplex float_complex_value (bool frc_str_conv=false) const
 
Array< FloatComplexfloat_complex_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
FloatDiagMatrix float_diag_matrix_value (bool force=false) const
 
FloatMatrix float_matrix_value (bool frc_str_conv=false) const
 
FloatRowVector float_row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
float float_scalar_value (bool frc_str_conv=false) const
 
float float_value (bool frc_str_conv=false) const
 
Array< floatfloat_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_value floor (void) const
 
octave_value full_value (void) const
 
octave_functionfunction_value (bool silent=false) const
 
octave_value gamma (void) const
 
octave_idx_type get_count (void) const
 
const octave_base_valueget_rep (void) const
 
octave_idx_type idx_type_value (bool req_int=false, bool frc_str_conv=false) const
 
octave_value imag (void) const
 
idx_vector index_vector (bool require_integers=false) const
 
int16NDArray int16_array_value (void) const
 
octave_int16 int16_scalar_value (void) const
 
int32NDArray int32_array_value (void) const
 
octave_int32 int32_scalar_value (void) const
 
int64NDArray int64_array_value (void) const
 
octave_int64 int64_scalar_value (void) const
 
int64_t int64_value (bool req_int=false, bool frc_str_conv=false) const
 
int8NDArray int8_array_value (void) const
 
octave_int8 int8_scalar_value (void) const
 
int int_value (bool req_int=false, bool frc_str_conv=false) const
 
Array< intint_vector_value (bool req_int=false, bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_base_valueinternal_rep (void) const
 
octave_value ipermute (const Array< int > &vec) const
 
bool is_anonymous_function (void) const
 
bool is_bool_matrix (void) const
 
bool is_bool_scalar (void) const
 
bool is_bool_type (void) const
 
bool is_builtin_function (void) const
 
bool is_cell (void) const
 
bool is_cellstr (void) const
 
bool is_char_matrix (void) const
 
bool is_classdef_object (void) const
 
bool is_complex_matrix (void) const
 
bool is_complex_scalar (void) const
 
bool is_complex_type (void) const
 
bool is_constant (void) const
 
bool is_copy_of (const octave_value &val) const
 
bool is_cs_list (void) const
 
bool is_defined (void) const
 
bool is_diag_matrix (void) const
 
bool is_dld_function (void) const
 
bool is_double_type (void) const
 
bool is_dq_string (void) const
 
bool is_empty (void) const
 
bool is_equal (const octave_value &) const
 
bool is_float_type (void) const
 
bool is_function (void) const
 
bool is_function_handle (void) const
 
bool is_inline_function (void) const
 
bool is_instance_of (const std::string &cls_name) const
 
bool is_int16_type (void) const
 
bool is_int32_type (void) const
 
bool is_int64_type (void) const
 
bool is_int8_type (void) const
 
bool is_integer_type (void) const
 
bool is_java (void) const
 
bool is_magic_colon (void) const
 
bool is_map (void) const
 
bool is_matrix_type (void) const
 
bool is_mex_function (void) const
 
bool is_null_value (void) const
 
bool is_numeric_type (void) const
 
bool is_object (void) const
 
bool is_perm_matrix (void) const
 
bool is_range (void) const
 
bool is_real_matrix (void) const
 
bool is_real_scalar (void) const
 
bool is_real_type (void) const
 
bool is_scalar_type (void) const
 
bool is_single_type (void) const
 
sortmode is_sorted (sortmode mode=UNSORTED) const
 
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
 
bool is_sparse_type (void) const
 
bool is_sq_string (void) const
 
bool is_string (void) const
 
bool is_true (void) const
 
bool is_uint16_type (void) const
 
bool is_uint32_type (void) const
 
bool is_uint64_type (void) const
 
bool is_uint8_type (void) const
 
bool is_undefined (void) const
 
bool is_user_code (void) const
 
bool is_user_function (void) const
 
bool is_user_script (void) const
 
bool is_zero_by_zero (void) const
 
octave_value isinf (void) const
 
bool islocked (void) const
 
octave_value isna (void) const
 
octave_value isnan (void) const
 
octave_idx_type length (void) const
 
octave_value lgamma (void) const
 
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)
 
bool load_hdf5 (octave_hdf5_id loc_id, const char *name)
 
void lock (void)
 
octave_value log (void) const
 
octave_value log10 (void) const
 
octave_value log1p (void) const
 
octave_value log2 (void) const
 
long int long_value (bool req_int=false, bool frc_str_conv=false) const
 
void make_storable_value (void)
 
void make_unique (void)
 
void make_unique (int obsolete_copies)
 
octave_value map (octave_base_value::unary_mapper_t umap) const
 
string_vector map_keys (void) const
 
octave_map map_value (void) const
 
MatrixType matrix_type (void) const
 
MatrixType matrix_type (const MatrixType &typ) const
 
Matrix matrix_value (bool frc_str_conv=false) const
 
void maybe_economize (void)
 
void maybe_mutate (void)
 
void * mex_get_data (void) const
 
octave_idx_typemex_get_ir (void) const
 
octave_idx_typemex_get_jc (void) const
 
int ndims (void) const
 
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_list next_subsref (int nargout, const std::string &type, const std::list< octave_value_list > &idx, const std::list< octave_lvalue > *lvalue_list, 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_idx_type nfields (void) const
 
int nint_value (bool frc_str_conv=false) const
 
octave_idx_type nnz (void) const
 
size_t nparents (void) const
 
octave_idx_type numel (const octave_value_list &idx)
 
octave_idx_type numel (void) const
 
octave_base_value::type_conv_info numeric_conversion_function (void) const
 
octave_base_value::type_conv_info numeric_demotion_function (void) const
 
octave_idx_type nzmax (void) const
 
Array< octave_idx_typeoctave_idx_type_vector_value (bool req_int=false, bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_valueoperator= (const octave_value &a)
 
std::list< std::string > parent_class_name_list (void) const
 
string_vector parent_class_names (void) const
 
PermMatrix perm_matrix_value (void) const
 
octave_value permute (const Array< int > &vec, bool inv=false) const
 
void print (std::ostream &os, bool pr_as_read_syntax=false)
 
bool print_as_scalar (void) const
 
void print_info (std::ostream &os, const std::string &prefix=std::string()) 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) const
 
Range range_value (void) const
 
octave_value real (void) const
 
octave_value reshape (const dim_vector &dv) const
 
octave_value resize (const dim_vector &dv, bool fill=false) const
 
octave_value round (void) const
 
octave_value roundb (void) const
 
RowVector row_vector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
octave_idx_type rows (void) const
 
bool save_ascii (std::ostream &os)
 
bool save_binary (std::ostream &os, bool &save_as_floats)
 
bool save_hdf5 (octave_hdf5_id loc_id, const char *name, bool save_as_floats)
 
octave_scalar_map scalar_map_value (void) const
 
double scalar_value (bool frc_str_conv=false) const
 
void short_disp (std::ostream &os) const
 
short int short_value (bool req_int=false, bool frc_str_conv=false) const
 
octave_value signum (void) const
 
octave_value sin (void) const
 
octave_value single_subsref (const std::string &type, const octave_value_list &idx)
 
octave_value sinh (void) const
 
Matrix size (void)
 
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
 
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
 
SparseBoolMatrix sparse_bool_matrix_value (bool warn=false) const
 
SparseComplexMatrix sparse_complex_matrix_value (bool frc_str_conv=false) const
 
SparseMatrix sparse_matrix_value (bool frc_str_conv=false) const
 
octave_value sqrt (void) const
 
octave_value squeeze (void) const
 
octave_value storable_value (void) const
 
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)
 
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 tan (void) const
 
octave_value tanh (void) const
 
octave_base_valuetry_narrowing_conversion (void)
 
int type_id (void) const
 
std::string type_name (void) const
 
uint16NDArray uint16_array_value (void) const
 
octave_uint16 uint16_scalar_value (void) const
 
uint32NDArray uint32_array_value (void) const
 
octave_uint32 uint32_scalar_value (void) const
 
uint64NDArray uint64_array_value (void) const
 
octave_uint64 uint64_scalar_value (void) const
 
uint64_t uint64_value (bool req_int=false, bool frc_str_conv=false) const
 
uint8NDArray uint8_array_value (void) const
 
octave_uint8 uint8_scalar_value (void) const
 
unsigned int uint_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_value undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
void unlock (void)
 
octave_user_codeuser_code_value (bool silent=false) const
 
octave_user_functionuser_function_value (bool silent=false) const
 
octave_user_scriptuser_script_value (bool silent=false) const
 
unsigned short int ushort_value (bool req_int=false, bool frc_str_conv=false) const
 
Array< doublevector_value (bool frc_str_conv=false, bool frc_vec_conv=false) const
 
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_value xisalnum (void) const
 
octave_value xisalpha (void) const
 
octave_value xisascii (void) const
 
octave_value xiscntrl (void) const
 
octave_value xisdigit (void) const
 
octave_value xisgraph (void) const
 
octave_value xislower (void) const
 
octave_value xisprint (void) const
 
octave_value xispunct (void) const
 
octave_value xisspace (void) const
 
octave_value xisupper (void) const
 
octave_value xisxdigit (void) const
 
octave_value xsignbit (void) const
 
octave_value xtoascii (void) const
 
octave_value xtolower (void) const
 
octave_value xtoupper (void) const
 

Static Public Member Functions

static std::string assign_op_as_string (assign_op)
 
static binary_op assign_op_to_binary_op (assign_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 assign_op binary_op_to_assign_op (binary_op)
 
static octave_value empty_conv (const std::string &type, const octave_value &rhs=octave_value())
 
static std::string unary_op_as_string (unary_op)
 
static std::string unary_op_fcn_name (unary_op)
 

Protected Attributes

octave_base_valuerep
 

Private Member Functions

 octave_value (const octave_base_value *)
 
binary_op op_eq_to_binary_op (assign_op op)
 
assign_op unary_op_to_assign_op (unary_op op)
 

Friends

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)
 
OCTINTERP_API octave_value do_colon_op (const octave_value &base, const octave_value &limit, bool is_for_cmd_expr)
 
OCTINTERP_API octave_value do_colon_op (const octave_value &base, const octave_value &increment, const octave_value &limit, bool is_for_cmd_expr)
 
OCTINTERP_API octave_value do_unary_op (unary_op op, const octave_value &a)
 

Detailed Description

Definition at line 68 of file ov.h.

Member Enumeration Documentation

Enumerator
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 

Definition at line 131 of file ov.h.

Enumerator
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 

Definition at line 87 of file ov.h.

Enumerator
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 

Definition at line 114 of file ov.h.

Enumerator
magic_colon_t 

Definition at line 169 of file ov.h.

Enumerator
op_not 
op_uplus 
op_uminus 
op_transpose 
op_hermitian 
op_incr 
op_decr 
num_unary_ops 
unknown_unary_op 

Definition at line 74 of file ov.h.

Constructor & Destructor Documentation

octave_value::octave_value ( void  )
inline

Definition at line 171 of file ov.h.

References octave_base_value::count.

Referenced by empty_conv(), and storable_value().

octave_value::octave_value ( short int  i)

Definition at line 578 of file ov.cc.

octave_value::octave_value ( unsigned short int  i)

Definition at line 583 of file ov.cc.

octave_value::octave_value ( int  i)

Definition at line 588 of file ov.cc.

octave_value::octave_value ( unsigned int  i)

Definition at line 593 of file ov.cc.

octave_value::octave_value ( long int  i)

Definition at line 598 of file ov.cc.

octave_value::octave_value ( unsigned long int  i)

Definition at line 603 of file ov.cc.

octave_value::octave_value ( octave_time  t)

Definition at line 622 of file ov.cc.

octave_value::octave_value ( double  d)

Definition at line 627 of file ov.cc.

octave_value::octave_value ( float  d)

Definition at line 632 of file ov.cc.

octave_value::octave_value ( const Array< octave_value > &  a,
bool  is_cs_list = false 
)

Definition at line 644 of file ov.cc.

octave_value::octave_value ( const Cell c,
bool  is_cs_list = false 
)

Definition at line 637 of file ov.cc.

octave_value::octave_value ( const Matrix m,
const MatrixType t = MatrixType () 
)

Definition at line 651 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatMatrix m,
const MatrixType t = MatrixType () 
)

Definition at line 657 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const NDArray nda)

Definition at line 663 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatNDArray nda)

Definition at line 669 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< double > &  m)

Definition at line 675 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< float > &  m)

Definition at line 681 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagMatrix d)

Definition at line 719 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagArray2< double > &  d)

Definition at line 687 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagArray2< float > &  d)

Definition at line 695 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagArray2< Complex > &  d)

Definition at line 703 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagArray2< FloatComplex > &  d)

Definition at line 711 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatDiagMatrix d)

Definition at line 727 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const RowVector v)

Definition at line 735 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatRowVector v)

Definition at line 741 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ColumnVector v)

Definition at line 747 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatColumnVector v)

Definition at line 753 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Complex C)

Definition at line 759 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplex C)

Definition at line 765 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexMatrix m,
const MatrixType t = MatrixType () 
)

Definition at line 771 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexMatrix m,
const MatrixType t = MatrixType () 
)

Definition at line 777 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexNDArray cnda)

Definition at line 783 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexNDArray cnda)

Definition at line 789 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< Complex > &  m)

Definition at line 795 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< FloatComplex > &  m)

Definition at line 801 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexDiagMatrix d)

Definition at line 807 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexDiagMatrix d)

Definition at line 815 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexRowVector v)

Definition at line 823 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexRowVector v)

Definition at line 829 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexColumnVector v)

Definition at line 835 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexColumnVector v)

Definition at line 841 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const PermMatrix p)

Definition at line 847 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( bool  b)
octave_value::octave_value ( const boolMatrix bm,
const MatrixType t = MatrixType () 
)

Definition at line 860 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const boolNDArray bnda)

Definition at line 866 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< bool > &  bnda)

Definition at line 872 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( char  c,
char  type = '\'' 
)

Definition at line 878 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const char s,
char  type = '\'' 
)
octave_value::octave_value ( const std::string &  s,
char  type = '\'' 
)

Definition at line 894 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const string_vector s,
char  type = '\'' 
)
octave_value::octave_value ( const charMatrix chm,
char  type = '\'' 
)

Definition at line 910 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const charNDArray chnda,
char  type = '\'' 
)
octave_value::octave_value ( const Array< char > &  chnda,
char  type = '\'' 
)

Definition at line 926 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const charMatrix chm,
bool  is_string,
char  type = '\'' 
)
octave_value::octave_value ( const charNDArray chnda,
bool  is_string,
char  type = '\'' 
)

Definition at line 942 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< char > &  chnda,
bool  is_string,
char  type = '\'' 
)
octave_value::octave_value ( const SparseMatrix m,
const MatrixType t = MatrixType () 
)

Definition at line 958 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Sparse< double > &  m,
const MatrixType t = MatrixType () 
)

Definition at line 964 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const SparseComplexMatrix m,
const MatrixType t = MatrixType () 
)

Definition at line 970 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Sparse< Complex > &  m,
const MatrixType t = MatrixType () 
)

Definition at line 976 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const SparseBoolMatrix bm,
const MatrixType t = MatrixType () 
)

Definition at line 982 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Sparse< bool > &  m,
const MatrixType t = MatrixType () 
)

Definition at line 988 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int8 i)

Definition at line 994 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int16 i)

Definition at line 1006 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int32 i)

Definition at line 1018 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int64 i)

Definition at line 1030 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint8 i)

Definition at line 1000 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint16 i)

Definition at line 1012 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint32 i)

Definition at line 1024 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint64 i)

Definition at line 1036 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int8NDArray inda)

Definition at line 1042 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_int8 > &  inda)

Definition at line 1048 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int16NDArray inda)

Definition at line 1066 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_int16 > &  inda)

Definition at line 1072 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int32NDArray inda)

Definition at line 1090 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_int32 > &  inda)

Definition at line 1096 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int64NDArray inda)

Definition at line 1114 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_int64 > &  inda)

Definition at line 1120 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint8NDArray inda)

Definition at line 1054 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_uint8 > &  inda)

Definition at line 1060 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint16NDArray inda)

Definition at line 1078 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_uint16 > &  inda)

Definition at line 1084 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint32NDArray inda)

Definition at line 1102 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_uint32 > &  inda)

Definition at line 1108 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint64NDArray inda)

Definition at line 1126 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_uint64 > &  inda)

Definition at line 1132 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_idx_type > &  inda,
bool  zero_based = false,
bool  cache_index = false 
)

Definition at line 1138 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< std::string > &  cellstr)

Definition at line 1197 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const idx_vector idx,
bool  lazy = true 
)
octave_value::octave_value ( double  base,
double  limit,
double  inc 
)

Definition at line 1203 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Range r,
bool  force_range = false 
)

Definition at line 1209 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_map m)

Definition at line 1217 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_scalar_map m)

Definition at line 1223 of file ov.cc.

octave_value::octave_value ( const octave_map m,
const std::string &  id,
const std::list< std::string > &  plist 
)

Definition at line 1228 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_scalar_map m,
const std::string &  id,
const std::list< std::string > &  plist 
)

Definition at line 1235 of file ov.cc.

octave_value::octave_value ( const octave_value_list m,
bool  = false 
)

Definition at line 1241 of file ov.cc.

octave_value::octave_value ( octave_value::magic_colon  )

Definition at line 1246 of file ov.cc.

octave_value::octave_value ( octave_base_value new_rep,
bool  borrow = false 
)

Definition at line 1251 of file ov.cc.

References octave_base_value::count, and rep.

octave_value::octave_value ( octave_base_value new_rep,
int  xcount 
)
octave_value::octave_value ( const octave_value a)
inline

Definition at line 304 of file ov.h.

References octave_base_value::count, and rep.

octave_value::~octave_value ( void  )
inline

Definition at line 320 of file ov.h.

octave_value::octave_value ( const octave_base_value )
private

Member Function Documentation

octave_value octave_value::abs ( void  ) const
inline

Definition at line 1158 of file ov.h.

Referenced by do_hypot(), Fabs(), Flookup(), and OCTAVE_VALUE_INT_MATRIX_T::map().

octave_value octave_value::acos ( void  ) const
inline

Definition at line 1159 of file ov.h.

Referenced by Facos().

octave_value octave_value::acosh ( void  ) const
inline

Definition at line 1160 of file ov.h.

Referenced by Facosh().

octave_value octave_value::all ( int  dim = 0) const
inline
string_vector octave_value::all_strings ( bool  pad = false) const
inline
bool octave_value::all_zero_dims ( void  ) const
inline

Definition at line 481 of file ov.h.

Referenced by tree_matrix::rvalue1().

octave_value octave_value::angle ( void  ) const
inline

Definition at line 1161 of file ov.h.

octave_value octave_value::any ( int  dim = 0) const
inline
octave_value octave_value::arg ( void  ) const
inline

Definition at line 1162 of file ov.h.

Referenced by Fangle(), and Farg().

NDArray octave_value::array_value ( bool  frc_str_conv = false) const
inline
mxArray* octave_value::as_mxArray ( void  ) const
inline

Definition at line 1124 of file ov.h.

Referenced by mxArray_octave_value::as_mxArray(), octave_perm_matrix::as_mxArray(), and mexGet().

octave_value octave_value::asin ( void  ) const
inline

Definition at line 1163 of file ov.h.

Referenced by Fasin().

octave_value octave_value::asinh ( void  ) const
inline

Definition at line 1164 of file ov.h.

Referenced by Fasinh().

octave_value & octave_value::assign ( assign_op  op,
const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
octave_value & octave_value::assign ( assign_op  op,
const octave_value rhs 
)
std::string octave_value::assign_op_as_string ( assign_op  op)
static
octave_value::binary_op octave_value::assign_op_to_binary_op ( assign_op  op)
static
octave_value octave_value::atan ( void  ) const
inline

Definition at line 1165 of file ov.h.

Referenced by Fatan().

octave_value octave_value::atanh ( void  ) const
inline

Definition at line 1166 of file ov.h.

Referenced by Fatanh().

std::string octave_value::binary_op_as_string ( binary_op  op)
static
std::string octave_value::binary_op_fcn_name ( binary_op  op)
static
std::string octave_value::binary_op_fcn_name ( compound_binary_op  op)
static
octave_value::assign_op octave_value::binary_op_to_assign_op ( binary_op  op)
static
boolNDArray octave_value::bool_array_value ( bool  warn = false) const
inline
boolMatrix octave_value::bool_matrix_value ( bool  warn = false) const
inline

Definition at line 808 of file ov.h.

bool octave_value::bool_value ( bool  warn = false) const
inline
builtin_type_t octave_value::builtin_type ( void  ) const
inline
size_t octave_value::byte_size ( void  ) const
inline
octave_idx_type octave_value::capacity ( void  ) const
inline

Definition at line 486 of file ov.h.

Referenced by symbol_info_list::display(), and symbol_info_list::parse_whos_line_format().

octave_value octave_value::cbrt ( void  ) const
inline

Definition at line 1167 of file ov.h.

Referenced by Fcbrt().

octave_value octave_value::ceil ( void  ) const
inline

Definition at line 1168 of file ov.h.

Referenced by Fceil().

Cell octave_value::cell_value ( void  ) const
Array<std::string> octave_value::cellstr_value ( void  ) const
inline

Definition at line 900 of file ov.h.

Referenced by do_strcmp_fun(), Flookup(), Fnth_element(), G__magick_write__(), and G__voronoi__().

charNDArray octave_value::char_array_value ( bool  frc_str_conv = false) const
inline
charMatrix octave_value::char_matrix_value ( bool  frc_str_conv = false) const
inline
std::string octave_value::class_name ( void  ) const
inline
octave_base_value * octave_value::clone ( void  ) const

Definition at line 1265 of file ov.cc.

References octave_base_value::clone(), and rep.

Referenced by octave_base_value::empty_clone(), and octave_base_value::unique_clone().

ColumnVector octave_value::column_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1658 of file ov.cc.

References vector_value().

Referenced by Fmgorth(), G__magick_write__(), Gcholinsert(), Gcholupdate(), and xnorm().

octave_idx_type octave_value::columns ( void  ) const
inline
ComplexNDArray octave_value::complex_array_value ( bool  frc_str_conv = false) const
inline
ComplexColumnVector octave_value::complex_column_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1666 of file ov.cc.

References complex_vector_value().

Referenced by do_bessel(), Fmgorth(), Gcholinsert(), Gcholupdate(), and xnorm().

ComplexDiagMatrix octave_value::complex_diag_matrix_value ( bool  force = false) const
inline

Definition at line 836 of file ov.h.

Referenced by Fdet(), Finv(), and Fpinv().

ComplexMatrix octave_value::complex_matrix_value ( bool  frc_str_conv = false) const
inline
ComplexRowVector octave_value::complex_row_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1682 of file ov.cc.

References complex_vector_value().

Complex octave_value::complex_value ( bool  frc_str_conv = false) const
inline
Array< Complex > octave_value::complex_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
octave_value octave_value::conj ( void  ) const
inline

Definition at line 1169 of file ov.h.

Referenced by Fconj().

void octave_value::convert_to_row_or_column_vector ( void  )
inline

Definition at line 1025 of file ov.h.

octave_value octave_value::convert_to_str ( bool  pad = false,
bool  force = false,
char  type = '\'' 
) const
inline
octave_value octave_value::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
inline
octave_value octave_value::cos ( void  ) const
inline
octave_value octave_value::cosh ( void  ) const
inline

Definition at line 1171 of file ov.h.

Referenced by Fcosh().

octave_value octave_value::dawson ( void  ) const
inline

Definition at line 1178 of file ov.h.

Referenced by Fdawson().

octave_value octave_value::diag ( octave_idx_type  k = 0) const
inline

Definition at line 1126 of file ov.h.

References diag().

Referenced by octave_perm_matrix::diag(), octave_lazy_index::diag(), diag(), dispatch_kron(), and Fdiag().

octave_value octave_value::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
inline

Definition at line 1129 of file ov.h.

References diag().

DiagMatrix octave_value::diag_matrix_value ( bool  force = false) const
inline

Definition at line 830 of file ov.h.

Referenced by Fdet(), Finv(), and Fpinv().

dim_vector octave_value::dims ( void  ) const
inline
octave_value octave_value::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
)
inline
octave_value_list octave_value::do_multi_index_op ( int  nargout,
const octave_value_list idx 
)
octave_value_list octave_value::do_multi_index_op ( int  nargout,
const octave_value_list idx,
const std::list< octave_lvalue > *  lvalue_list 
)

Definition at line 1388 of file ov.cc.

References octave_base_value::do_multi_index_op(), and rep.

octave_value & octave_value::do_non_const_unary_op ( unary_op  op)
octave_value & octave_value::do_non_const_unary_op ( unary_op  op,
const std::string &  type,
const std::list< octave_value_list > &  idx 
)

Definition at line 2711 of file ov.cc.

References assign(), do_non_const_unary_op(), and unary_op_to_assign_op().

double octave_value::double_value ( bool  frc_str_conv = false) const
inline
void octave_value::dump ( std::ostream &  os) const
inline
octave_base_value* octave_value::empty_clone ( void  ) const
inline

Definition at line 314 of file ov.h.

References octave_base_value::empty_clone().

Referenced by empty_conv().

octave_value octave_value::empty_conv ( const std::string &  type,
const octave_value rhs = octave_value () 
)
static
void octave_value::erase_subfunctions ( void  )
inline

Definition at line 716 of file ov.h.

octave_value octave_value::erf ( void  ) const
inline

Definition at line 1172 of file ov.h.

Referenced by Ferf().

octave_value octave_value::erfc ( void  ) const
inline

Definition at line 1175 of file ov.h.

Referenced by Ferfc().

octave_value octave_value::erfcinv ( void  ) const
inline

Definition at line 1174 of file ov.h.

Referenced by Ferfcinv().

octave_value octave_value::erfcx ( void  ) const
inline

Definition at line 1176 of file ov.h.

Referenced by Ferfcx().

octave_value octave_value::erfi ( void  ) const
inline

Definition at line 1177 of file ov.h.

Referenced by Ferfi().

octave_value octave_value::erfinv ( void  ) const
inline

Definition at line 1173 of file ov.h.

Referenced by Ferfinv().

octave_value octave_value::eval ( void  )
inline

Definition at line 720 of file ov.h.

octave_value octave_value::exp ( void  ) const
inline

Definition at line 1179 of file ov.h.

Referenced by Fexp().

octave_value octave_value::expm1 ( void  ) const
inline

Definition at line 1180 of file ov.h.

Referenced by Fexpm1().

octave_value octave_value::fast_elem_extract ( octave_idx_type  n) const
inline

Definition at line 1232 of file ov.h.

References fast_elem_extract().

Referenced by fast_elem_extract(), and printf_value_cache::get_next_value().

virtual bool octave_value::fast_elem_insert ( octave_idx_type  n,
const octave_value x 
)
inlinevirtual

Definition at line 1239 of file ov.h.

octave_fcn_handle * octave_value::fcn_handle_value ( bool  silent = false) const
octave_fcn_inline * octave_value::fcn_inline_value ( bool  silent = false) const

Definition at line 1627 of file ov.cc.

References octave_base_value::fcn_inline_value(), and rep.

octave_base_value* octave_value::find_parent_class ( const std::string &  parent_class_name)
inline

Definition at line 923 of file ov.h.

References octave_base_value::find_parent_class().

octave_value octave_value::finite ( void  ) const
inline

Definition at line 1181 of file ov.h.

Referenced by Fisfinite().

octave_value octave_value::fix ( void  ) const
inline

Definition at line 1182 of file ov.h.

Referenced by Ffix().

FloatNDArray octave_value::float_array_value ( bool  frc_str_conv = false) const
inline
FloatColumnVector octave_value::float_column_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1869 of file ov.cc.

References float_vector_value().

Referenced by Fmgorth(), Gcholinsert(), Gcholupdate(), and xnorm().

FloatComplexNDArray octave_value::float_complex_array_value ( bool  frc_str_conv = false) const
inline
FloatComplexColumnVector octave_value::float_complex_column_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1877 of file ov.cc.

References float_complex_vector_value().

Referenced by do_bessel(), Fmgorth(), Gcholinsert(), Gcholupdate(), and xnorm().

FloatComplexDiagMatrix octave_value::float_complex_diag_matrix_value ( bool  force = false) const
inline

Definition at line 840 of file ov.h.

Referenced by Fdet(), Finv(), and Fpinv().

FloatComplexMatrix octave_value::float_complex_matrix_value ( bool  frc_str_conv = false) const
inline
FloatComplexRowVector octave_value::float_complex_row_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1894 of file ov.cc.

References float_complex_vector_value().

FloatComplex octave_value::float_complex_value ( bool  frc_str_conv = false) const
inline
Array< FloatComplex > octave_value::float_complex_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
FloatDiagMatrix octave_value::float_diag_matrix_value ( bool  force = false) const
inline

Definition at line 833 of file ov.h.

Referenced by Fdet(), Finv(), and Fpinv().

FloatMatrix octave_value::float_matrix_value ( bool  frc_str_conv = false) const
inline
FloatRowVector octave_value::float_row_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1886 of file ov.cc.

References float_vector_value().

float octave_value::float_scalar_value ( bool  frc_str_conv = false) const
inline

Definition at line 768 of file ov.h.

float octave_value::float_value ( bool  frc_str_conv = false) const
inline
Array< float > octave_value::float_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
octave_value octave_value::floor ( void  ) const
inline

Definition at line 1183 of file ov.h.

Referenced by Ffloor().

octave_value octave_value::full_value ( void  ) const
inline

Definition at line 385 of file ov.h.

References full_value().

Referenced by add_hdf5_data(), array_property::do_set(), and full_value().

octave_function * octave_value::function_value ( bool  silent = false) const
octave_value octave_value::gamma ( void  ) const
inline

Definition at line 1184 of file ov.h.

Referenced by Fgamma().

octave_idx_type octave_value::get_count ( void  ) const
inline

Definition at line 371 of file ov.h.

Referenced by print_info(), and tree_prefix_expression::rvalue1().

const octave_base_value& octave_value::get_rep ( void  ) const
inline
octave_idx_type octave_value::idx_type_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const

Definition at line 1575 of file ov.cc.

References int64_value(), and int_value().

Referenced by Flinspace().

octave_value octave_value::imag ( void  ) const
inline

Definition at line 1185 of file ov.h.

Referenced by Fimag().

idx_vector octave_value::index_vector ( bool  require_integers = false) const
inline
int16NDArray octave_value::int16_array_value ( void  ) const
inline
octave_int16 octave_value::int16_scalar_value ( void  ) const
inline

Definition at line 849 of file ov.h.

int32NDArray octave_value::int32_array_value ( void  ) const
inline
octave_int32 octave_value::int32_scalar_value ( void  ) const
inline

Definition at line 852 of file ov.h.

int64NDArray octave_value::int64_array_value ( void  ) const
inline
octave_int64 octave_value::int64_scalar_value ( void  ) const
inline

Definition at line 855 of file ov.h.

Referenced by octave_base_stream::do_numeric_printf_conv(), and octave_stream::seek().

int64_t octave_value::int64_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 749 of file ov.h.

Referenced by idx_type_value().

int8NDArray octave_value::int8_array_value ( void  ) const
inline
octave_int8 octave_value::int8_scalar_value ( void  ) const
inline

Definition at line 846 of file ov.h.

int octave_value::int_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline
Array< int > octave_value::int_vector_value ( bool  req_int = false,
bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
octave_base_value* octave_value::internal_rep ( void  ) const
inline
octave_value octave_value::ipermute ( const Array< int > &  vec) const
inline

Definition at line 504 of file ov.h.

References permute().

bool octave_value::is_anonymous_function ( void  ) const
inline

Definition at line 689 of file ov.h.

Referenced by feval(), and symbol_exist().

bool octave_value::is_bool_matrix ( void  ) const
inline

Definition at line 550 of file ov.h.

bool octave_value::is_bool_scalar ( void  ) const
inline

Definition at line 547 of file ov.h.

Referenced by bool_property::do_set(), and array_property::validate().

bool octave_value::is_bool_type ( void  ) const
inline
bool octave_value::is_builtin_function ( void  ) const
inline

Definition at line 707 of file ov.h.

Referenced by Fbsxfun(), and symbol_exist().

bool octave_value::is_cell ( void  ) const
inline
bool octave_value::is_cellstr ( void  ) const
inline
bool octave_value::is_char_matrix ( void  ) const
inline

Definition at line 553 of file ov.h.

Referenced by Fcellslices(), Flookup(), and Fnum2cell().

bool octave_value::is_classdef_object ( void  ) const
inline

Definition at line 580 of file ov.h.

Referenced by generate_struct_completions().

bool octave_value::is_complex_matrix ( void  ) const
inline

Definition at line 544 of file ov.h.

Referenced by save_mat5_binary_element(), save_mat5_element_length(), and save_mat_binary_data().

bool octave_value::is_complex_scalar ( void  ) const
inline
bool octave_value::is_complex_type ( void  ) const
inline
bool octave_value::is_constant ( void  ) const
inline

Definition at line 683 of file ov.h.

Referenced by symbol_exist(), and octave_lvalue::value().

bool octave_value::is_copy_of ( const octave_value val) const
inline

Definition at line 1087 of file ov.h.

References rep.

Referenced by octave_fcn_handle::is_equal_to(), and octave_value_list::make_storable_values().

bool octave_value::is_cs_list ( void  ) const
inline
bool octave_value::is_defined ( void  ) const
inline

Definition at line 520 of file ov.h.

Referenced by symbol_table::alias_built_in_function(), octave_class::all_strings(), assign(), attempt_type_conversion(), bind_ans(), symbol_table::built_in_function_names(), symbol_table::fcn_info::fcn_info_rep::builtin_find(), octave_oncleanup::clone(), symbol_table::cmdline_function_names(), tree_argument_list::convert_to_const_vector(), symbol_table::do_builtin_find(), do_class_concat(), do_colon_op(), gh_manager::do_execute_callback(), symbol_table::do_find(), cdef_manager::do_find_class(), octave_perm_matrix::do_index_op(), symbol_table::do_inherit(), do_load(), octave_fcn_handle::do_multi_index_op(), octave_user_function::do_multi_index_op(), do_save(), do_which(), symbol_table::do_workspace_info(), symbol_table::symbol_record::symbol_record_rep::dump(), dump_octave_core(), callback_property::execute(), F__luinc__(), Farrayfun(), Fbsxfun(), Fbuiltin(), Fcellfun(), Fend(), feval(), symbol_table::symbol_record::find(), symbol_table::fcn_info::fcn_info_rep::find(), symbol_table::find_function(), symbol_table::fcn_info::fcn_info_rep::find_method(), symbol_table::find_method(), Fisargout(), Fischar(), Fwaitfor(), Fwarning(), G__eigs__(), Gamd(), generate_struct_completions(), get_output_list(), get_user_code(), octave_stream::getl(), octave_stream::gets(), handle_message(), octave_class::index_vector(), cdef_class::cdef_class_rep::initialize_object(), tree_parameter_list::initialize_undefined_elements(), install_built_in_docstrings(), symbol_table::is_built_in_function_name(), callback_property::is_defined(), is_dummy_method(), is_equal(), tree_expression::is_logically_true(), is_method_executing(), is_valid_function(), is_variable(), tree_switch_case::label_matches(), symbol_table::fcn_info::fcn_info_rep::load_class_constructor(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), looks_like_struct(), make_fcn_handle(), make_method(), maybe_missing_function_hook(), cdef_package::cdef_package_rep::meta_subsref(), mexGet(), mexGetVariable(), mislocked(), munlock(), octave_class::numel(), octave_base_stream::oscanf(), octave_lazy_index::permute(), octave_oncleanup::print_raw(), octave_class::print_with_name(), raw_help_from_symbol_table(), octave_class::reconstruct_exemplar(), octave_user_function::restore_warning_states(), tree_identifier::rvalue(), tree_compound_binary_expression::rvalue1(), tree_colon_expression::rvalue1(), tree_binary_expression::rvalue1(), tree_prefix_expression::rvalue1(), tree_postfix_expression::rvalue1(), octave_class::size(), octave_stream::skipl(), octave_base_diag< DMT, MT >::subsasgn(), octave_cell::subsasgn(), octave_classdef::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), symbol_exist(), octave_perm_matrix::to_dense(), QtHandles::Backend::toolkitObjectProxy(), symbol_table::fcn_info::fcn_info_rep::x_builtin_find(), and symbol_table::fcn_info::fcn_info_rep::xfind().

bool octave_value::is_diag_matrix ( void  ) const
inline

Definition at line 556 of file ov.h.

Referenced by add_hdf5_data(), dispatch_kron(), Fdet(), Finv(), Fpinv(), and Fsqrtm().

bool octave_value::is_dld_function ( void  ) const
inline

Definition at line 710 of file ov.h.

bool octave_value::is_double_type ( void  ) const
inline
bool octave_value::is_dq_string ( void  ) const
inline
bool octave_value::is_empty ( void  ) const
inline
bool octave_value::is_equal ( const octave_value test) const

Definition at line 1547 of file ov.cc.

References columns(), do_binary_op, error_state, is_defined(), is_empty(), is_true(), op_eq, and rows().

Referenced by tree_switch_case::label_matches().

bool octave_value::is_float_type ( void  ) const
inline

Definition at line 614 of file ov.h.

Referenced by Fdot(), Fisa(), Fisfloat(), and G__magick_write__().

bool octave_value::is_function ( void  ) const
inline
bool octave_value::is_function_handle ( void  ) const
inline
bool octave_value::is_inline_function ( void  ) const
inline
bool octave_value::is_instance_of ( const std::string &  cls_name) const
inline

Definition at line 926 of file ov.h.

Referenced by Fisa(), and octave_class::is_instance_of().

bool octave_value::is_int16_type ( void  ) const
inline
bool octave_value::is_int32_type ( void  ) const
inline
bool octave_value::is_int64_type ( void  ) const
inline
bool octave_value::is_int8_type ( void  ) const
inline
bool octave_value::is_integer_type ( void  ) const
inline
bool octave_value::is_java ( void  ) const
inline

Definition at line 583 of file ov.h.

Referenced by generate_struct_completions().

bool octave_value::is_magic_colon ( void  ) const
inline

Definition at line 589 of file ov.h.

Referenced by dims_to_numel().

bool octave_value::is_map ( void  ) const
inline
bool octave_value::is_matrix_type ( void  ) const
inline
bool octave_value::is_mex_function ( void  ) const
inline

Definition at line 713 of file ov.h.

bool octave_value::is_null_value ( void  ) const
inline
bool octave_value::is_numeric_type ( void  ) const
inline
bool octave_value::is_object ( void  ) const
inline
bool octave_value::is_perm_matrix ( void  ) const
inline

Definition at line 559 of file ov.h.

Referenced by add_hdf5_data(), dispatch_kron(), Fdet(), Ffind(), Finv(), Fluupdate(), and Fpinv().

bool octave_value::is_range ( void  ) const
inline
bool octave_value::is_real_matrix ( void  ) const
inline
bool octave_value::is_real_scalar ( void  ) const
inline
bool octave_value::is_real_type ( void  ) const
inline
bool octave_value::is_scalar_type ( void  ) const
inline
bool octave_value::is_single_type ( void  ) const
inline
sortmode octave_value::is_sorted ( sortmode  mode = UNSORTED) const
inline

Definition at line 1138 of file ov.h.

Referenced by octave_base_sparse< SparseComplexMatrix >::is_sorted().

sortmode octave_value::is_sorted_rows ( sortmode  mode = UNSORTED) const
inline

Definition at line 1144 of file ov.h.

Referenced by Fissorted().

bool octave_value::is_sparse_type ( void  ) const
inline
bool octave_value::is_sq_string ( void  ) const
inline
bool octave_value::is_string ( void  ) const
inline

Definition at line 562 of file ov.h.

Referenced by mxArray_octave_value::array_to_string(), attribute_value_to_string(), check_access(), convert_linestyleorder_string(), convert_ticklabel_string(), do_colon_op(), do_dbstack(), do_dbupdown(), gh_manager::do_execute_callback(), do_fread(), do_fwrite(), octave_stream_list::do_get_file_number(), do_history(), tm_row_const::tm_row_const_rep::do_init_element(), octave_base_stream::do_printf(), do_rand(), octave_stream_list::do_remove(), string_property::do_set(), string_array_property::do_set(), text_label_property::do_set(), radio_property::do_set(), color_property::do_set(), double_radio_property::do_set(), do_strcmp_fun(), do_stream_open(), extract_function(), F__dump_symtab_info__(), F__methods__(), Faddpath(), Farrayfun(), Fbitunpack(), Fbsxfun(), Fcellfun(), Fdblist(), Ferror(), feval(), Ffind(), Ffread(), Ffwrite(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), Fischar(), Fismethod(), Flookup(), Fmerge(), Fnargin(), Fnargout(), Fnorm(), Fsparse(), Fspparms(), Fsprintf(), Fstrfind(), Fstrrep(), Ftypecast(), Fwarning(), G__magick_read__(), G__voronoi__(), get_int_arg(), printf_value_cache::get_next_value(), get_sort_mode_option(), get_sscanf_data(), mxArray_octave_value::get_string(), tree_index_expression::get_struct_index(), gripe_method_access(), gripe_property_access(), handle_message(), hook_function::hook_function(), mxArray_octave_value::is_char(), is_valid_function(), lookup_class(), tree_index_expression::lvalue(), make_idx_args(), ok_for_signed_int_conv(), ok_for_unsigned_int_conv(), octave_stream::oscanf(), parse_range_spec(), octave_stream::printf(), octave_stream::puts(), tree_matrix::rvalue1(), save_mat5_binary_element(), save_mat5_element_length(), save_mat_binary_data(), octave_stream::scanf(), octave_stream::seek(), property_list::set(), figure::properties::set___graphics_toolkit__(), figure::properties::set___mouse_mode__(), axes::properties::set_text_child(), graphics_object::set_value_or_default(), text_label_property::text_label_property(), callback_property::validate(), and tree_evaluator::visit_simple_for_command().

bool octave_value::is_true ( void  ) const
inline
bool octave_value::is_uint16_type ( void  ) const
inline
bool octave_value::is_uint32_type ( void  ) const
inline
bool octave_value::is_uint64_type ( void  ) const
inline
bool octave_value::is_uint8_type ( void  ) const
inline
bool octave_value::is_undefined ( void  ) const
inline
bool octave_value::is_user_code ( void  ) const
inline

Definition at line 704 of file ov.h.

Referenced by get_user_code().

bool octave_value::is_user_function ( void  ) const
inline

Definition at line 701 of file ov.h.

Referenced by is_dummy_method(), octave_class::subsasgn_common(), and symbol_exist().

bool octave_value::is_user_script ( void  ) const
inline

Definition at line 698 of file ov.h.

Referenced by do_which().

bool octave_value::is_zero_by_zero ( void  ) const
inline
octave_value octave_value::isinf ( void  ) const
inline

Definition at line 1186 of file ov.h.

Referenced by Fisinf(), and is_nan_or_inf().

bool octave_value::islocked ( void  ) const
inline

Definition at line 1151 of file ov.h.

octave_value octave_value::isna ( void  ) const
inline

Definition at line 1187 of file ov.h.

Referenced by Fisna().

octave_value octave_value::isnan ( void  ) const
inline

Definition at line 1188 of file ov.h.

Referenced by Fisnan(), and is_nan_or_inf().

octave_idx_type octave_value::length ( void  ) const

Definition at line 1525 of file ov.cc.

References dims(), and dim_vector::length().

Referenced by gh_manager::do_execute_callback(), F__calc_dimensions__(), F__db_next_breakpoint_quiet__(), F__dispatch__(), F__dump_symtab_info__(), F__ftp__(), F__ftp_ascii__(), F__ftp_binary__(), F__ftp_close__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_dir__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mode__(), F__ftp_mput__(), F__ftp_pwd__(), F__ftp_rename__(), F__ftp_rmdir__(), F__go_axes_init__(), F__go_execute_callback__(), F__gud_mode__(), F__image_pixel_size__(), F__lin_interpn__(), F__parse_file__(), F__pchip_deriv__(), F__request_drawnow__(), F__zoom__(), Fadd_input_event_hook(), Fargnames(), Fatan2(), Fautoload(), Fbetainc(), Fbetaincinv(), Fbitmax(), Fbitshift(), Fblkmm(), Fcell(), Fcell2struct(), Fcellslices(), Fchar(), Fclass(), Fcompletion_matches(), Fcomplex(), Fconv2(), Fconvn(), Fcumsum(), Fdbclear(), Fdiag(), Fdo_string_escapes(), Fdot(), Ferrno(), Ferror(), Fexist(), Ffclear(), Ffeof(), Ffile_in_loadpath(), Ffile_in_path(), Fflintmax(), Fformula(), Ffprintf(), Ffputs(), Ffrewind(), Ffskipl(), Fftell(), Ffwrite(), Fgammainc(), Fgcd(), Fgetegid(), Fgetenv(), Fgeteuid(), Fgetgid(), Fgetpid(), Fgetppid(), Fgetuid(), Fhypot(), Fignore_function_time_stamp(), Finline(), Fintmax(), Fintmin(), Fis_function_handle(), Fischar(), Fisfield(), Fisindex(), Fiskeyword(), Fisnull(), Fisvarname(), Fkron(), Flasterror(), Flength(), Flist_in_columns(), Flookup(), Fmd5sum(), Fmfilename(), Fmod(), Fnproc(), Fnumfields(), FOCTAVE_VERSION(), FP_tmpdir(), Fpath(), Fpathsep(), Fpause(), Fpclose(), Fpinv(), Fpopen(), Fprintf(), Fprod(), Frand(), Frande(), Frandg(), Frandn(), Frandp(), Frats(), Frcond(), Frem(), Frethrow(), Frmfield(), Frpl_fclose(), Frpl_fflush(), Frpl_fseek(), Fset(), Fsize_equal(), Fspalloc(), Fsparse(), Fstr2func(), Fstrfind(), Fstrrep(), Fstruct(), Fstruct2cell(), Fstrvcat(), Fsum(), Fsylvester(), Ftempname(), Ftilde_expand(), Ftypeinfo(), Fundo_string_escapes(), Funsetenv(), Fvectorize(), Fwarning(), Fyes_or_no(), Gaudiodevinfo(), Gaudiowrite(), Gchol2inv(), Gcholinv(), Gfftw(), Gsymrcm(), make_fcn_handle(), make_idx_args(), tree_matrix::rvalue1(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_scalar_struct::subsasgn(), octave_class::subsasgn_common(), try_cellfun_internal_ops(), and callback_property::validate().

octave_value octave_value::lgamma ( void  ) const
inline

Definition at line 1189 of file ov.h.

Referenced by ddaspk(), ddasrt(), ddassl(), and Flgamma().

octave_value_list octave_value::list_value ( void  ) const
bool octave_value::load_ascii ( std::istream &  is)
inline

Definition at line 1094 of file ov.h.

Referenced by read_ascii_data().

bool octave_value::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
)
inline

Definition at line 1099 of file ov.h.

Referenced by read_binary_data().

bool octave_value::load_hdf5 ( octave_hdf5_id  loc_id,
const char name 
)
inline

Definition at line 1107 of file ov.h.

Referenced by hdf5_read_next_data().

void octave_value::lock ( void  )
inline

Definition at line 1147 of file ov.h.

octave_value octave_value::log ( void  ) const
inline
octave_value octave_value::log10 ( void  ) const
inline

Definition at line 1192 of file ov.h.

Referenced by d1mach(), Flog10(), and r1mach().

octave_value octave_value::log1p ( void  ) const
inline

Definition at line 1193 of file ov.h.

Referenced by Flog1p().

octave_value octave_value::log2 ( void  ) const
inline

Definition at line 1191 of file ov.h.

long int octave_value::long_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 741 of file ov.h.

void octave_value::make_storable_value ( void  )
void octave_value::make_unique ( void  )
inline
void octave_value::make_unique ( int  obsolete_copies)
inline

Definition at line 342 of file ov.h.

References octave_base_value::unique_clone().

octave_value octave_value::map ( octave_base_value::unary_mapper_t  umap) const
inline
string_vector octave_value::map_keys ( void  ) const
inline

Definition at line 910 of file ov.h.

Referenced by generate_struct_completions().

octave_map octave_value::map_value ( void  ) const
MatrixType octave_value::matrix_type ( void  ) const
inline
MatrixType octave_value::matrix_type ( const MatrixType typ) const
inline

Definition at line 513 of file ov.h.

Matrix octave_value::matrix_value ( bool  frc_str_conv = false) const
inline

Definition at line 773 of file ov.h.

Referenced by QtHandles::ButtonControl::ButtonControl(), axes::properties::calc_ticklabels(), axes::properties::calc_ticks_and_lims(), QtHandles::Canvas::canvasMouseReleaseEvent(), check_limit_vals(), convert_cdata(), do_colon_op(), color_property::do_set(), children_property::do_set(), opengl_selector::draw_image(), F__luinc__(), Fdet(), Feig(), Fhess(), Finv(), Fisargout(), axes::properties::fix_limits(), Flu(), Fluupdate(), Fmgorth(), Fpinv(), Fschur(), Fsvd(), Fsylvester(), octave_range::full_value(), Gchol(), Gchol2inv(), Gcholdelete(), Gcholinsert(), Gcholinv(), Gcholshift(), Gcholupdate(), Gqr(), Gqrdelete(), Gqrinsert(), Gqrshift(), Gqrupdate(), tree_parameter_list::initialize_undefined_elements(), QtHandles::ListBoxControl::ListBoxControl(), save_mat_ascii_data(), save_mat_binary_data(), save_three_d(), scalar_xpow(), screen_size_pixels(), gnuplot_graphics_toolkit::send_quit(), QtHandles::SliderControl::SliderControl(), QtHandles::ButtonControl::toggled(), QtHandles::ButtonControl::update(), QtHandles::PopupMenuControl::update(), QtHandles::ListBoxControl::update(), QtHandles::SliderControl::update(), QtHandles::ContextMenu::update(), axes::update_axis_limits(), hggroup::update_axis_limits(), axes::properties::update_looseinset(), axes::properties::update_outerposition(), axes::properties::update_position(), axes::properties::update_xscale(), axes::properties::update_yscale(), axes::properties::update_zscale(), QtHandles::SliderControl::valueChanged(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().

void octave_value::maybe_economize ( void  )
inline

Definition at line 999 of file ov.h.

Referenced by make_storable_value(), and storable_value().

void octave_value::maybe_mutate ( void  )
void* octave_value::mex_get_data ( void  ) const
inline

Definition at line 1118 of file ov.h.

Referenced by mxArray_octave_value::get_data().

octave_idx_type* octave_value::mex_get_ir ( void  ) const
inline

Definition at line 1120 of file ov.h.

Referenced by mxArray_octave_value::get_ir().

octave_idx_type* octave_value::mex_get_jc ( void  ) const
inline

Definition at line 1122 of file ov.h.

Referenced by mxArray_octave_value::get_jc().

int octave_value::ndims ( void  ) const
inline
octave_value octave_value::next_subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
size_t  skip = 1 
)
octave_value octave_value::next_subsref ( int  nargout,
const std::string &  type,
const std::list< octave_value_list > &  idx,
size_t  skip = 1 
)

Definition at line 1333 of file ov.cc.

References error_state, and subsref().

octave_value_list octave_value::next_subsref ( int  nargout,
const std::string &  type,
const std::list< octave_value_list > &  idx,
const std::list< octave_lvalue > *  lvalue_list,
size_t  skip = 1 
)

Definition at line 1349 of file ov.cc.

References error_state, and subsref().

octave_value octave_value::next_subsref ( bool  auto_add,
const std::string &  type,
const std::list< octave_value_list > &  idx,
size_t  skip = 1 
)
octave_idx_type octave_value::nfields ( void  ) const
inline
int octave_value::nint_value ( bool  frc_str_conv = false) const
inline

Definition at line 737 of file ov.h.

Referenced by Flasterror(), and G__eigs__().

octave_idx_type octave_value::nnz ( void  ) const
inline

Definition at line 492 of file ov.h.

Referenced by Fnnz(), and save_mat_binary_data().

size_t octave_value::nparents ( void  ) const
inline

Definition at line 913 of file ov.h.

Referenced by octave_class::exemplar_info::compare().

octave_idx_type octave_value::numel ( const octave_value_list idx)
inline
octave_idx_type octave_value::numel ( void  ) const
inline

Definition at line 483 of file ov.h.

Referenced by octave_base_value::capacity().

octave_base_value::type_conv_info octave_value::numeric_conversion_function ( void  ) const
inline
octave_base_value::type_conv_info octave_value::numeric_demotion_function ( void  ) const
inline

Definition at line 376 of file ov.h.

Referenced by do_binary_op().

octave_idx_type octave_value::nzmax ( void  ) const
inline

Definition at line 494 of file ov.h.

Referenced by Fnzmax(), Fsparse(), and mxArray_octave_value::get_nzmax().

Array< octave_idx_type > octave_value::octave_idx_type_vector_value ( bool  req_int = false,
bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
octave_value::binary_op octave_value::op_eq_to_binary_op ( assign_op  op)
private
octave_value& octave_value::operator= ( const octave_value a)
inline

Definition at line 357 of file ov.h.

References octave_base_value::count, and rep.

Referenced by assign().

std::list<std::string> octave_value::parent_class_name_list ( void  ) const
inline
string_vector octave_value::parent_class_names ( void  ) const
inline

Definition at line 919 of file ov.h.

Referenced by F__parent_classes__().

PermMatrix octave_value::perm_matrix_value ( void  ) const
inline

Definition at line 843 of file ov.h.

Referenced by Fdet(), Ffind(), Finv(), Fluupdate(), and Fpinv().

octave_value octave_value::permute ( const Array< int > &  vec,
bool  inv = false 
) const
inline
void octave_value::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
)
inline

Definition at line 1031 of file ov.h.

Referenced by Fdisp(), Ffdisp(), Frats(), and tree_constant::print().

bool octave_value::print_as_scalar ( void  ) const
inline

Definition at line 1028 of file ov.h.

void octave_value::print_info ( std::ostream &  os,
const std::string &  prefix = std::string () 
) const

Definition at line 2488 of file ov.cc.

References get_count(), octave_base_value::print_info(), rep, and type_name().

bool octave_value::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const
inline

Definition at line 1037 of file ov.h.

Referenced by print_nd_array().

void octave_value::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
inline
void octave_value::print_with_name ( std::ostream &  os,
const std::string &  name 
) const
inline
Range octave_value::range_value ( void  ) const
inline
octave_value octave_value::real ( void  ) const
inline

Definition at line 1194 of file ov.h.

Referenced by Freal().

octave_value octave_value::reshape ( const dim_vector dv) const
inline
octave_value octave_value::resize ( const dim_vector dv,
bool  fill = false 
) const
inline
octave_value octave_value::round ( void  ) const
inline

Definition at line 1195 of file ov.h.

Referenced by Fround().

octave_value octave_value::roundb ( void  ) const
inline

Definition at line 1196 of file ov.h.

Referenced by Froundb().

RowVector octave_value::row_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1674 of file ov.cc.

References vector_value().

Referenced by get_dim_vector().

octave_idx_type octave_value::rows ( void  ) const
inline
bool octave_value::save_ascii ( std::ostream &  os)
inline

Definition at line 1092 of file ov.h.

Referenced by save_ascii_data().

bool octave_value::save_binary ( std::ostream &  os,
bool save_as_floats 
)
inline

Definition at line 1096 of file ov.h.

Referenced by save_binary_data().

bool octave_value::save_hdf5 ( octave_hdf5_id  loc_id,
const char name,
bool  save_as_floats 
)
inline

Definition at line 1103 of file ov.h.

Referenced by add_hdf5_data().

octave_scalar_map octave_value::scalar_map_value ( void  ) const
double octave_value::scalar_value ( bool  frc_str_conv = false) const
inline
void octave_value::short_disp ( std::ostream &  os) const
inline

Definition at line 1043 of file ov.h.

Referenced by symbol_table::do_workspace_info().

short int octave_value::short_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 723 of file ov.h.

octave_value octave_value::signum ( void  ) const
inline

Definition at line 1197 of file ov.h.

Referenced by Fsign(), and OCTAVE_VALUE_INT_MATRIX_T::map().

octave_value octave_value::sin ( void  ) const
inline
octave_value octave_value::single_subsref ( const std::string &  type,
const octave_value_list idx 
)

Definition at line 1285 of file ov.cc.

References rep, and octave_base_value::subsref().

Referenced by do_object2cell(), Fvec(), and maybe_update_column().

octave_value octave_value::sinh ( void  ) const
inline

Definition at line 1199 of file ov.h.

Referenced by Fsinh().

Matrix octave_value::size ( void  )
inline
octave_value octave_value::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inline
octave_value octave_value::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inline

Definition at line 1134 of file ov.h.

References sort().

Array<octave_idx_type> octave_value::sort_rows_idx ( sortmode  mode = ASCENDING) const
inline

Definition at line 1141 of file ov.h.

References Array< T >::sort_rows_idx().

Referenced by F__sort_rows_idx__().

SparseBoolMatrix octave_value::sparse_bool_matrix_value ( bool  warn = false) const
inline

Definition at line 827 of file ov.h.

Referenced by do_trilu(), Ffind(), Flogical(), Fprod(), Fsparse(), Fsum(), and octave_base_sparse< T >::map().

SparseComplexMatrix octave_value::sparse_complex_matrix_value ( bool  frc_str_conv = false) const
inline
SparseMatrix octave_value::sparse_matrix_value ( bool  frc_str_conv = false) const
inline
octave_value octave_value::sqrt ( void  ) const
inline
octave_value octave_value::squeeze ( void  ) const
inline

Definition at line 381 of file ov.h.

References squeeze().

Referenced by octave_struct::squeeze(), and squeeze().

octave_value octave_value::storable_value ( void  ) const
std::string octave_value::string_value ( bool  force = false) const
inline

Definition at line 897 of file ov.h.

Referenced by attribute_value_to_string(), QtHandles::Container::canvas(), Cell::cellstr_value(), check_access(), convert_linestyleorder_string(), convert_ticklabel_string(), do_dbstack(), do_dbupdown(), gh_manager::do_execute_callback(), do_fread(), do_fwrite(), octave_stream_list::do_get_file_number(), do_history(), octave_base_stream::do_printf(), do_rand(), octave_stream_list::do_remove(), string_property::do_set(), string_array_property::do_set(), radio_property::do_set(), color_property::do_set(), double_radio_property::do_set(), do_strcmp_fun(), do_stream_open(), eval_string(), extract_function(), F__dispatch__(), F__dump_symtab_info__(), F__ftp__(), F__ftp_cwd__(), F__ftp_delete__(), F__ftp_mget__(), F__ftp_mkdir__(), F__ftp_mput__(), F__ftp_rename__(), F__ftp_rmdir__(), F__methods__(), F__octave_link_edit_file__(), F__octave_link_message_dialog__(), F__octave_link_question_dialog__(), F__octave_link_show_doc__(), F__open_with_system_app__(), F__varval__(), Faddpath(), Faddproperty(), Fbsxfun(), Fconv2(), Fconvn(), Fdblist(), Ferror(), feval(), Fignore_function_time_stamp(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), Finferiorto(), Fismethod(), Flasterror(), Flist_in_columns(), Flookup(), Fmislocked(), Fnargin(), Fnargout(), Fnorm(), Frethrow(), Fstr2double(), Fstrftime(), Fsuperiorto(), Fwarning(), G__magick_finfo__(), G__magick_formats__(), G__magick_ping__(), G__magick_read__(), G__magick_write__(), G__voronoi__(), Gaudioinfo(), Gaudiowrite(), get_int_arg(), printf_value_cache::get_next_value(), get_sort_mode_option(), get_sscanf_data(), tree_index_expression::get_struct_index(), Gfftw(), gripe_method_access(), gripe_property_access(), handle_message(), hook_function::hook_function(), is_valid_function(), lookup_class(), octave_value_list::make_argv(), QtHandles::Figure::mouseMode(), octave_stream::oscanf(), QtHandles::pan_enabled(), QtHandles::pan_mode(), parse_range_spec(), octave_stream::printf(), octave_stream::puts(), read_mat5_binary_element(), QtHandles::rotate_enabled(), octave_stream::scanf(), screen_size_pixels(), octave_stream::seek(), property_list::set(), figure::properties::set___graphics_toolkit__(), figure::properties::set___mouse_mode__(), set_LSODE_options(), figure::properties::set_papertype(), figure::properties::set_paperunits(), graphics_object::set_value_or_default(), figure::properties::set_visible(), octave_base_value::string_value(), stringfield(), warning_enabled(), QtHandles::zoom_direction(), QtHandles::zoom_enabled(), and QtHandles::zoom_mode().

octave_value octave_value::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
octave_value octave_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
)
inline
octave_value_list octave_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
)
inline

Definition at line 405 of file ov.h.

References subsref().

octave_value_list octave_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout 
)
octave_value_list octave_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout,
const std::list< octave_lvalue > *  lvalue_list 
)

Definition at line 1306 of file ov.cc.

References rep, octave_base_value::subsref(), and subsref().

octave_value octave_value::tan ( void  ) const
inline

Definition at line 1201 of file ov.h.

Referenced by Ftan().

octave_value octave_value::tanh ( void  ) const
inline

Definition at line 1202 of file ov.h.

Referenced by Ftanh().

octave_base_value* octave_value::try_narrowing_conversion ( void  )
inline

Definition at line 388 of file ov.h.

References octave_base_value::try_narrowing_conversion().

int octave_value::type_id ( void  ) const
inline
std::string octave_value::type_name ( void  ) const
inline
uint16NDArray octave_value::uint16_array_value ( void  ) const
inline
octave_uint16 octave_value::uint16_scalar_value ( void  ) const
inline

Definition at line 861 of file ov.h.

uint32NDArray octave_value::uint32_array_value ( void  ) const
inline
octave_uint32 octave_value::uint32_scalar_value ( void  ) const
inline

Definition at line 864 of file ov.h.

uint64NDArray octave_value::uint64_array_value ( void  ) const
inline
octave_uint64 octave_value::uint64_scalar_value ( void  ) const
inline

Definition at line 867 of file ov.h.

Referenced by octave_base_stream::do_numeric_printf_conv(), and ok_for_signed_int_conv().

uint64_t octave_value::uint64_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 753 of file ov.h.

uint8NDArray octave_value::uint8_array_value ( void  ) const
inline
octave_uint8 octave_value::uint8_scalar_value ( void  ) const
inline

Definition at line 858 of file ov.h.

unsigned int octave_value::uint_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 734 of file ov.h.

Referenced by G__magick_write__().

unsigned long int octave_value::ulong_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 745 of file ov.h.

std::string octave_value::unary_op_as_string ( unary_op  op)
static
std::string octave_value::unary_op_fcn_name ( unary_op  op)
static

Definition at line 156 of file ov.cc.

References op_hermitian, op_not, op_transpose, op_uminus, and op_uplus.

octave_value::assign_op octave_value::unary_op_to_assign_op ( unary_op  op)
private

Definition at line 2731 of file ov.cc.

References error(), op_add_eq, op_decr, op_incr, op_sub_eq, unary_op_as_string(), and unknown_assign_op.

Referenced by do_non_const_unary_op().

octave_value octave_value::undef_subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
void octave_value::unlock ( void  )
inline

Definition at line 1149 of file ov.h.

octave_user_code * octave_value::user_code_value ( bool  silent = false) const

Definition at line 1615 of file ov.cc.

References rep, and octave_base_value::user_code_value().

Referenced by get_user_code().

octave_user_function * octave_value::user_function_value ( bool  silent = false) const
octave_user_script * octave_value::user_script_value ( bool  silent = false) const

Definition at line 1609 of file ov.cc.

References rep, and octave_base_value::user_script_value().

unsigned short int octave_value::ushort_value ( bool  req_int = false,
bool  frc_str_conv = false 
) const
inline

Definition at line 727 of file ov.h.

Array< double > octave_value::vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const
int octave_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

Definition at line 1956 of file ov.cc.

References rep, and octave_base_value::write().

Referenced by octave_perm_matrix::write(), and octave_stream::write().

octave_value octave_value::xisalnum ( void  ) const
inline

Definition at line 1207 of file ov.h.

Referenced by Fisalnum(), and Cell::xisalnum().

octave_value octave_value::xisalpha ( void  ) const
inline

Definition at line 1208 of file ov.h.

Referenced by Fisalpha(), and Cell::xisalpha().

octave_value octave_value::xisascii ( void  ) const
inline

Definition at line 1209 of file ov.h.

Referenced by Fisascii(), and Cell::xisascii().

octave_value octave_value::xiscntrl ( void  ) const
inline

Definition at line 1210 of file ov.h.

Referenced by Fiscntrl(), and Cell::xiscntrl().

octave_value octave_value::xisdigit ( void  ) const
inline

Definition at line 1211 of file ov.h.

Referenced by Fisdigit(), and Cell::xisdigit().

octave_value octave_value::xisgraph ( void  ) const
inline

Definition at line 1212 of file ov.h.

Referenced by Fisgraph(), and Cell::xisgraph().

octave_value octave_value::xislower ( void  ) const
inline

Definition at line 1213 of file ov.h.

Referenced by Fislower(), and Cell::xislower().

octave_value octave_value::xisprint ( void  ) const
inline

Definition at line 1214 of file ov.h.

Referenced by Fisprint(), and Cell::xisprint().

octave_value octave_value::xispunct ( void  ) const
inline

Definition at line 1215 of file ov.h.

Referenced by Fispunct(), and Cell::xispunct().

octave_value octave_value::xisspace ( void  ) const
inline

Definition at line 1216 of file ov.h.

Referenced by Fisspace(), and Cell::xisspace().

octave_value octave_value::xisupper ( void  ) const
inline

Definition at line 1217 of file ov.h.

Referenced by Fisupper(), and Cell::xisupper().

octave_value octave_value::xisxdigit ( void  ) const
inline

Definition at line 1218 of file ov.h.

Referenced by Fisxdigit(), and Cell::xisxdigit().

octave_value octave_value::xsignbit ( void  ) const
inline

Definition at line 1219 of file ov.h.

Referenced by Fsignbit().

octave_value octave_value::xtoascii ( void  ) const
inline

Definition at line 1220 of file ov.h.

Referenced by Ftoascii(), and Cell::xtoascii().

octave_value octave_value::xtolower ( void  ) const
inline

Definition at line 1221 of file ov.h.

Referenced by Ftolower(), and Cell::xtolower().

octave_value octave_value::xtoupper ( void  ) const
inline

Definition at line 1222 of file ov.h.

Referenced by Ftoupper(), and Cell::xtoupper().

Friends And Related Function Documentation

OCTINTERP_API octave_value do_binary_op ( binary_op  op,
const octave_value a,
const octave_value b 
)
friend

Definition at line 1978 of file ov.cc.

Referenced by assign(), and is_equal().

OCTINTERP_API octave_value do_binary_op ( compound_binary_op  op,
const octave_value a,
const octave_value b 
)
friend

Definition at line 2237 of file ov.cc.

OCTINTERP_API octave_value do_cat_op ( const octave_value a,
const octave_value b,
const Array< octave_idx_type > &  ra_idx 
)
friend

Definition at line 2304 of file ov.cc.

OCTINTERP_API octave_value do_colon_op ( const octave_value base,
const octave_value limit,
bool  is_for_cmd_expr 
)
friend

Definition at line 1073 of file ov.h.

OCTINTERP_API octave_value do_colon_op ( const octave_value base,
const octave_value increment,
const octave_value limit,
bool  is_for_cmd_expr 
)
friend