GNU Octave  3.8.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)
 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, 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 (void) 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_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_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 (hid_t 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)
voidmex_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) const
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 (hid_t 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_unary_op (unary_op op, const octave_value &a)

Detailed Description

Definition at line 64 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 127 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 83 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 110 of file ov.h.

Enumerator:
magic_colon_t 

Definition at line 165 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 70 of file ov.h.

Constructor & Destructor Documentation

octave_value::octave_value ( void  )
inline

Definition at line 167 of file ov.h.

References octave_base_value::count, and rep.

Referenced by empty_conv(), and storable_value().

octave_value::octave_value ( short int  i)

Definition at line 566 of file ov.cc.

octave_value::octave_value ( unsigned short int  i)

Definition at line 571 of file ov.cc.

octave_value::octave_value ( int  i)

Definition at line 576 of file ov.cc.

octave_value::octave_value ( unsigned int  i)

Definition at line 581 of file ov.cc.

octave_value::octave_value ( long int  i)

Definition at line 586 of file ov.cc.

octave_value::octave_value ( unsigned long int  i)

Definition at line 591 of file ov.cc.

octave_value::octave_value ( octave_time  t)

Definition at line 610 of file ov.cc.

octave_value::octave_value ( double  d)

Definition at line 615 of file ov.cc.

octave_value::octave_value ( float  d)

Definition at line 620 of file ov.cc.

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

Definition at line 632 of file ov.cc.

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

Definition at line 625 of file ov.cc.

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

Definition at line 639 of file ov.cc.

References maybe_mutate().

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

Definition at line 645 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const NDArray nda)

Definition at line 651 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatNDArray nda)

Definition at line 657 of file ov.cc.

References maybe_mutate().

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

Definition at line 663 of file ov.cc.

References maybe_mutate().

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

Definition at line 669 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagMatrix d)

Definition at line 699 of file ov.cc.

References maybe_mutate().

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

Definition at line 675 of file ov.cc.

References maybe_mutate().

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

Definition at line 681 of file ov.cc.

References maybe_mutate().

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

Definition at line 687 of file ov.cc.

References maybe_mutate().

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

Definition at line 705 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const RowVector v)

Definition at line 711 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatRowVector v)

Definition at line 717 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ColumnVector v)

Definition at line 723 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatColumnVector v)

Definition at line 729 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Complex C)

Definition at line 735 of file ov.cc.

References maybe_mutate().

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

Definition at line 747 of file ov.cc.

References maybe_mutate().

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

Definition at line 753 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexNDArray cnda)

Definition at line 759 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexNDArray cnda)

Definition at line 765 of file ov.cc.

References maybe_mutate().

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

Definition at line 771 of file ov.cc.

References maybe_mutate().

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

Definition at line 783 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexDiagMatrix d)

Definition at line 789 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexRowVector v)

Definition at line 795 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexRowVector v)

Definition at line 801 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexColumnVector v)

Definition at line 807 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexColumnVector v)

Definition at line 813 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const PermMatrix p)

Definition at line 819 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 830 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const boolNDArray bnda)

Definition at line 836 of file ov.cc.

References maybe_mutate().

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

Definition at line 842 of file ov.cc.

References maybe_mutate().

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

Definition at line 848 of file ov.cc.

References maybe_mutate().

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

Definition at line 856 of file ov.cc.

References maybe_mutate().

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

Definition at line 864 of file ov.cc.

References maybe_mutate().

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

Definition at line 872 of file ov.cc.

References maybe_mutate().

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

Definition at line 880 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const charNDArray chnda,
char  type = '\'' 
)

Definition at line 888 of file ov.cc.

References maybe_mutate().

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

Definition at line 896 of file ov.cc.

References maybe_mutate().

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

Definition at line 904 of file ov.cc.

References maybe_mutate().

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

Definition at line 912 of file ov.cc.

References maybe_mutate().

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

Definition at line 920 of file ov.cc.

References maybe_mutate().

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

Definition at line 928 of file ov.cc.

References maybe_mutate().

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

Definition at line 934 of file ov.cc.

References maybe_mutate().

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

Definition at line 940 of file ov.cc.

References maybe_mutate().

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

Definition at line 946 of file ov.cc.

References maybe_mutate().

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

Definition at line 952 of file ov.cc.

References maybe_mutate().

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

Definition at line 958 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int8 i)

Definition at line 964 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int16 i)
octave_value::octave_value ( const octave_int32 i)
octave_value::octave_value ( const octave_int64 i)
octave_value::octave_value ( const octave_uint8 i)
octave_value::octave_value ( const octave_uint16 i)
octave_value::octave_value ( const octave_uint32 i)
octave_value::octave_value ( const octave_uint64 i)
octave_value::octave_value ( const int8NDArray inda)

Definition at line 1012 of file ov.cc.

References maybe_mutate().

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

Definition at line 1018 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int16NDArray inda)
octave_value::octave_value ( const Array< octave_int16 > &  inda)
octave_value::octave_value ( const int32NDArray inda)
octave_value::octave_value ( const Array< octave_int32 > &  inda)
octave_value::octave_value ( const int64NDArray inda)
octave_value::octave_value ( const Array< octave_int64 > &  inda)
octave_value::octave_value ( const uint8NDArray inda)

Definition at line 1024 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Array< octave_uint8 > &  inda)
octave_value::octave_value ( const uint16NDArray inda)
octave_value::octave_value ( const Array< octave_uint16 > &  inda)
octave_value::octave_value ( const uint32NDArray inda)
octave_value::octave_value ( const Array< octave_uint32 > &  inda)
octave_value::octave_value ( const uint64NDArray inda)
octave_value::octave_value ( const Array< octave_uint64 > &  inda)
octave_value::octave_value ( const Array< octave_idx_type > &  inda,
bool  zero_based = false,
bool  cache_index = false 
)

Definition at line 1108 of file ov.cc.

References maybe_mutate().

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

Definition at line 1167 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 1173 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Range r)

Definition at line 1179 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_map m)

Definition at line 1185 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_scalar_map m)

Definition at line 1191 of file ov.cc.

octave_value::octave_value ( const Octave_map m)

Definition at line 1196 of file ov.cc.

References maybe_mutate().

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

Definition at line 1202 of file ov.cc.

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

Definition at line 1208 of file ov.cc.

octave_value::octave_value ( octave_value::magic_colon  )

Definition at line 1213 of file ov.cc.

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

Definition at line 1218 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 299 of file ov.h.

References octave_base_value::count, and rep.

octave_value::~octave_value ( void  )
inline

Definition at line 315 of file ov.h.

References octave_base_value::count, and rep.

octave_value::octave_value ( const octave_base_value )
private

Member Function Documentation

octave_value octave_value::abs ( void  ) const
inline

Definition at line 1134 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 1135 of file ov.h.

Referenced by Facos().

octave_value octave_value::acosh ( void  ) const
inline

Definition at line 1136 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 474 of file ov.h.

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

Referenced by tree_matrix::rvalue1().

octave_value octave_value::angle ( void  ) const
inline

Definition at line 1137 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 1138 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
octave_value octave_value::asin ( void  ) const
inline

Definition at line 1139 of file ov.h.

Referenced by Fasin().

octave_value octave_value::asinh ( void  ) const
inline

Definition at line 1140 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 1141 of file ov.h.

Referenced by Fatan().

octave_value octave_value::atanh ( void  ) const
inline

Definition at line 1142 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 798 of file ov.h.

References octave_base_value::bool_matrix_value(), and rep.

bool octave_value::bool_value ( bool  warn = false) const
inline

Definition at line 795 of file ov.h.

References octave_base_value::bool_value(), and rep.

Referenced by DEFUN(), bool_property::do_set(), and F__profiler_enable__().

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 479 of file ov.h.

References octave_base_value::capacity(), and rep.

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 1143 of file ov.h.

Referenced by Fcbrt().

octave_value octave_value::ceil ( void  ) const
inline

Definition at line 1144 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 890 of file ov.h.

References octave_base_value::cellstr_value(), and rep.

Referenced by DEFUN_DLD(), do_strcmp_fun(), Flookup(), and Fnth_element().

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 1232 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 1625 of file ov.cc.

References vector_value().

Referenced by DEFUN_DLD(), Fmgorth(), 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 1633 of file ov.cc.

References complex_vector_value().

Referenced by DEFUN_DLD(), do_bessel(), Fmgorth(), and xnorm().

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

Definition at line 826 of file ov.h.

References octave_base_value::complex_diag_matrix_value(), and rep.

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 1649 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 1145 of file ov.h.

Referenced by Fconj().

void octave_value::convert_to_row_or_column_vector ( void  )
inline

Definition at line 1012 of file ov.h.

References octave_base_value::convert_to_row_or_column_vector(), and rep.

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 1147 of file ov.h.

Referenced by cshch(), and Fcosh().

octave_value octave_value::dawson ( void  ) const
inline

Definition at line 1154 of file ov.h.

Referenced by Fdawson().

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

Definition at line 1102 of file ov.h.

References octave_base_value::diag(), and rep.

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

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

Definition at line 1105 of file ov.h.

References octave_base_value::diag(), and rep.

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

Definition at line 820 of file ov.h.

References octave_base_value::diag_matrix_value(), and rep.

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 1355 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 2577 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 309 of file ov.h.

References octave_base_value::empty_clone(), and rep.

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 706 of file ov.h.

References octave_base_value::erase_subfunctions(), and rep.

octave_value octave_value::erf ( void  ) const
inline

Definition at line 1148 of file ov.h.

Referenced by Ferf().

octave_value octave_value::erfc ( void  ) const
inline

Definition at line 1151 of file ov.h.

Referenced by Ferfc().

octave_value octave_value::erfcinv ( void  ) const
inline

Definition at line 1150 of file ov.h.

Referenced by Ferfcinv().

octave_value octave_value::erfcx ( void  ) const
inline

Definition at line 1152 of file ov.h.

Referenced by Ferfcx().

octave_value octave_value::erfi ( void  ) const
inline

Definition at line 1153 of file ov.h.

Referenced by Ferfi().

octave_value octave_value::erfinv ( void  ) const
inline

Definition at line 1149 of file ov.h.

Referenced by Ferfinv().

octave_value octave_value::eval ( void  )
inline

Definition at line 710 of file ov.h.

octave_value octave_value::exp ( void  ) const
inline

Definition at line 1155 of file ov.h.

Referenced by Fexp().

octave_value octave_value::expm1 ( void  ) const
inline

Definition at line 1156 of file ov.h.

Referenced by Fexpm1().

octave_value octave_value::fast_elem_extract ( octave_idx_type  n) const
inline

Definition at line 1208 of file ov.h.

References octave_base_value::fast_elem_extract(), and rep.

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

Definition at line 1215 of file ov.h.

References octave_base_value::fast_elem_insert(), make_unique(), and rep.

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 1594 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 913 of file ov.h.

References octave_base_value::find_parent_class(), and rep.

Referenced by DEFUN().

octave_value octave_value::finite ( void  ) const
inline

Definition at line 1157 of file ov.h.

Referenced by Fisfinite().

octave_value octave_value::fix ( void  ) const
inline

Definition at line 1158 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 1836 of file ov.cc.

References float_vector_value().

Referenced by DEFUN_DLD(), Fmgorth(), 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 1844 of file ov.cc.

References float_complex_vector_value().

Referenced by DEFUN_DLD(), do_bessel(), Fmgorth(), and xnorm().

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

Definition at line 830 of file ov.h.

References octave_base_value::float_complex_diag_matrix_value(), and rep.

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 1861 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 823 of file ov.h.

References octave_base_value::float_diag_matrix_value(), and rep.

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 1853 of file ov.cc.

References float_vector_value().

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

Definition at line 758 of file ov.h.

References octave_base_value::float_scalar_value(), and rep.

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 1159 of file ov.h.

Referenced by Ffloor().

octave_value octave_value::full_value ( void  ) const
inline

Definition at line 380 of file ov.h.

References octave_base_value::full_value(), and rep.

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

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

Definition at line 1160 of file ov.h.

Referenced by Fgamma().

octave_idx_type octave_value::get_count ( void  ) const
inline

Definition at line 366 of file ov.h.

References octave_base_value::count, and rep.

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 1542 of file ov.cc.

References int64_value(), and int_value().

Referenced by Flinspace().

octave_value octave_value::imag ( void  ) const
inline

Definition at line 1161 of file ov.h.

Referenced by Fimag().

idx_vector octave_value::index_vector ( void  ) const
inline
int16NDArray octave_value::int16_array_value ( void  ) const
inline
octave_int16 octave_value::int16_scalar_value ( void  ) const
inline

Definition at line 839 of file ov.h.

References octave_base_value::int16_scalar_value(), and rep.

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

Definition at line 842 of file ov.h.

References octave_base_value::int32_scalar_value(), and rep.

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

Definition at line 845 of file ov.h.

References octave_base_value::int64_scalar_value(), and rep.

Referenced by octave_stream::seek().

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

Definition at line 739 of file ov.h.

References octave_base_value::int64_value(), and rep.

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 836 of file ov.h.

References octave_base_value::int8_scalar_value(), and rep.

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 497 of file ov.h.

References octave_base_value::permute(), and rep.

bool octave_value::is_anonymous_function ( void  ) const
inline

Definition at line 679 of file ov.h.

References octave_base_value::is_anonymous_function(), and rep.

Referenced by symbol_exist().

bool octave_value::is_bool_matrix ( void  ) const
inline

Definition at line 543 of file ov.h.

References octave_base_value::is_bool_matrix(), and rep.

bool octave_value::is_bool_scalar ( void  ) const
inline

Definition at line 540 of file ov.h.

References octave_base_value::is_bool_scalar(), and rep.

Referenced by bool_property::do_set().

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

Definition at line 697 of file ov.h.

References octave_base_value::is_builtin_function(), and rep.

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 546 of file ov.h.

References octave_base_value::is_char_matrix(), and rep.

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

bool octave_value::is_complex_matrix ( void  ) const
inline
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 673 of file ov.h.

References octave_base_value::is_constant(), and rep.

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

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

Definition at line 1062 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 513 of file ov.h.

References octave_base_value::is_defined(), and rep.

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(), DEFCONSTFUN(), DEFUN(), DEFUN_DLD(), symbol_table::do_builtin_find(), do_class_concat(), gh_manager::do_execute_callback(), symbol_table::do_find(), 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(), Farrayfun(), Fbsxfun(), Fcellfun(), 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(), Fischar(), Fluinc(), Fwaitfor(), Fwarning(), generate_struct_completions(), get_output_list(), get_user_code(), octave_stream::getl(), octave_stream::gets(), handle_message(), octave_class::index_vector(), tree_parameter_list::initialize_undefined_elements(), install_built_in_docstrings(), symbol_table::is_built_in_function_name(), callback_property::is_defined(), is_equal(), tree_expression::is_logically_true(), is_undefined(), is_valid_function(), is_variable(), tree_switch_case::label_matches(), symbol_table::fcn_info::fcn_info_rep::load_class_method(), looks_like_struct(), tree_colon_expression::make_range(), maybe_missing_function_hook(), 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_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_class::subsasgn_common(), octave_class::subsref(), symbol_exist(), octave_perm_matrix::to_dense(), 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 549 of file ov.h.

References octave_base_value::is_diag_matrix(), and rep.

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

bool octave_value::is_dld_function ( void  ) const
inline

Definition at line 700 of file ov.h.

References octave_base_value::is_dld_function(), and rep.

Referenced by symbol_exist().

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 1514 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 604 of file ov.h.

References octave_base_value::is_float_type(), and rep.

Referenced by DEFUN_DLD(), Fdot(), and Fisfloat().

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_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 573 of file ov.h.

References octave_base_value::is_java(), and rep.

Referenced by generate_struct_completions().

bool octave_value::is_magic_colon ( void  ) const
inline

Definition at line 579 of file ov.h.

References octave_base_value::is_magic_colon(), and rep.

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 703 of file ov.h.

References octave_base_value::is_mex_function(), and rep.

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 552 of file ov.h.

References octave_base_value::is_perm_matrix(), and rep.

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
sortmode octave_value::is_sorted_rows ( sortmode  mode = UNSORTED) const
inline

Definition at line 1120 of file ov.h.

References octave_base_value::is_sorted_rows(), and rep.

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 555 of file ov.h.

References octave_base_value::is_string(), and rep.

Referenced by mxArray_octave_value::array_to_string(), convert_linestyleorder_string(), convert_ticklabel_string(), DEFUN(), DEFUN_DLD(), do_dbstack(), do_dbupdown(), gh_manager::do_execute_callback(), octave_stream_list::do_get_file_number(), do_history(), tm_row_const::tm_row_const_rep::do_init_element(), 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(), F__dump_symtab_info__(), Faddpath(), Farrayfun(), Fbitunpack(), Fbsxfun(), Fcellfun(), Fdblist(), Ferror(), Ffind(), Ffread(), Ffwrite(), Fischar(), Fmerge(), Fnorm(), Fsparse(), Fspparms(), Fsprintf(), Fstrfind(), Fstrrep(), Ftypecast(), Fwarning(), get_int_arg(), get_sscanf_data(), mxArray_octave_value::get_string(), tree_index_expression::get_struct_index(), handle_message(), hook_function::hook_function(), mxArray_octave_value::is_char(), is_valid_function(), tree_index_expression::lvalue(), make_idx_args(), tree_colon_expression::make_range(), 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__(), 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 694 of file ov.h.

References octave_base_value::is_user_code(), and rep.

Referenced by get_user_code().

bool octave_value::is_user_function ( void  ) const
inline

Definition at line 691 of file ov.h.

References octave_base_value::is_user_function(), and rep.

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

bool octave_value::is_user_script ( void  ) const
inline

Definition at line 688 of file ov.h.

References octave_base_value::is_user_script(), and rep.

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 1162 of file ov.h.

Referenced by Fisinf().

bool octave_value::islocked ( void  ) const
inline

Definition at line 1127 of file ov.h.

References octave_base_value::islocked(), and rep.

octave_value octave_value::isna ( void  ) const
inline

Definition at line 1163 of file ov.h.

Referenced by Fisna().

octave_value octave_value::isnan ( void  ) const
inline

Definition at line 1164 of file ov.h.

Referenced by Fisnan().

octave_idx_type octave_value::length ( void  ) const

Definition at line 1492 of file ov.cc.

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

Referenced by DEFUN(), DEFUN_DLD(), DEFUNX(), gh_manager::do_execute_callback(), F__calc_dimensions__(), 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__pchip_deriv__(), F__request_drawnow__(), Fadd_input_event_hook(), Fatan2(), Fbetainc(), Fbetaincinv(), Fbitmax(), Fbitshift(), Fblkmm(), Fcellslices(), Fchar(), Fcompletion_matches(), Fcomplex(), Fconv2(), Fconvn(), Fcumsum(), Fdiag(), Fdo_string_escapes(), Fdot(), Ferrno(), Ferror(), Fexist(), Ffclear(), Ffclose(), Ffeof(), Ffflush(), Ffile_in_loadpath(), Ffile_in_path(), Fflintmax(), Ffprintf(), Ffputs(), Ffrewind(), Ffseek(), Ffskipl(), Fftell(), Ffwrite(), Fgammainc(), Fgcd(), Fgetegid(), Fgetenv(), Fgeteuid(), Fgetgid(), Fgetpid(), Fgetppid(), Fgetuid(), Fhypot(), Fignore_function_time_stamp(), Fintmax(), Fintmin(), Fischar(), Fisindex(), Fisvarname(), Fkron(), Flasterror(), Flength(), Flist_in_columns(), Flookup(), Fmd5sum(), Fnproc(), FOCTAVE_VERSION(), FP_tmpdir(), Fpath(), Fpathsep(), Fpause(), Fpclose(), Fpinv(), Fpopen(), Fprintf(), Frand(), Frande(), Frandg(), Frandn(), Frandp(), Frats(), Frcond(), Frem(), Frethrow(), Fset(), Fsize_equal(), Fspalloc(), Fsparse(), Fstrfind(), Fstrrep(), Fstrvcat(), Fsum(), Fsyl(), Ftilde_expand(), Ftmpnam(), Fundo_string_escapes(), Fwarning(), Fyes_or_no(), 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 1165 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 1069 of file ov.h.

References octave_base_value::load_ascii(), and rep.

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 1074 of file ov.h.

References octave_base_value::load_binary(), and rep.

Referenced by read_binary_data().

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

Definition at line 1082 of file ov.h.

References octave_base_value::load_hdf5(), and rep.

Referenced by hdf5_read_next_data().

void octave_value::lock ( void  )
inline

Definition at line 1123 of file ov.h.

References octave_base_value::lock(), and rep.

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

Definition at line 1168 of file ov.h.

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

octave_value octave_value::log1p ( void  ) const
inline

Definition at line 1169 of file ov.h.

Referenced by Flog1p().

octave_value octave_value::log2 ( void  ) const
inline

Definition at line 1167 of file ov.h.

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

Definition at line 731 of file ov.h.

References octave_base_value::long_value(), and rep.

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 337 of file ov.h.

References octave_base_value::count, rep, and 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 900 of file ov.h.

References octave_base_value::map_keys(), and rep.

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 506 of file ov.h.

References octave_base_value::matrix_type(), and rep.

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

Definition at line 986 of file ov.h.

References octave_base_value::maybe_economize(), and rep.

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 1094 of file ov.h.

References octave_base_value::mex_get_data(), and rep.

Referenced by mxArray_octave_value::get_data().

octave_idx_type* octave_value::mex_get_ir ( void  ) const
inline

Definition at line 1096 of file ov.h.

References octave_base_value::mex_get_ir(), and rep.

Referenced by mxArray_octave_value::get_ir().

octave_idx_type* octave_value::mex_get_jc ( void  ) const
inline

Definition at line 1098 of file ov.h.

References octave_base_value::mex_get_jc(), and rep.

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 1300 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 1316 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 727 of file ov.h.

References octave_base_value::nint_value(), and rep.

Referenced by DEFUN_DLD(), and Flasterror().

octave_idx_type octave_value::nnz ( void  ) const
inline

Definition at line 485 of file ov.h.

References octave_base_value::nnz(), and rep.

Referenced by Fnnz(), and save_mat_binary_data().

size_t octave_value::nparents ( void  ) const
inline

Definition at line 903 of file ov.h.

References octave_base_value::nparents(), and rep.

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 476 of file ov.h.

References octave_base_value::numel(), and rep.

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 371 of file ov.h.

References octave_base_value::numeric_demotion_function(), and rep.

Referenced by do_binary_op().

octave_idx_type octave_value::nzmax ( void  ) const
inline

Definition at line 487 of file ov.h.

References octave_base_value::nzmax(), and rep.

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 352 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 909 of file ov.h.

References octave_base_value::parent_class_names(), and rep.

Referenced by DEFUN().

PermMatrix octave_value::perm_matrix_value ( void  ) const
inline

Definition at line 833 of file ov.h.

References octave_base_value::perm_matrix_value(), and rep.

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 
) const
inline

Definition at line 1018 of file ov.h.

References octave_base_value::print(), and rep.

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

bool octave_value::print_as_scalar ( void  ) const
inline

Definition at line 1015 of file ov.h.

References octave_base_value::print_as_scalar(), and rep.

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

Definition at line 2355 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 1024 of file ov.h.

References octave_base_value::print_name_tag(), and rep.

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 1170 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 1171 of file ov.h.

Referenced by Fround().

octave_value octave_value::roundb ( void  ) const
inline

Definition at line 1172 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 1641 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 1067 of file ov.h.

References rep, and octave_base_value::save_ascii().

Referenced by save_ascii_data().

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

Definition at line 1071 of file ov.h.

References rep, and octave_base_value::save_binary().

Referenced by save_binary_data().

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

Definition at line 1079 of file ov.h.

References rep, and octave_base_value::save_hdf5().

Referenced by add_hdf5_data().

octave_scalar_map octave_value::scalar_map_value ( void  ) const

Definition at line 1558 of file ov.cc.

References rep, and octave_base_value::scalar_map_value().

Referenced by Flasterror(), read_mat5_binary_element(), and save_vars().

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 1030 of file ov.h.

References rep, and octave_base_value::short_disp().

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 713 of file ov.h.

References rep, and octave_base_value::short_value().

octave_value octave_value::signum ( void  ) const
inline

Definition at line 1173 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 1252 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 1175 of file ov.h.

Referenced by cshch(), and Fsinh().

Matrix octave_value::size ( void  )
inline

Definition at line 387 of file ov.h.

References rep, and octave_base_value::size().

Referenced by get_dims_str(), get_object_dims(), and symbol_info_list::map_value().

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 1110 of file ov.h.

References rep, and octave_base_value::sort().

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

Definition at line 1117 of file ov.h.

References rep, and octave_base_value::sort_rows_idx().

Referenced by F__sort_rows_idx__().

SparseBoolMatrix octave_value::sparse_bool_matrix_value ( bool  warn = false) const
inline
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 376 of file ov.h.

References rep, and octave_base_value::squeeze().

Referenced by octave_struct::squeeze().

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

Definition at line 887 of file ov.h.

References rep, and octave_base_value::string_value().

Referenced by Cell::cellstr_value(), convert_linestyleorder_string(), convert_ticklabel_string(), DEFUN(), DEFUN_DLD(), do_dbstack(), do_dbupdown(), gh_manager::do_execute_callback(), do_fread(), do_fwrite(), octave_stream_list::do_get_file_number(), do_history(), 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(), 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__octave_link_edit_file__(), F__octave_link_message_dialog__(), F__octave_link_question_dialog__(), F__octave_link_show_doc__(), F__varval__(), Faddpath(), Faddproperty(), Fbsxfun(), Fconv2(), Fconvn(), Fdblist(), Ferror(), Fignore_function_time_stamp(), Flasterror(), Flist_in_columns(), Fmislocked(), Fnorm(), Frethrow(), Fstr2double(), Fstrftime(), Fwarning(), get_int_arg(), get_sort_mode_option(), get_sscanf_data(), tree_index_expression::get_struct_index(), handle_message(), hook_function::hook_function(), is_valid_function(), octave_value_list::make_argv(), octave_stream::oscanf(), parse_range_spec(), pr_where(), octave_stream::printf(), octave_stream::puts(), read_mat5_binary_element(), octave_stream::scanf(), screen_size_pixels(), octave_stream::seek(), property_list::set(), figure::properties::set___graphics_toolkit__(), 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(), printf_value_cache::string_value(), stringfield(), and warning_enabled().

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 400 of file ov.h.

References rep, and octave_base_value::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 1273 of file ov.cc.

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

octave_value octave_value::tan ( void  ) const
inline

Definition at line 1177 of file ov.h.

Referenced by Ftan().

octave_value octave_value::tanh ( void  ) const
inline

Definition at line 1178 of file ov.h.

Referenced by Ftanh().

octave_base_value* octave_value::try_narrowing_conversion ( void  )
inline

Definition at line 383 of file ov.h.

References rep, and 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 851 of file ov.h.

References rep, and octave_base_value::uint16_scalar_value().

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

Definition at line 854 of file ov.h.

References rep, and octave_base_value::uint32_scalar_value().

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

Definition at line 857 of file ov.h.

References rep, and octave_base_value::uint64_scalar_value().

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

Definition at line 743 of file ov.h.

References rep, and octave_base_value::uint64_value().

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

Definition at line 848 of file ov.h.

References rep, and octave_base_value::uint8_scalar_value().

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

Definition at line 724 of file ov.h.

References rep, and octave_base_value::uint_value().

Referenced by DEFUN_DLD().

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

Definition at line 735 of file ov.h.

References rep, and octave_base_value::ulong_value().

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 144 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 2597 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 1125 of file ov.h.

References rep, and octave_base_value::unlock().

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

Definition at line 1582 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 1576 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 717 of file ov.h.

References rep, and octave_base_value::ushort_value().

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 1923 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 1183 of file ov.h.

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

octave_value octave_value::xisalpha ( void  ) const
inline

Definition at line 1184 of file ov.h.

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

octave_value octave_value::xisascii ( void  ) const
inline

Definition at line 1185 of file ov.h.

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

octave_value octave_value::xiscntrl ( void  ) const
inline

Definition at line 1186 of file ov.h.

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

octave_value octave_value::xisdigit ( void  ) const
inline

Definition at line 1187 of file ov.h.

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

octave_value octave_value::xisgraph ( void  ) const
inline

Definition at line 1188 of file ov.h.

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

octave_value octave_value::xislower ( void  ) const
inline

Definition at line 1189 of file ov.h.

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

octave_value octave_value::xisprint ( void  ) const
inline

Definition at line 1190 of file ov.h.

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

octave_value octave_value::xispunct ( void  ) const
inline

Definition at line 1191 of file ov.h.

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

octave_value octave_value::xisspace ( void  ) const
inline

Definition at line 1192 of file ov.h.

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

octave_value octave_value::xisupper ( void  ) const
inline

Definition at line 1193 of file ov.h.

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

octave_value octave_value::xisxdigit ( void  ) const
inline

Definition at line 1194 of file ov.h.

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

octave_value octave_value::xsignbit ( void  ) const
inline

Definition at line 1195 of file ov.h.

Referenced by Fsignbit().

octave_value octave_value::xtoascii ( void  ) const
inline

Definition at line 1196 of file ov.h.

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

octave_value octave_value::xtolower ( void  ) const
inline

Definition at line 1197 of file ov.h.

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

octave_value octave_value::xtoupper ( void  ) const
inline

Definition at line 1198 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 1945 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 2201 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 2266 of file ov.cc.

OCTINTERP_API octave_value do_unary_op ( unary_op  op,
const octave_value a 
)
friend

Definition at line 2378 of file ov.cc.

Referenced by do_non_const_unary_op().

Member Data Documentation

octave_base_value* octave_value::rep
protected

Definition at line 1224 of file ov.h.

Referenced by all(), all_strings(), any(), array_value(), as_mxArray(), assign(), bool_array_value(), bool_matrix_value(), bool_value(), builtin_type(), byte_size(), capacity(), cell_value(), cellstr_value(), char_array_value(), char_matrix_value(), class_name(), clone(), columns(), complex_array_value(), complex_diag_matrix_value(), complex_matrix_value(), complex_value(), convert_to_row_or_column_vector(), convert_to_str(), convert_to_str_internal(), diag(), diag_matrix_value(), dims(), do_binary_op(), do_cat_op(), do_index_op(), do_multi_index_op(), do_non_const_unary_op(), do_unary_op(), double_value(), dump(), empty_clone(), erase_subfunctions(), fast_elem_extract(), fast_elem_insert(), fcn_handle_value(), fcn_inline_value(), find_parent_class(), float_array_value(), float_complex_array_value(), float_complex_diag_matrix_value(), float_complex_matrix_value(), float_complex_value(), float_diag_matrix_value(), float_matrix_value(), float_scalar_value(), float_value(), Fstrrep(), full_value(), function_value(), get_count(), get_rep(), index_vector(), int16_array_value(), int16_scalar_value(), int32_array_value(), int32_scalar_value(), int64_array_value(), int64_scalar_value(), int64_value(), int8_array_value(), int8_scalar_value(), int_value(), internal_rep(), ipermute(), is_anonymous_function(), is_bool_matrix(), is_bool_scalar(), is_bool_type(), is_builtin_function(), is_cell(), is_cellstr(), is_char_matrix(), is_complex_matrix(), is_complex_scalar(), is_complex_type(), is_constant(), is_copy_of(), is_cs_list(), is_defined(), is_diag_matrix(), is_dld_function(), is_double_type(), is_dq_string(), is_empty(), is_float_type(), is_function(), is_function_handle(), is_inline_function(), is_int16_type(), is_int32_type(), is_int64_type(), is_int8_type(), is_integer_type(), is_java(), is_magic_colon(), is_map(), is_matrix_type(), is_mex_function(), is_null_value(), is_numeric_type(), is_object(), is_perm_matrix(), is_range(), is_real_matrix(), is_real_scalar(), is_real_type(), is_scalar_type(), is_single_type(), is_sorted(), is_sorted_rows(), is_sparse_type(), is_sq_string(), is_string(), is_true(), is_uint16_type(), is_uint32_type(), is_uint64_type(), is_uint8_type(), is_user_code(), is_user_function(), is_user_script(), islocked(), list_value(), load_ascii(), load_binary(), load_hdf5(), lock(), long_value(), make_storable_value(), make_unique(), map(), map_keys(), map_value(), matrix_type(), matrix_value(), maybe_economize(), maybe_mutate(), mex_get_data(), mex_get_ir(), mex_get_jc(), ndims(), nfields(), nint_value(), nnz(), nparents(), numel(), numeric_conversion_function(), numeric_demotion_function(), nzmax(), octave_value(), operator=(), parent_class_name_list(), parent_class_names(), perm_matrix_value(), permute(), print(), print_as_scalar(), print_info(), print_name_tag(), print_raw(), print_with_name(), range_value(), reshape(), resize(), rows(), save_ascii(), save_binary(), save_hdf5(), scalar_map_value(), scalar_value(), short_disp(), short_value(), single_subsref(), size(), sort(), sort_rows_idx(), sparse_bool_matrix_value(), sparse_complex_matrix_value(), sparse_matrix_value(), squeeze(), storable_value(), string_value(), subsasgn(), subsref(), try_narrowing_conversion(), type_id(), type_name(), uint16_array_value(), uint16_scalar_value(), uint32_array_value(), uint32_scalar_value(), uint64_array_value(), uint64_scalar_value(), uint64_value(), uint8_array_value(), uint8_scalar_value(), uint_value(), ulong_value(), undef_subsasgn(), unlock(), user_code_value(), user_function_value(), user_script_value(), ushort_value(), write(), and ~octave_value().


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