GNU Octave  4.2.1
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 | Static 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_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_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::sys::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= '\'')
 
 octave_value (const charNDArray &chnda, bool is_string, char type= '\'')
 
 octave_value (const Array< char > &chnda, bool is_string, char type= '\'')
 
 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)
 
 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
 
octave_value as_double (void) const
 
octave_value as_int16 (void) const
 
octave_value as_int32 (void) const
 
octave_value as_int64 (void) const
 
octave_value as_int8 (void) const
 
mxArrayas_mxArray (void) const
 
octave_value as_single (void) const
 
octave_value as_uint16 (void) const
 
octave_value as_uint32 (void) const
 
octave_value as_uint64 (void) const
 
octave_value as_uint8 (void) const
 
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::stringcellstr_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 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< float > float_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 isfinite (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, octave::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::stringparent_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="") 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
 
string_vector string_vector_value (bool pad=false) const
 
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
 
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, octave::mach_info::float_format flt_fmt) const
 
NDArray xarray_value (const char *fmt,...) const
 
boolNDArray xbool_array_value (const char *fmt,...) const
 
boolMatrix xbool_matrix_value (const char *fmt,...) const
 
bool xbool_value (const char *fmt,...) const
 
Cell xcell_value (const char *fmt,...) const
 
Array< std::stringxcellstr_value (const char *fmt,...) const
 
charNDArray xchar_array_value (const char *fmt,...) const
 
charMatrix xchar_matrix_value (const char *fmt,...) const
 
ColumnVector xcolumn_vector_value (const char *fmt,...) const
 
ComplexNDArray xcomplex_array_value (const char *fmt,...) const
 
ComplexColumnVector xcomplex_column_vector_value (const char *fmt,...) const
 
ComplexDiagMatrix xcomplex_diag_matrix_value (const char *fmt,...) const
 
ComplexMatrix xcomplex_matrix_value (const char *fmt,...) const
 
ComplexRowVector xcomplex_row_vector_value (const char *fmt,...) const
 
Complex xcomplex_value (const char *fmt,...) const
 
Array< Complexxcomplex_vector_value (const char *fmt,...) const
 
DiagMatrix xdiag_matrix_value (const char *fmt,...) const
 
double xdouble_value (const char *fmt,...) const
 
octave_fcn_handlexfcn_handle_value (const char *fmt,...) const
 
octave_fcn_inlinexfcn_inline_value (const char *fmt,...) const
 
FloatNDArray xfloat_array_value (const char *fmt,...) const
 
FloatColumnVector xfloat_column_vector_value (const char *fmt,...) const
 
FloatComplexNDArray xfloat_complex_array_value (const char *fmt,...) const
 
FloatComplexColumnVector xfloat_complex_column_vector_value (const char *fmt,...) const
 
FloatComplexDiagMatrix xfloat_complex_diag_matrix_value (const char *fmt,...) const
 
FloatComplexMatrix xfloat_complex_matrix_value (const char *fmt,...) const
 
FloatComplexRowVector xfloat_complex_row_vector_value (const char *fmt,...) const
 
FloatComplex xfloat_complex_value (const char *fmt,...) const
 
Array< FloatComplexxfloat_complex_vector_value (const char *fmt,...) const
 
FloatDiagMatrix xfloat_diag_matrix_value (const char *fmt,...) const
 
FloatMatrix xfloat_matrix_value (const char *fmt,...) const
 
FloatRowVector xfloat_row_vector_value (const char *fmt,...) const
 
float xfloat_scalar_value (const char *fmt,...) const
 
float xfloat_value (const char *fmt,...) const
 
Array< float > xfloat_vector_value (const char *fmt,...) const
 
octave_functionxfunction_value (const char *fmt,...) const
 
octave_idx_type xidx_type_value (const char *fmt,...) const
 
int16NDArray xint16_array_value (const char *fmt,...) const
 
octave_int16 xint16_scalar_value (const char *fmt,...) const
 
int32NDArray xint32_array_value (const char *fmt,...) const
 
octave_int32 xint32_scalar_value (const char *fmt,...) const
 
int64NDArray xint64_array_value (const char *fmt,...) const
 
octave_int64 xint64_scalar_value (const char *fmt,...) const
 
int64_t xint64_value (const char *fmt,...) const
 
int8NDArray xint8_array_value (const char *fmt,...) const
 
octave_int8 xint8_scalar_value (const char *fmt,...) const
 
int xint_value (const char *fmt,...) const
 
Array< intxint_vector_value (const char *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_list xlist_value (const char *fmt,...) const
 
long int xlong_value (const char *fmt,...) const
 
octave_map xmap_value (const char *fmt,...) const
 
Matrix xmatrix_value (const char *fmt,...) const
 
int xnint_value (const char *fmt,...) const
 
Array< octave_idx_typexoctave_idx_type_vector_value (const char *fmt,...) const
 
PermMatrix xperm_matrix_value (const char *fmt,...) const
 
Range xrange_value (const char *fmt,...) const
 
RowVector xrow_vector_value (const char *fmt,...) const
 
octave_scalar_map xscalar_map_value (const char *fmt,...) const
 
double xscalar_value (const char *fmt,...) const
 
short int xshort_value (const char *fmt,...) const
 
octave_value xsignbit (void) const
 
SparseBoolMatrix xsparse_bool_matrix_value (const char *fmt,...) const
 
SparseComplexMatrix xsparse_complex_matrix_value (const char *fmt,...) const
 
SparseMatrix xsparse_matrix_value (const char *fmt,...) const
 
std::string xstring_value (const char *fmt,...) const
 
string_vector xstring_vector_value (const char *fmt,...) const
 
octave_value xtoascii (void) const
 
octave_value xtolower (void) const
 
octave_value xtoupper (void) const
 
uint16NDArray xuint16_array_value (const char *fmt,...) const
 
octave_uint16 xuint16_scalar_value (const char *fmt,...) const
 
uint32NDArray xuint32_array_value (const char *fmt,...) const
 
octave_uint32 xuint32_scalar_value (const char *fmt,...) const
 
uint64NDArray xuint64_array_value (const char *fmt,...) const
 
octave_uint64 xuint64_scalar_value (const char *fmt,...) const
 
uint64_t xuint64_value (const char *fmt,...) const
 
uint8NDArray xuint8_array_value (const char *fmt,...) const
 
octave_uint8 xuint8_scalar_value (const char *fmt,...) const
 
unsigned int xuint_value (const char *fmt,...) const
 
unsigned long int xulong_value (const char *fmt,...) const
 
octave_user_codexuser_code_value (const char *fmt,...) const
 
octave_user_functionxuser_function_value (const char *fmt,...) const
 
octave_user_scriptxuser_script_value (const char *fmt,...) const
 
unsigned short int xushort_value (const char *fmt,...) const
 
Array< doublexvector_value (const char *fmt,...) 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)
 

Static Private Member Functions

static octave_base_valuenil_rep (void)
 

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 70 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_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_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 89 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 167 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 76 of file ov.h.

Constructor & Destructor Documentation

octave_value::octave_value ( void  )
inline

Definition at line 169 of file ov.h.

Referenced by empty_conv(), and storable_value().

octave_value::octave_value ( short int  i)

Definition at line 474 of file ov.cc.

octave_value::octave_value ( unsigned short int  i)

Definition at line 478 of file ov.cc.

octave_value::octave_value ( int  i)

Definition at line 482 of file ov.cc.

octave_value::octave_value ( unsigned int  i)

Definition at line 486 of file ov.cc.

octave_value::octave_value ( long int  i)

Definition at line 490 of file ov.cc.

octave_value::octave_value ( unsigned long int  i)

Definition at line 494 of file ov.cc.

octave_value::octave_value ( octave::sys::time  t)

Definition at line 510 of file ov.cc.

octave_value::octave_value ( double  d)

Definition at line 514 of file ov.cc.

octave_value::octave_value ( float  d)

Definition at line 518 of file ov.cc.

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

Definition at line 528 of file ov.cc.

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

Definition at line 522 of file ov.cc.

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

Definition at line 534 of file ov.cc.

References maybe_mutate().

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

Definition at line 540 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const NDArray nda)

Definition at line 546 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatNDArray nda)

Definition at line 552 of file ov.cc.

References maybe_mutate().

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

Definition at line 558 of file ov.cc.

References maybe_mutate().

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

Definition at line 564 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const DiagMatrix d)

Definition at line 602 of file ov.cc.

References maybe_mutate().

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

Definition at line 570 of file ov.cc.

References maybe_mutate().

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

Definition at line 578 of file ov.cc.

References maybe_mutate().

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

Definition at line 586 of file ov.cc.

References maybe_mutate().

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

Definition at line 594 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatDiagMatrix d)

Definition at line 610 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const RowVector v)

Definition at line 618 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatRowVector v)

Definition at line 624 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ColumnVector v)

Definition at line 630 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatColumnVector v)

Definition at line 636 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const Complex C)

Definition at line 642 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplex C)

Definition at line 648 of file ov.cc.

References maybe_mutate().

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

Definition at line 654 of file ov.cc.

References maybe_mutate().

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

Definition at line 660 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexNDArray cnda)

Definition at line 666 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexNDArray cnda)

Definition at line 672 of file ov.cc.

References maybe_mutate().

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

Definition at line 678 of file ov.cc.

References maybe_mutate().

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

Definition at line 684 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexDiagMatrix d)

Definition at line 690 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexDiagMatrix d)

Definition at line 698 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexRowVector v)

Definition at line 706 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexRowVector v)

Definition at line 712 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const ComplexColumnVector v)

Definition at line 718 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const FloatComplexColumnVector v)

Definition at line 724 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const PermMatrix p)

Definition at line 730 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( bool  b)

Definition at line 738 of file ov.cc.

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

Definition at line 742 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const boolNDArray bnda)

Definition at line 748 of file ov.cc.

References maybe_mutate().

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

Definition at line 754 of file ov.cc.

References maybe_mutate().

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

Definition at line 760 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 776 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 792 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 808 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 824 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 840 of file ov.cc.

References maybe_mutate().

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

Definition at line 846 of file ov.cc.

References maybe_mutate().

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

Definition at line 852 of file ov.cc.

References maybe_mutate().

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

Definition at line 858 of file ov.cc.

References maybe_mutate().

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

Definition at line 864 of file ov.cc.

References maybe_mutate().

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

Definition at line 870 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int8 i)

Definition at line 876 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int16 i)

Definition at line 888 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int32 i)

Definition at line 900 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_int64 i)

Definition at line 912 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint8 i)

Definition at line 882 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint16 i)

Definition at line 894 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint32 i)

Definition at line 906 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_uint64 i)

Definition at line 918 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int8NDArray inda)

Definition at line 924 of file ov.cc.

References maybe_mutate().

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

Definition at line 930 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int16NDArray inda)

Definition at line 948 of file ov.cc.

References maybe_mutate().

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

Definition at line 954 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int32NDArray inda)

Definition at line 972 of file ov.cc.

References maybe_mutate().

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

Definition at line 978 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const int64NDArray inda)

Definition at line 996 of file ov.cc.

References maybe_mutate().

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

Definition at line 1002 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint8NDArray inda)

Definition at line 936 of file ov.cc.

References maybe_mutate().

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

Definition at line 942 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint16NDArray inda)

Definition at line 960 of file ov.cc.

References maybe_mutate().

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

Definition at line 966 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint32NDArray inda)

Definition at line 984 of file ov.cc.

References maybe_mutate().

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

Definition at line 990 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const uint64NDArray inda)

Definition at line 1008 of file ov.cc.

References maybe_mutate().

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

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

References maybe_mutate().

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

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

References maybe_mutate().

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

Definition at line 1097 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_map m)

Definition at line 1105 of file ov.cc.

References maybe_mutate().

octave_value::octave_value ( const octave_scalar_map m)

Definition at line 1111 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 1115 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 1122 of file ov.cc.

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

Definition at line 1127 of file ov.cc.

octave_value::octave_value ( octave_value::magic_colon  )

Definition at line 1131 of file ov.cc.

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

Definition at line 1135 of file ov.cc.

References octave_base_value::count, and rep.

octave_value::octave_value ( octave_base_value new_rep,
int  xcount 
)

Definition at line 1142 of file ov.cc.

References octave_base_value::count, and rep.

octave_value::octave_value ( const octave_value a)
inline

Definition at line 306 of file ov.h.

References octave_base_value::count, and rep.

octave_value::~octave_value ( void  )
inline

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

octave_value octave_value::acos ( void  ) const
inline

Definition at line 1347 of file ov.h.

octave_value octave_value::acosh ( void  ) const
inline

Definition at line 1348 of file ov.h.

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

Definition at line 915 of file ov.h.

bool octave_value::all_zero_dims ( void  ) const
inline

Definition at line 497 of file ov.h.

References dims.

Referenced by tree_matrix::rvalue1().

octave_value octave_value::angle ( void  ) const
inline

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

Referenced by file_editor::mru_menu_update(), and octave_dock_widget::set_style().

NDArray octave_value::array_value ( bool  frc_str_conv = false) const
inline
octave_value octave_value::as_double ( void  ) const
inline

Definition at line 391 of file ov.h.

References as_double().

Referenced by as_double().

octave_value octave_value::as_int16 ( void  ) const
inline

Definition at line 395 of file ov.h.

References as_int16().

Referenced by as_int16().

octave_value octave_value::as_int32 ( void  ) const
inline

Definition at line 396 of file ov.h.

References as_int32().

Referenced by as_int32().

octave_value octave_value::as_int64 ( void  ) const
inline

Definition at line 397 of file ov.h.

References as_int64().

Referenced by as_int64().

octave_value octave_value::as_int8 ( void  ) const
inline

Definition at line 394 of file ov.h.

References as_int8().

Referenced by as_int8().

mxArray* octave_value::as_mxArray ( void  ) const
inline

Definition at line 1309 of file ov.h.

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

octave_value octave_value::as_single ( void  ) const
inline

Definition at line 392 of file ov.h.

References as_single().

Referenced by as_single().

octave_value octave_value::as_uint16 ( void  ) const
inline

Definition at line 400 of file ov.h.

References as_uint16().

Referenced by as_uint16().

octave_value octave_value::as_uint32 ( void  ) const
inline

Definition at line 401 of file ov.h.

References as_uint32().

Referenced by as_uint32().

octave_value octave_value::as_uint64 ( void  ) const
inline

Definition at line 402 of file ov.h.

References as_uint64().

Referenced by as_uint64().

octave_value octave_value::as_uint8 ( void  ) const
inline

Definition at line 399 of file ov.h.

References as_uint8().

Referenced by as_uint8().

octave_value octave_value::asin ( void  ) const
inline

Definition at line 1351 of file ov.h.

octave_value octave_value::asinh ( void  ) const
inline

Definition at line 1352 of file ov.h.

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

octave_value octave_value::atanh ( void  ) const
inline

Definition at line 1354 of file ov.h.

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

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

Definition at line 819 of file ov.h.

Referenced by do_bessel(), bool_property::do_set(), if(), and cdef_class::make_meta_class().

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

octave_value octave_value::cbrt ( void  ) const
inline

Definition at line 1355 of file ov.h.

octave_value octave_value::ceil ( void  ) const
inline

Definition at line 1356 of file ov.h.

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

Definition at line 920 of file ov.h.

Referenced by G__voronoi__(), and unbox().

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
ColumnVector octave_value::column_vector_value ( bool  frc_str_conv = false,
bool  frc_vec_conv = false 
) const

Definition at line 1766 of file ov.cc.

References vector_value().

Referenced by 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 1774 of file ov.cc.

References complex_vector_value().

Referenced by Fmgorth(), and xnorm().

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

Definition at line 850 of file ov.h.

Referenced by Fdet(), and Finv().

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

void octave_value::convert_to_row_or_column_vector ( void  )
inline

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

octave_value octave_value::dawson ( void  ) const
inline

Definition at line 1366 of file ov.h.

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

Definition at line 1311 of file ov.h.

References diag(), and k.

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

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

Definition at line 1314 of file ov.h.

References diag().

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

Definition at line 844 of file ov.h.

Referenced by Fdet(), and Finv().

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 1533 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 2794 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 316 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 732 of file ov.h.

octave_value octave_value::erf ( void  ) const
inline

Definition at line 1360 of file ov.h.

octave_value octave_value::erfc ( void  ) const
inline

Definition at line 1363 of file ov.h.

octave_value octave_value::erfcinv ( void  ) const
inline

Definition at line 1362 of file ov.h.

octave_value octave_value::erfcx ( void  ) const
inline

Definition at line 1364 of file ov.h.

octave_value octave_value::erfi ( void  ) const
inline

Definition at line 1365 of file ov.h.

octave_value octave_value::erfinv ( void  ) const
inline

Definition at line 1361 of file ov.h.

octave_value octave_value::eval ( void  )
inline

Definition at line 736 of file ov.h.

octave_value octave_value::exp ( void  ) const
inline

Definition at line 1367 of file ov.h.

octave_value octave_value::expm1 ( void  ) const
inline

Definition at line 1368 of file ov.h.

octave_value octave_value::fast_elem_extract ( octave_idx_type  n) const
inline

Definition at line 1420 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 1428 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 1735 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 943 of file ov.h.

References octave_base_value::find_parent_class().

octave_value octave_value::fix ( void  ) const
inline

Definition at line 1370 of file ov.h.

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

References float_vector_value().

Referenced by 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 1967 of file ov.cc.

References float_complex_vector_value().

Referenced by Fmgorth(), and xnorm().

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

Definition at line 854 of file ov.h.

Referenced by Fdet(), and Finv().

FloatComplexMatrix octave_value::float_complex_matrix_value ( bool  frc_str_conv = false) const
inline

Definition at line 809 of file ov.h.

Referenced by Fdet(), Feig(), Fhess(), Finv(), Fmgorth(), Fschur(), Fsvd(), Gchol(), Gqr(), if(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().

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

Definition at line 1984 of file ov.cc.

References float_complex_vector_value().

FloatComplex octave_value::float_complex_value ( bool  frc_str_conv = false) const
inline

Definition at line 802 of file ov.h.

Referenced by octave_float_complex_diag_matrix::chk_valid_scalar().

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

Referenced by Fdet(), and Finv().

FloatMatrix octave_value::float_matrix_value ( bool  frc_str_conv = false) const
inline

Definition at line 790 of file ov.h.

Referenced by Fdet(), Feig(), Fhess(), Finv(), Fmgorth(), Fschur(), Fsvd(), Gchol(), Gqr(), if(), xcolnorms(), xfrobnorm(), xnorm(), and xrownorms().

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

Definition at line 1976 of file ov.cc.

References float_vector_value().

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

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

octave_value octave_value::full_value ( void  ) const
inline

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

octave_idx_type octave_value::get_count ( void  ) const
inline

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

References int64_value(), and int_value().

octave_value octave_value::imag ( void  ) const
inline

Definition at line 1373 of file ov.h.

Referenced by octave::math::expm1(), and octave::math::log1p().

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 863 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 866 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 869 of file ov.h.

Referenced by octave_base_stream::do_numeric_printf_conv().

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

Definition at line 765 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 860 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 521 of file ov.h.

References permute().

bool octave_value::is_anonymous_function ( void  ) const
inline

Definition at line 705 of file ov.h.

Referenced by symbol_exist().

bool octave_value::is_bool_matrix ( void  ) const
inline

Definition at line 566 of file ov.h.

bool octave_value::is_bool_scalar ( void  ) const
inline

Definition at line 563 of file ov.h.

Referenced by bool_property::do_set(), unbox(), 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 723 of file ov.h.

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

bool octave_value::is_classdef_object ( void  ) const
inline

Definition at line 596 of file ov.h.

Referenced by generate_struct_completions().

bool octave_value::is_complex_matrix ( void  ) const
inline

Definition at line 560 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 699 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 1272 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 536 of file ov.h.

Referenced by symbol_table::alias_built_in_function(), assign(), symbol_table::built_in_function_names(), symbol_table::fcn_info::fcn_info_rep::builtin_find(), octave_oncleanup::clone(), symbol_table::cmdline_function_names(), symbol_table::do_builtin_find(), 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(), symbol_table::do_workspace_info(), symbol_table::symbol_record::symbol_record_rep::dump(), dump_octave_core(), callback_property::execute(), file_editor_tab::exit_debug_and_clear(), symbol_table::symbol_record::find(), symbol_table::find_function(), symbol_table::fcn_info::fcn_info_rep::find_method(), symbol_table::find_method(), symbol_table::find_submethod(), G__eigs__(), Gamd(), generate_struct_completions(), get_output_list(), get_user_code(), octave_stream::getl(), octave_stream::gets(), handle_message(), if(), octave_class::index_vector(), cdef_class::cdef_class_rep::initialize_object(), tree_parameter_list::initialize_undefined_elements(), symbol_table::is_built_in_function_name(), callback_property::is_defined(), is_dummy_method(), is_equal(), tree_expression::is_logically_true(), is_method_executing(), octave_class::is_true(), 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(), cdef_package::cdef_package_rep::meta_subsref(), mexGet(), mexGetVariable(), 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_class::string_vector_value(), 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(), octave::tree_evaluator::visit_statement(), 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 572 of file ov.h.

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

bool octave_value::is_dld_function ( void  ) const
inline

Definition at line 726 of file ov.h.

bool octave_value::is_double_type ( void  ) const
inline
bool octave_value::is_dq_string ( void  ) const
inline

Definition at line 584 of file ov.h.

Referenced by do_colon_op(), and tm_row_const::tm_row_const_rep::do_init_element().

bool octave_value::is_empty ( void  ) const
inline
bool octave_value::is_equal ( const octave_value test) const
bool octave_value::is_float_type ( void  ) const
inline

Definition at line 630 of file ov.h.

Referenced by Feig(), and unbox().

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

Definition at line 708 of file ov.h.

Referenced by DEFUN(), save_mat5_binary_element(), save_mat5_element_length(), and symbol_exist().

bool octave_value::is_instance_of ( const std::string cls_name) const
inline

Definition at line 946 of file ov.h.

Referenced by 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 599 of file ov.h.

Referenced by box_more(), generate_struct_completions(), and unbox().

bool octave_value::is_magic_colon ( void  ) const
inline

Definition at line 605 of file ov.h.

Referenced by sanitize().

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

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

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

References mode.

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

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

Definition at line 1329 of file ov.h.

References mode.

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 578 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(), gh_manager::do_execute_callback(), 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(), err_method_access(), err_property_access(), F__dump_symtab_info__(), F__magick_read__(), Ffwrite(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), Fspparms(), G__voronoi__(), get_int_arg(), printf_value_cache::get_next_value(), mxArray_octave_value::get_string(), 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(), pattern(), 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(), sparse(), text_label_property::text_label_property(), unbox(), callback_property::validate(), and octave::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 720 of file ov.h.

Referenced by file_editor_tab::exit_debug_and_clear(), and get_user_code().

bool octave_value::is_user_function ( void  ) const
inline

Definition at line 717 of file ov.h.

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

bool octave_value::is_user_script ( void  ) const
inline

Definition at line 714 of file ov.h.

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

Definition at line 1369 of file ov.h.

octave_value octave_value::isinf ( void  ) const
inline

Definition at line 1374 of file ov.h.

Referenced by is_nan_or_inf().

bool octave_value::islocked ( void  ) const
inline

Definition at line 1336 of file ov.h.

octave_value octave_value::isna ( void  ) const
inline

Definition at line 1375 of file ov.h.

octave_value octave_value::isnan ( void  ) const
inline

Definition at line 1376 of file ov.h.

Referenced by is_nan_or_inf().

octave_idx_type octave_value::length ( void  ) const
octave_value octave_value::lgamma ( void  ) const
inline

Definition at line 1377 of file ov.h.

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

Definition at line 1279 of file ov.h.

Referenced by read_text_data().

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

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

Referenced by hdf5_read_next_data_internal().

void octave_value::lock ( void  )
inline

Definition at line 1332 of file ov.h.

octave_value octave_value::log ( void  ) const
inline

Definition at line 1378 of file ov.h.

octave_value octave_value::log10 ( void  ) const
inline

Definition at line 1380 of file ov.h.

Referenced by d1mach(), and r1mach().

octave_value octave_value::log1p ( void  ) const
inline

Definition at line 1381 of file ov.h.

octave_value octave_value::log2 ( void  ) const
inline

Definition at line 1379 of file ov.h.

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

Definition at line 757 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 343 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 930 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 530 of file ov.h.

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

Definition at line 787 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(), octave::opengl_renderer::draw_axes_children(), octave::opengl_renderer::draw_axes_x_grid(), octave::opengl_renderer::draw_axes_y_grid(), octave::opengl_renderer::draw_axes_z_grid(), octave::opengl_selector::draw_image(), octave::opengl_renderer::draw_image(), octave::opengl_renderer::draw_light(), octave::opengl_renderer::draw_line(), octave::opengl_renderer::draw_patch(), octave::opengl_renderer::draw_surface(), Fdet(), Feig(), Fhess(), Finv(), axes::properties::fix_limits(), Fmgorth(), Fschur(), Fsvd(), Gchol(), Gqr(), 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(), QtHandles::Canvas::select_object(), gnuplot_graphics_toolkit::send_quit(), QtHandles::SliderControl::SliderControl(), QtHandles::ButtonControl::toggled(), unbox(), QtHandles::ButtonControl::update(), QtHandles::SliderControl::update(), QtHandles::ListBoxControl::update(), QtHandles::PopupMenuControl::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 1184 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 1303 of file ov.h.

Referenced by mxArray_octave_value::get_data(), and mxArray_octave_value::get_scalar().

octave_idx_type* octave_value::mex_get_ir ( void  ) const
inline

Definition at line 1305 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 1307 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_list octave_value::next_subsref ( int  nargout,
const std::string type,
const std::list< octave_value_list > &  idx,
size_t  skip = 1 
)

Definition at line 1478 of file ov.cc.

References nargout(), 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 1494 of file ov.cc.

References nargout(), 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 
)

Definition at line 1511 of file ov.cc.

References subsref().

octave_idx_type octave_value::nfields ( void  ) const
inline
octave_base_value * octave_value::nil_rep ( void  )
staticprivate

Definition at line 112 of file ov.cc.

int octave_value::nint_value ( bool  frc_str_conv = false) const
inline

Definition at line 753 of file ov.h.

Referenced by G__eigs__().

octave_idx_type octave_value::nnz ( void  ) const
inline

Definition at line 509 of file ov.h.

Referenced by save_mat_binary_data().

size_t octave_value::nparents ( void  ) const
inline

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

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

Referenced by do_binary_op().

octave_idx_type octave_value::nzmax ( void  ) const
inline

Definition at line 511 of file ov.h.

Referenced by mxArray_octave_value::get_nzmax(), and sparse().

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

PermMatrix octave_value::perm_matrix_value ( void  ) const
inline

Definition at line 857 of file ov.h.

Referenced by Fdet(), and Finv().

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

Referenced by tree_constant::print().

bool octave_value::print_as_scalar ( void  ) const
inline

Definition at line 1213 of file ov.h.

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

Definition at line 2622 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 1222 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 1382 of file ov.h.

Referenced by octave::math::log1p().

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

octave_value octave_value::roundb ( void  ) const
inline

Definition at line 1384 of file ov.h.

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

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

Referenced by save_text_data().

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

Definition at line 1281 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 1288 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 1228 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 739 of file ov.h.

octave_value octave_value::signum ( void  ) const
inline

Definition at line 1385 of file ov.h.

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

References rep, and octave_base_value::subsref().

Referenced by maybe_update_column().

octave_value octave_value::sinh ( void  ) const
inline

Definition at line 1387 of file ov.h.

Matrix octave_value::size ( void  )
inline

Definition at line 408 of file ov.h.

References Array< T >::size().

Referenced by symbol_table::do_workspace_info(), get_dims_str(), and symbol_info_list::map_value().

octave_value octave_value::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
inline

Definition at line 1317 of file ov.h.

References mode, and sort().

Referenced by octave_perm_matrix::sort(), octave_base_diag< DiagMatrix, Matrix >::sort(), and sort().

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

Definition at line 1319 of file ov.h.

References mode, and sort().

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

Definition at line 1326 of file ov.h.

References mode, and Array< T >::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 382 of file ov.h.

References squeeze().

Referenced by squeeze().

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

Definition at line 908 of file ov.h.

Referenced by file_editor_tab::add_octave_apis(), attribute_value_to_string(), QtHandles::Container::canvas(), Cell::cellstr_value(), check_access(), convert_linestyleorder_string(), convert_ticklabel_string(), gh_manager::do_execute_callback(), 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(), octave::opengl_renderer::draw_axes_children(), err_method_access(), err_property_access(), F__dump_symtab_info__(), F__magick_read__(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), G__voronoi__(), get_int_arg(), file_editor::handle_edit_mfile_request(), handle_message(), hook_function::hook_function(), if(), 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(), octave_stream::scanf(), screen_size_pixels(), octave_stream::seek(), QtHandles::Canvas::select_object(), property_list::set(), figure::properties::set___graphics_toolkit__(), figure::properties::set___mouse_mode__(), octave::opengl_renderer::set_font(), 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(), unbox(), warning_enabled(), QtHandles::zoom_enabled(), and QtHandles::zoom_mode().

string_vector octave_value::string_vector_value ( bool  pad = false) const
inline
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 octave_value::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
)
inline

Definition at line 421 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 
)

Definition at line 1441 of file ov.cc.

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,
const std::list< octave_lvalue > *  lvalue_list 
)

Definition at line 1451 of file ov.cc.

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

octave_value octave_value::tan ( void  ) const
inline

Definition at line 1389 of file ov.h.

octave_value octave_value::tanh ( void  ) const
inline

Definition at line 1390 of file ov.h.

octave_base_value* octave_value::try_narrowing_conversion ( void  )
inline

Definition at line 404 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 875 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 878 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 881 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 769 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 872 of file ov.h.

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

Definition at line 750 of file ov.h.

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

Definition at line 761 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 150 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 2814 of file ov.cc.

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

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

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

Definition at line 1723 of file ov.cc.

References rep, and octave_base_value::user_code_value().

Referenced by file_editor_tab::exit_debug_and_clear(), and 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 1717 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 743 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,
octave::mach_info::float_format  flt_fmt 
) const

Definition at line 2192 of file ov.cc.

References rep, and octave_base_value::write().

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

NDArray octave_value::xarray_value ( const char *  fmt,
  ... 
) const

Definition at line 2072 of file ov.cc.

Referenced by Fellipj().

boolNDArray octave_value::xbool_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2086 of file ov.cc.

boolMatrix octave_value::xbool_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2085 of file ov.cc.

bool octave_value::xbool_value ( const char *  fmt,
  ... 
) const

Definition at line 2084 of file ov.cc.

Cell octave_value::xcell_value ( const char *  fmt,
  ... 
) const
Array< std::string > octave_value::xcellstr_value ( const char *  fmt,
  ... 
) const

Definition at line 2126 of file ov.cc.

charNDArray octave_value::xchar_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2089 of file ov.cc.

charMatrix octave_value::xchar_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2088 of file ov.cc.

ColumnVector octave_value::xcolumn_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2133 of file ov.cc.

ComplexNDArray octave_value::xcomplex_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2081 of file ov.cc.

Referenced by do_bessel(), and Fellipj().

ComplexColumnVector octave_value::xcomplex_column_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2134 of file ov.cc.

Referenced by do_bessel().

ComplexDiagMatrix octave_value::xcomplex_diag_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2097 of file ov.cc.

ComplexMatrix octave_value::xcomplex_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2078 of file ov.cc.

ComplexRowVector octave_value::xcomplex_row_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2137 of file ov.cc.

Complex octave_value::xcomplex_value ( const char *  fmt,
  ... 
) const

Definition at line 2075 of file ov.cc.

Referenced by do_bessel(), and Fellipj().

Array< Complex > octave_value::xcomplex_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2149 of file ov.cc.

DiagMatrix octave_value::xdiag_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2095 of file ov.cc.

double octave_value::xdouble_value ( const char *  fmt,
  ... 
) const

Definition at line 2063 of file ov.cc.

Referenced by handle_property::do_set(), Fellipj(), reparent(), and base_properties::set_parent().

octave_fcn_handle * octave_value::xfcn_handle_value ( const char *  fmt,
  ... 
) const

Definition at line 2158 of file ov.cc.

octave_fcn_inline * octave_value::xfcn_inline_value ( const char *  fmt,
  ... 
) const

Definition at line 2159 of file ov.cc.

FloatNDArray octave_value::xfloat_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2073 of file ov.cc.

FloatColumnVector octave_value::xfloat_column_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2139 of file ov.cc.

FloatComplexNDArray octave_value::xfloat_complex_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2082 of file ov.cc.

Referenced by do_bessel().

FloatComplexColumnVector octave_value::xfloat_complex_column_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2140 of file ov.cc.

Referenced by do_bessel().

FloatComplexDiagMatrix octave_value::xfloat_complex_diag_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2098 of file ov.cc.

FloatComplexMatrix octave_value::xfloat_complex_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2079 of file ov.cc.

FloatComplexRowVector octave_value::xfloat_complex_row_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2143 of file ov.cc.

FloatComplex octave_value::xfloat_complex_value ( const char *  fmt,
  ... 
) const

Definition at line 2076 of file ov.cc.

Referenced by do_bessel().

Array< FloatComplex > octave_value::xfloat_complex_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2152 of file ov.cc.

FloatDiagMatrix octave_value::xfloat_diag_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2096 of file ov.cc.

FloatMatrix octave_value::xfloat_matrix_value ( const char *  fmt,
  ... 
) const

Definition at line 2070 of file ov.cc.

FloatRowVector octave_value::xfloat_row_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2142 of file ov.cc.

float octave_value::xfloat_scalar_value ( const char *  fmt,
  ... 
) const

Definition at line 2067 of file ov.cc.

float octave_value::xfloat_value ( const char *  fmt,
  ... 
) const

Definition at line 2064 of file ov.cc.

Array< float > octave_value::xfloat_vector_value ( const char *  fmt,
  ... 
) const

Definition at line 2151 of file ov.cc.

octave_function * octave_value::xfunction_value ( const char *  fmt,
  ... 
) const

Definition at line 2154 of file ov.cc.

octave_idx_type octave_value::xidx_type_value ( const char *  fmt,
  ... 
) const

Definition at line 2061 of file ov.cc.

int16NDArray octave_value::xint16_array_value ( const char *  fmt,
  ... 
) const

Definition at line 2113 of file ov.cc.

octave_int16 octave_value::xint16_scalar_value ( const char *  fmt,
  ... 
) const

Definition at line 2103 of file ov.cc.