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

#include "ov-fcn.h"

Inheritance diagram for octave_function:
Inheritance graph
[legend]
Collaboration diagram for octave_function:
Collaboration graph
[legend]

Public Types

typedef octave_base_value *(* type_conv_fcn )(const octave_base_value &)
enum  unary_mapper_t {
  umap_abs, umap_acos, umap_acosh, umap_angle,
  umap_arg, umap_asin, umap_asinh, umap_atan,
  umap_atanh, umap_cbrt, umap_ceil, umap_conj,
  umap_cos, umap_cosh, umap_erf, umap_erfinv,
  umap_erfcinv, umap_erfc, umap_erfcx, umap_erfi,
  umap_dawson, umap_exp, umap_expm1, umap_finite,
  umap_fix, umap_floor, umap_gamma, umap_imag,
  umap_isinf, umap_isna, umap_isnan, umap_lgamma,
  umap_log, umap_log2, umap_log10, umap_log1p,
  umap_real, umap_round, umap_roundb, umap_signum,
  umap_sin, umap_sinh, umap_sqrt, umap_tan,
  umap_tanh, umap_xisalnum, umap_xisalpha, umap_xisascii,
  umap_xiscntrl, umap_xisdigit, umap_xisgraph, umap_xislower,
  umap_xisprint, umap_xispunct, umap_xisspace, umap_xisupper,
  umap_xisxdigit, umap_xsignbit, umap_xtoascii, umap_xtolower,
  umap_xtoupper, umap_unknown, num_unary_mappers = umap_unknown
}

Public Member Functions

 octave_function (void)
 ~octave_function (void)
virtual void accept (tree_walker &)
virtual octave_value all (int=0) const
virtual string_vector all_strings (bool pad=false) const
virtual octave_value any (int=0) const
virtual NDArray array_value (bool=false) const
virtual mxArrayas_mxArray (void) const
virtual void assign (const std::string &, const octave_value &)
virtual boolNDArray bool_array_value (bool=false) const
virtual boolMatrix bool_matrix_value (bool=false) const
virtual bool bool_value (bool=false) const
virtual builtin_type_t builtin_type (void) const
virtual size_t byte_size (void) const
virtual octave_idx_type capacity (void) const
virtual Cell cell_value (void) const
virtual Array< std::string > cellstr_value (void) const
virtual charNDArray char_array_value (bool=false) const
virtual charMatrix char_matrix_value (bool force=false) const
virtual std::string class_name (void) const
octave_base_valueclone (void) const
octave_idx_type columns (void) const
virtual ComplexNDArray complex_array_value (bool=false) const
virtual ComplexDiagMatrix complex_diag_matrix_value (bool=false) const
virtual ComplexMatrix complex_matrix_value (bool=false) const
virtual Complex complex_value (bool=false) const
virtual void convert_to_row_or_column_vector (void)
virtual octave_value convert_to_str (bool pad=false, bool force=false, char type= '\'') const
virtual octave_value convert_to_str_internal (bool pad, bool force, char type) const
virtual octave_value diag (octave_idx_type k=0) const
virtual octave_value diag (octave_idx_type m, octave_idx_type n) const
virtual DiagMatrix diag_matrix_value (bool=false) const
virtual dim_vector dims (void) const
std::string dir_name (void) const
std::string dispatch_class (void) const
virtual octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
virtual octave_value_list do_multi_index_op (int nargout, const octave_value_list &idx)
virtual octave_value_list do_multi_index_op (int nargout, const octave_value_list &idx, const std::list< octave_lvalue > *lvalue_list)
std::string doc_string (void) const
void document (const std::string &ds)
virtual double double_value (bool=false) const
virtual void dump (std::ostream &os) const
octave_base_valueempty_clone (void) const
virtual void erase_subfunctions (void)
virtual octave_value fast_elem_extract (octave_idx_type n) const
virtual bool fast_elem_insert (octave_idx_type n, const octave_value &x)
virtual bool fast_elem_insert_self (void *where, builtin_type_t btyp) const
virtual std::string fcn_file_name (void) const
virtual octave_fcn_handlefcn_handle_value (bool silent=false)
virtual octave_fcn_inlinefcn_inline_value (bool silent=false)
virtual octave_base_valuefind_parent_class (const std::string &)
virtual FloatNDArray float_array_value (bool=false) const
virtual FloatComplexNDArray float_complex_array_value (bool=false) const
virtual FloatComplexDiagMatrix float_complex_diag_matrix_value (bool=false) const
virtual FloatComplexMatrix float_complex_matrix_value (bool=false) const
virtual FloatComplex float_complex_value (bool=false) const
virtual FloatDiagMatrix float_diag_matrix_value (bool=false) const
virtual FloatMatrix float_matrix_value (bool=false) const
virtual float float_scalar_value (bool frc_str_conv=false) const
virtual float float_value (bool=false) const
virtual octave_value full_value (void) const
virtual octave_functionfunction_value (bool silent=false)
void grab (void)
virtual bool has_subfunctions (void) const
virtual idx_vector index_vector (void) const
virtual int16NDArray int16_array_value (void) const
virtual octave_int16 int16_scalar_value (void) const
virtual int32NDArray int32_array_value (void) const
virtual octave_int32 int32_scalar_value (void) const
virtual int64NDArray int64_array_value (void) const
virtual octave_int64 int64_scalar_value (void) const
virtual int64_t int64_value (bool=false, bool=false) const
virtual int8NDArray int8_array_value (void) const
virtual octave_int8 int8_scalar_value (void) const
virtual int int_value (bool=false, bool=false) const
virtual bool is_all_va_args (void) const
virtual bool is_anonymous_function (void) const
virtual bool is_anonymous_function_of_class (const std::string &=std::string()) const
virtual bool is_bool_matrix (void) const
virtual bool is_bool_scalar (void) const
virtual bool is_bool_type (void) const
virtual bool is_builtin_function (void) const
virtual bool is_cell (void) const
virtual bool is_cellstr (void) const
virtual bool is_char_matrix (void) const
virtual bool is_class_constructor (const std::string &=std::string()) const
virtual bool is_class_method (const std::string &=std::string()) const
virtual bool is_complex_matrix (void) const
virtual bool is_complex_scalar (void) const
virtual bool is_complex_type (void) const
virtual bool is_constant (void) const
virtual bool is_cs_list (void) const
bool is_defined (void) const
virtual bool is_diag_matrix (void) const
virtual bool is_dld_function (void) const
virtual bool is_double_type (void) const
bool is_empty (void) const
virtual bool is_float_type (void) const
bool is_function (void) const
virtual bool is_function_handle (void) const
virtual bool is_inline_function (void) const
virtual bool is_int16_type (void) const
virtual bool is_int32_type (void) const
virtual bool is_int64_type (void) const
virtual bool is_int8_type (void) const
virtual bool is_integer_type (void) const
virtual bool is_java (void) const
virtual bool is_magic_colon (void) const
virtual bool is_map (void) const
virtual bool is_matrix_type (void) const
virtual bool is_mex_function (void) const
virtual bool is_null_value (void) const
virtual bool is_numeric_type (void) const
virtual bool is_object (void) const
virtual bool is_perm_matrix (void) const
bool is_private_function (void) const
bool is_private_function_of_class (const std::string &nm) const
virtual bool is_range (void) const
virtual bool is_real_matrix (void) const
virtual bool is_real_scalar (void) const
virtual bool is_real_type (void) const
bool is_relative (void) const
virtual bool is_scalar_type (void) const
virtual bool is_single_type (void) const
virtual sortmode is_sorted (sortmode mode=UNSORTED) const
virtual sortmode is_sorted_rows (sortmode mode=UNSORTED) const
virtual bool is_sparse_type (void) const
virtual bool is_sq_string (void) const
virtual bool is_string (void) const
virtual bool is_subfunction (void) const
virtual bool is_system_fcn_file (void) const
virtual bool is_true (void) const
virtual bool is_uint16_type (void) const
virtual bool is_uint32_type (void) const
virtual bool is_uint64_type (void) const
virtual bool is_uint8_type (void) const
virtual bool is_user_code (void) const
virtual bool is_user_function (void) const
virtual bool is_user_script (void) const
bool islocked (void) const
virtual octave_value_list list_value (void) const
virtual bool load_ascii (std::istream &is)
virtual bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
virtual bool load_hdf5 (hid_t loc_id, const char *name)
void lock (void)
virtual void lock_subfunctions (void)
virtual long int long_value (bool=false, bool=false) const
virtual octave_value map (unary_mapper_t) const
virtual string_vector map_keys (void) const
virtual octave_map map_value (void) const
virtual void mark_as_private_function (const std::string &cname=std::string())
virtual void mark_fcn_file_up_to_date (const octave_time &)
void mark_relative (void)
virtual MatrixType matrix_type (void) const
virtual MatrixType matrix_type (const MatrixType &typ) const
virtual Matrix matrix_value (bool=false) const
virtual void maybe_economize (void)
virtual void maybe_relocate_end (void)
virtual voidmex_get_data (void) const
virtual octave_idx_typemex_get_ir (void) const
virtual octave_idx_typemex_get_jc (void) const
std::string name (void) const
virtual int ndims (void) const
virtual octave_idx_type nfields (void) const
virtual int nint_value (bool=false) const
virtual octave_idx_type nnz (void) const
virtual size_t nparents (void) const
virtual octave_idx_type numel (const octave_value_list &)
virtual octave_idx_type numel (void) const
virtual type_conv_info numeric_conversion_function (void) const
virtual type_conv_info numeric_demotion_function (void) const
virtual octave_idx_type nzmax (void) const
virtual std::list< std::string > parent_class_name_list (void) const
virtual string_vector parent_class_names (void) const
virtual std::string parent_fcn_name (void) const
virtual symbol_table::scope_id parent_fcn_scope (void) const
virtual PermMatrix perm_matrix_value (void) const
virtual octave_value permute (const Array< int > &vec, bool=false) const
virtual void print (std::ostream &os, bool pr_as_read_syntax=false) const
virtual bool print_as_scalar (void) const
virtual void print_info (std::ostream &os, const std::string &prefix) const
virtual bool print_name_tag (std::ostream &os, const std::string &name) const
virtual void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
virtual void print_with_name (std::ostream &output_buf, const std::string &name, bool print_padding=true)
virtual std::string profiler_name (void) const
virtual Range range_value (void) const
void release (void)
virtual octave_value reshape (const dim_vector &) const
virtual octave_value resize (const dim_vector &, bool fill=false) const
octave_idx_type rows (void) const
virtual bool save_ascii (std::ostream &os)
virtual bool save_binary (std::ostream &os, bool &save_as_floats)
virtual bool save_hdf5 (hid_t loc_id, const char *name, bool save_as_floats)
virtual octave_scalar_map scalar_map_value (void) const
virtual double scalar_value (bool frc_str_conv=false) const
virtual symbol_table::scope_id scope (void)
virtual void short_disp (std::ostream &os) const
virtual short int short_value (bool=false, bool=false) const
virtual Matrix size (void)
virtual octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
virtual octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
virtual Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
virtual SparseBoolMatrix sparse_bool_matrix_value (bool=false) const
virtual SparseComplexMatrix sparse_complex_matrix_value (bool=false) const
virtual SparseMatrix sparse_matrix_value (bool=false) const
virtual octave_value squeeze (void) const
virtual std::string src_file_name (void) const
void stash_dir_name (const std::string &dir)
void stash_dispatch_class (const std::string &nm)
virtual void stash_subfunction_names (const std::list< std::string > &)
virtual std::string string_value (bool force=false) const
virtual std::list< std::string > subfunction_names (void) const
virtual octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
virtual octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
virtual octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx, bool auto_add)
virtual octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout, const std::list< octave_lvalue > *lvalue_list)
virtual bool takes_var_return (void) const
virtual bool takes_varargs (void) const
virtual octave_time time_checked (void) const
virtual octave_time time_parsed (void) const
virtual octave_base_valuetry_narrowing_conversion (void)
virtual int type_id (void) const
virtual std::string type_name (void) const
virtual uint16NDArray uint16_array_value (void) const
virtual octave_uint16 uint16_scalar_value (void) const
virtual uint32NDArray uint32_array_value (void) const
virtual octave_uint32 uint32_scalar_value (void) const
virtual uint64NDArray uint64_array_value (void) const
virtual octave_uint64 uint64_scalar_value (void) const
virtual uint64_t uint64_value (bool=false, bool=false) const
virtual uint8NDArray uint8_array_value (void) const
virtual octave_uint8 uint8_scalar_value (void) const
virtual unsigned int uint_value (bool=false, bool=false) const
virtual unsigned long int ulong_value (bool=false, bool=false) const
virtual octave_value undef_subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
virtual octave_base_valueunique_clone (void)
virtual octave_base_valueunique_parent_class (const std::string &)
virtual void unload (void)
void unlock (void)
virtual void unlock_subfunctions (void)
virtual octave_user_codeuser_code_value (bool silent=false)
virtual octave_user_functionuser_function_value (bool silent=false)
virtual octave_user_scriptuser_script_value (bool silent=false)
virtual unsigned short int ushort_value (bool=false, bool=false) const
virtual int write (octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const

Static Public Member Functions

static void register_type (void)
static std::string static_class_name (void)
static int static_type_id (void)
static std::string static_type_name (void)

Protected Member Functions

 octave_function (const std::string &nm, const std::string &ds=std::string())
int current_print_indent_level (void) const
void decrement_indent_level (void) const
void increment_indent_level (void) const
void indent (std::ostream &os) const
void newline (std::ostream &os) const
octave_value numeric_assign (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
void reset (void) const
void reset_indent_level (void) const

Static Protected Member Functions

static const charget_umap_name (unary_mapper_t)

Protected Attributes

octave_refcount< octave_idx_typecount
std::string doc
bool locked
std::string my_dir_name
std::string my_name
bool private_function
bool relative
std::string xdispatch_class

Private Member Functions

 octave_function (const octave_function &f)
octave_functionoperator= (const octave_function &f)

Detailed Description

Definition at line 41 of file ov-fcn.h.

Member Typedef Documentation

typedef octave_base_value*(* octave_base_value::type_conv_fcn)(const octave_base_value &)
inherited

Definition at line 185 of file ov-base.h.

Member Enumeration Documentation

Enumerator:
umap_abs 
umap_acos 
umap_acosh 
umap_angle 
umap_arg 
umap_asin 
umap_asinh 
umap_atan 
umap_atanh 
umap_cbrt 
umap_ceil 
umap_conj 
umap_cos 
umap_cosh 
umap_erf 
umap_erfinv 
umap_erfcinv 
umap_erfc 
umap_erfcx 
umap_erfi 
umap_dawson 
umap_exp 
umap_expm1 
umap_finite 
umap_fix 
umap_floor 
umap_gamma 
umap_imag 
umap_isinf 
umap_isna 
umap_isnan 
umap_lgamma 
umap_log 
umap_log2 
umap_log10 
umap_log1p 
umap_real 
umap_round 
umap_roundb 
umap_signum 
umap_sin 
umap_sinh 
umap_sqrt 
umap_tan 
umap_tanh 
umap_xisalnum 
umap_xisalpha 
umap_xisascii 
umap_xiscntrl 
umap_xisdigit 
umap_xisgraph 
umap_xislower 
umap_xisprint 
umap_xispunct 
umap_xisspace 
umap_xisupper 
umap_xisxdigit 
umap_xsignbit 
umap_xtoascii 
umap_xtolower 
umap_xtoupper 
umap_unknown 
num_unary_mappers 

Definition at line 681 of file ov-base.h.

Constructor & Destructor Documentation

octave_function::octave_function ( void  )
inline

Definition at line 47 of file ov-fcn.h.

octave_function::~octave_function ( void  )
inline

Definition at line 51 of file ov-fcn.h.

octave_function::octave_function ( const std::string &  nm,
const std::string &  ds = std::string () 
)
inlineprotected

Definition at line 165 of file ov-fcn.h.

octave_function::octave_function ( const octave_function f)
private

Member Function Documentation

virtual void octave_function::accept ( tree_walker )
inlinevirtual
octave_value octave_base_value::all ( int  = 0) const
virtualinherited
string_vector octave_base_value::all_strings ( bool  pad = false) const
virtualinherited
octave_value octave_base_value::any ( int  = 0) const
virtualinherited
NDArray octave_base_value::array_value ( bool  = false) const
virtualinherited
mxArray * octave_base_value::as_mxArray ( void  ) const
virtualinherited
virtual void octave_base_value::assign ( const std::string &  ,
const octave_value  
)
inlinevirtualinherited
boolNDArray octave_base_value::bool_array_value ( bool  = false) const
virtualinherited
boolMatrix octave_base_value::bool_matrix_value ( bool  = false) const
virtualinherited
bool octave_base_value::bool_value ( bool  = false) const
virtualinherited
virtual builtin_type_t octave_base_value::builtin_type ( void  ) const
inlinevirtualinherited
virtual size_t octave_base_value::byte_size ( void  ) const
inlinevirtualinherited
virtual octave_idx_type octave_base_value::capacity ( void  ) const
inlinevirtualinherited
Cell octave_base_value::cell_value ( void  ) const
virtualinherited

Reimplemented in octave_cell.

Definition at line 531 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::cell_value().

Array< std::string > octave_base_value::cellstr_value ( void  ) const
virtualinherited

Reimplemented in octave_cell, and octave_char_matrix_str.

Definition at line 915 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::cellstr_value().

charNDArray octave_base_value::char_array_value ( bool  = false) const
virtualinherited
charMatrix octave_base_value::char_matrix_value ( bool  force = false) const
virtualinherited
virtual std::string octave_base_value::class_name ( void  ) const
inlinevirtualinherited
octave_base_value * octave_function::clone ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 34 of file ov-fcn.cc.

References panic_impossible.

octave_idx_type octave_base_value::columns ( void  ) const
inlineinherited

Definition at line 301 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_value::columns(), octave_sparse_bool_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_matrix::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_bool_matrix::float_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), pr_where(), octave_cell::print_raw(), octave_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), octave_float_matrix::save_ascii(), octave_bool_matrix::save_ascii(), and octave_matrix::save_ascii().

ComplexNDArray octave_base_value::complex_array_value ( bool  = false) const
virtualinherited
ComplexDiagMatrix octave_base_value::complex_diag_matrix_value ( bool  = false) const
virtualinherited
ComplexMatrix octave_base_value::complex_matrix_value ( bool  = false) const
virtualinherited
Complex octave_base_value::complex_value ( bool  = false) const
virtualinherited
void octave_base_value::convert_to_row_or_column_vector ( void  )
virtualinherited
octave_value octave_base_value::convert_to_str ( bool  pad = false,
bool  force = false,
char  type = '\'' 
) const
virtualinherited
octave_value octave_base_value::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const
virtualinherited
int octave_base_value::current_print_indent_level ( void  ) const
inlineprotectedinherited
void octave_base_value::decrement_indent_level ( void  ) const
inlineprotectedinherited
octave_value octave_base_value::diag ( octave_idx_type  k = 0) const
virtualinherited
octave_value octave_base_value::diag ( octave_idx_type  m,
octave_idx_type  n 
) const
virtualinherited
DiagMatrix octave_base_value::diag_matrix_value ( bool  = false) const
virtualinherited
virtual dim_vector octave_base_value::dims ( void  ) const
inlinevirtualinherited
std::string octave_function::dir_name ( void  ) const
inline
std::string octave_function::dispatch_class ( void  ) const
inline
octave_value octave_base_value::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
)
virtualinherited
octave_value_list octave_base_value::do_multi_index_op ( int  nargout,
const octave_value_list idx 
)
virtualinherited
octave_value_list octave_base_value::do_multi_index_op ( int  nargout,
const octave_value_list idx,
const std::list< octave_lvalue > *  lvalue_list 
)
virtualinherited
std::string octave_function::doc_string ( void  ) const
inline

Definition at line 157 of file ov-fcn.h.

Referenced by raw_help_from_symbol_table().

void octave_function::document ( const std::string &  ds)
inline

Definition at line 155 of file ov-fcn.h.

Referenced by install_built_in_docstrings().

double octave_base_value::double_value ( bool  = false) const
virtualinherited
void octave_base_value::dump ( std::ostream &  os) const
virtualinherited
octave_base_value * octave_function::empty_clone ( void  ) const
virtual

Reimplemented from octave_base_value.

Definition at line 41 of file ov-fcn.cc.

References panic_impossible.

virtual void octave_base_value::erase_subfunctions ( void  )
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 449 of file ov-base.h.

Referenced by octave_value::erase_subfunctions().

octave_value octave_base_value::fast_elem_extract ( octave_idx_type  n) const
virtualinherited
bool octave_base_value::fast_elem_insert ( octave_idx_type  n,
const octave_value x 
)
virtualinherited
bool octave_base_value::fast_elem_insert_self ( void where,
builtin_type_t  btyp 
) const
virtualinherited
virtual std::string octave_function::fcn_file_name ( void  ) const
inlinevirtual
octave_fcn_handle * octave_base_value::fcn_handle_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 1034 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::fcn_handle_value().

octave_fcn_inline * octave_base_value::fcn_inline_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_fcn_inline.

Definition at line 1045 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::fcn_inline_value().

virtual octave_base_value* octave_base_value::find_parent_class ( const std::string &  )
inlinevirtualinherited
FloatNDArray octave_base_value::float_array_value ( bool  = false) const
virtualinherited
FloatComplexNDArray octave_base_value::float_complex_array_value ( bool  = false) const
virtualinherited
FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value ( bool  = false) const
virtualinherited
FloatComplexMatrix octave_base_value::float_complex_matrix_value ( bool  = false) const
virtualinherited
FloatComplex octave_base_value::float_complex_value ( bool  = false) const
virtualinherited
FloatDiagMatrix octave_base_value::float_diag_matrix_value ( bool  = false) const
virtualinherited
FloatMatrix octave_base_value::float_matrix_value ( bool  = false) const
virtualinherited
virtual float octave_base_value::float_scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited
float octave_base_value::float_value ( bool  = false) const
virtualinherited
octave_value octave_base_value::full_value ( void  ) const
virtualinherited
octave_function * octave_base_value::function_value ( bool  silent = false)
virtualinherited
const char * octave_base_value::get_umap_name ( unary_mapper_t  umap)
staticprotectedinherited

Definition at line 1186 of file ov-base.cc.

References names(), and octave_base_value::num_unary_mappers.

Referenced by octave_char_matrix::map(), and octave_base_value::map().

void octave_base_value::grab ( void  )
inlineinherited
virtual bool octave_function::has_subfunctions ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 140 of file ov-fcn.h.

void octave_base_value::increment_indent_level ( void  ) const
inlineprotectedinherited
void octave_base_value::indent ( std::ostream &  os) const
protectedinherited
idx_vector octave_base_value::index_vector ( void  ) const
virtualinherited
int16NDArray octave_base_value::int16_array_value ( void  ) const
virtualinherited
octave_int16 octave_base_value::int16_scalar_value ( void  ) const
virtualinherited
int32NDArray octave_base_value::int32_array_value ( void  ) const
virtualinherited
octave_int32 octave_base_value::int32_scalar_value ( void  ) const
virtualinherited
int64NDArray octave_base_value::int64_array_value ( void  ) const
virtualinherited
octave_int64 octave_base_value::int64_scalar_value ( void  ) const
virtualinherited
int64_t octave_base_value::int64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 488 of file ov-base.cc.

Referenced by octave_value::int64_value().

int8NDArray octave_base_value::int8_array_value ( void  ) const
virtualinherited
octave_int8 octave_base_value::int8_scalar_value ( void  ) const
virtualinherited
int octave_base_value::int_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 482 of file ov-base.cc.

Referenced by octave_value::int_value().

virtual bool octave_base_value::is_all_va_args ( void  ) const
inlinevirtualinherited

Definition at line 375 of file ov-base.h.

virtual bool octave_base_value::is_anonymous_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function.

Definition at line 431 of file ov-base.h.

Referenced by octave_value::is_anonymous_function().

virtual bool octave_function::is_anonymous_function_of_class ( const std::string &  = std::string ()) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 112 of file ov-fcn.h.

Referenced by octave_class::in_class_method().

virtual bool octave_base_value::is_bool_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool_matrix, and octave_sparse_bool_matrix.

Definition at line 351 of file ov-base.h.

Referenced by octave_value::is_bool_matrix().

virtual bool octave_base_value::is_bool_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool.

Definition at line 349 of file ov-base.h.

Referenced by octave_value::is_bool_scalar().

virtual bool octave_base_value::is_bool_type ( void  ) const
inlinevirtualinherited

Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.

Definition at line 405 of file ov-base.h.

Referenced by octave_value::is_bool_type().

virtual bool octave_base_value::is_builtin_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function, octave_builtin, and octave_dld_function.

Definition at line 443 of file ov-base.h.

Referenced by octave_value::is_builtin_function().

virtual bool octave_base_value::is_cell ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 337 of file ov-base.h.

Referenced by octave_value::is_cell().

virtual bool octave_base_value::is_cellstr ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cell.

Definition at line 339 of file ov-base.h.

Referenced by octave_value::is_cellstr().

virtual bool octave_base_value::is_char_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix.

Definition at line 353 of file ov-base.h.

Referenced by octave_value::is_char_matrix().

virtual bool octave_function::is_class_constructor ( const std::string &  = std::string ()) const
inlinevirtual
virtual bool octave_function::is_class_method ( const std::string &  = std::string ()) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 88 of file ov-fcn.h.

Referenced by DEFUN(), octave_class::get_current_method_class(), and octave_class::in_class_method().

virtual bool octave_base_value::is_complex_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_complex_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_complex, and octave_float_complex.

Definition at line 345 of file ov-base.h.

Referenced by octave_value::is_complex_scalar().

virtual bool octave_base_value::is_complex_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_constant ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_cs_list ( void  ) const
inlinevirtualinherited

Reimplemented in octave_cs_list.

Definition at line 371 of file ov-base.h.

Referenced by octave_value::is_cs_list().

bool octave_function::is_defined ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 56 of file ov-fcn.h.

virtual bool octave_base_value::is_diag_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_dld_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_dld_function.

Definition at line 445 of file ov-base.h.

Referenced by get_current_shlib(), and octave_value::is_dld_function().

virtual bool octave_base_value::is_double_type ( void  ) const
inlinevirtualinherited
bool octave_base_value::is_empty ( void  ) const
inlineinherited
virtual bool octave_base_value::is_float_type ( void  ) const
inlinevirtualinherited
bool octave_function::is_function ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 58 of file ov-fcn.h.

virtual bool octave_base_value::is_function_handle ( void  ) const
inlinevirtualinherited

Reimplemented in octave_fcn_handle.

Definition at line 429 of file ov-base.h.

Referenced by octave_value::is_function_handle().

virtual bool octave_base_value::is_inline_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_function, and octave_fcn_inline.

Definition at line 433 of file ov-base.h.

Referenced by octave_value::is_inline_function().

virtual bool octave_base_value::is_int16_type ( void  ) const
inlinevirtualinherited

Definition at line 391 of file ov-base.h.

Referenced by octave_value::is_int16_type().

virtual bool octave_base_value::is_int32_type ( void  ) const
inlinevirtualinherited

Definition at line 393 of file ov-base.h.

Referenced by octave_value::is_int32_type().

virtual bool octave_base_value::is_int64_type ( void  ) const
inlinevirtualinherited

Definition at line 395 of file ov-base.h.

Referenced by octave_value::is_int64_type().

virtual bool octave_base_value::is_int8_type ( void  ) const
inlinevirtualinherited

Definition at line 389 of file ov-base.h.

Referenced by octave_value::is_int8_type().

virtual bool octave_base_value::is_integer_type ( void  ) const
inlinevirtualinherited

Reimplemented in OCTAVE_VALUE_INT_SCALAR_T, and OCTAVE_VALUE_INT_MATRIX_T.

Definition at line 407 of file ov-base.h.

Referenced by octave_value::is_integer_type().

virtual bool octave_base_value::is_java ( void  ) const
inlinevirtualinherited

Reimplemented in octave_java.

Definition at line 369 of file ov-base.h.

Referenced by octave_value::is_java().

virtual bool octave_base_value::is_magic_colon ( void  ) const
inlinevirtualinherited

Reimplemented in octave_magic_colon.

Definition at line 373 of file ov-base.h.

Referenced by octave_value::is_magic_colon().

virtual bool octave_base_value::is_map ( void  ) const
inlinevirtualinherited

Reimplemented in octave_scalar_struct, octave_class, octave_java, and octave_struct.

Definition at line 365 of file ov-base.h.

Referenced by Ferror(), Flasterror(), and octave_value::is_map().

virtual bool octave_base_value::is_matrix_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_mex_function ( void  ) const
inlinevirtualinherited

Reimplemented in octave_mex_function.

Definition at line 447 of file ov-base.h.

Referenced by get_current_shlib(), and octave_value::is_mex_function().

virtual bool octave_base_value::is_null_value ( void  ) const
inlinevirtualinherited

Reimplemented in octave_null_sq_str, octave_null_str, and octave_null_matrix.

Definition at line 425 of file ov-base.h.

Referenced by octave_value::is_null_value().

virtual bool octave_base_value::is_numeric_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_object ( void  ) const
inlinevirtualinherited

Reimplemented in octave_class, and octave_oncleanup.

Definition at line 367 of file ov-base.h.

Referenced by octave_value::is_object().

virtual bool octave_base_value::is_perm_matrix ( void  ) const
inlinevirtualinherited

Reimplemented in octave_perm_matrix.

Definition at line 357 of file ov-base.h.

Referenced by octave_value::is_perm_matrix().

bool octave_function::is_private_function ( void  ) const
inline

Definition at line 106 of file ov-fcn.h.

Referenced by DEFUN(), and make_fcn_handle().

bool octave_function::is_private_function_of_class ( const std::string &  nm) const
inline

Definition at line 108 of file ov-fcn.h.

Referenced by octave_class::in_class_method().

virtual bool octave_base_value::is_range ( void  ) const
inlinevirtualinherited

Reimplemented in octave_range.

Definition at line 363 of file ov-base.h.

Referenced by octave_value::is_range().

virtual bool octave_base_value::is_real_matrix ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_real_scalar ( void  ) const
inlinevirtualinherited

Reimplemented in octave_float_scalar, octave_scalar, and octave_bool.

Definition at line 341 of file ov-base.h.

Referenced by octave_value::is_real_scalar().

virtual bool octave_base_value::is_real_type ( void  ) const
inlinevirtualinherited
bool octave_function::is_relative ( void  ) const
inline

Definition at line 151 of file ov-fcn.h.

Referenced by out_of_date_check().

virtual bool octave_base_value::is_scalar_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_single_type ( void  ) const
inlinevirtualinherited
sortmode octave_base_value::is_sorted ( sortmode  mode = UNSORTED) const
virtualinherited
sortmode octave_base_value::is_sorted_rows ( sortmode  mode = UNSORTED) const
virtualinherited
virtual bool octave_base_value::is_sparse_type ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_sq_string ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_string ( void  ) const
inlinevirtualinherited

Reimplemented in octave_char_matrix_str.

Definition at line 359 of file ov-base.h.

Referenced by Flasterror(), octave_value::is_dq_string(), and octave_value::is_string().

virtual bool octave_function::is_subfunction ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 83 of file ov-fcn.h.

Referenced by DEFUN(), make_fcn_handle(), and out_of_date_check().

virtual bool octave_function::is_system_fcn_file ( void  ) const
inlinevirtual

Reimplemented in octave_user_function, octave_mex_function, and octave_dld_function.

Definition at line 60 of file ov-fcn.h.

Referenced by out_of_date_check().

virtual bool octave_base_value::is_true ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_uint16_type ( void  ) const
inlinevirtualinherited

Definition at line 399 of file ov-base.h.

Referenced by octave_value::is_uint16_type().

virtual bool octave_base_value::is_uint32_type ( void  ) const
inlinevirtualinherited

Definition at line 401 of file ov-base.h.

Referenced by octave_value::is_uint32_type().

virtual bool octave_base_value::is_uint64_type ( void  ) const
inlinevirtualinherited

Definition at line 403 of file ov-base.h.

Referenced by octave_value::is_uint64_type().

virtual bool octave_base_value::is_uint8_type ( void  ) const
inlinevirtualinherited

Definition at line 397 of file ov-base.h.

Referenced by octave_value::is_uint8_type().

virtual bool octave_base_value::is_user_code ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_user_function ( void  ) const
inlinevirtualinherited
virtual bool octave_base_value::is_user_script ( void  ) const
inlinevirtualinherited

Reimplemented in octave_user_script.

Definition at line 437 of file ov-base.h.

Referenced by DEFUN(), and octave_value::is_user_script().

bool octave_function::islocked ( void  ) const
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 131 of file ov-fcn.h.

Referenced by Fmislocked(), and mislocked().

octave_value_list octave_base_value::list_value ( void  ) const
virtualinherited

Reimplemented in octave_cell, and octave_cs_list.

Definition at line 1056 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::list_value().

bool octave_base_value::load_ascii ( std::istream &  is)
virtualinherited
bool octave_base_value::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
)
virtualinherited
bool octave_base_value::load_hdf5 ( hid_t  loc_id,
const char name 
)
virtualinherited
void octave_function::lock ( void  )
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 119 of file ov-fcn.h.

Referenced by Fmlock(), and mlock().

virtual void octave_function::lock_subfunctions ( void  )
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 133 of file ov-fcn.h.

long int octave_base_value::long_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 485 of file ov-base.cc.

Referenced by octave_value::long_value().

octave_value octave_base_value::map ( unary_mapper_t  umap) const
virtualinherited
string_vector octave_base_value::map_keys ( void  ) const
virtualinherited
octave_map octave_base_value::map_value ( void  ) const
virtualinherited
virtual void octave_function::mark_as_private_function ( const std::string &  cname = std::string ())
inlinevirtual
virtual void octave_function::mark_fcn_file_up_to_date ( const octave_time )
inlinevirtual

Reimplemented in octave_user_function, octave_user_script, octave_mex_function, and octave_dld_function.

Definition at line 73 of file ov-fcn.h.

Referenced by out_of_date_check().

void octave_function::mark_relative ( void  )
inline

Definition at line 149 of file ov-fcn.h.

Referenced by install_dld_function(), and install_mex_function().

MatrixType octave_base_value::matrix_type ( void  ) const
virtualinherited
MatrixType octave_base_value::matrix_type ( const MatrixType typ) const
virtualinherited
Matrix octave_base_value::matrix_value ( bool  = false) const
virtualinherited
virtual void octave_base_value::maybe_economize ( void  )
inlinevirtualinherited
virtual void octave_function::maybe_relocate_end ( void  )
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 137 of file ov-fcn.h.

virtual void* octave_base_value::mex_get_data ( void  ) const
inlinevirtualinherited
virtual octave_idx_type* octave_base_value::mex_get_ir ( void  ) const
inlinevirtualinherited
virtual octave_idx_type* octave_base_value::mex_get_jc ( void  ) const
inlinevirtualinherited
std::string octave_function::name ( void  ) const
inline
virtual int octave_base_value::ndims ( void  ) const
inlinevirtualinherited
void octave_base_value::newline ( std::ostream &  os) const
protectedinherited
octave_idx_type octave_base_value::nfields ( void  ) const
virtualinherited

Reimplemented in octave_scalar_struct, octave_class, and octave_struct.

Definition at line 317 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::nfields().

int octave_base_value::nint_value ( bool  frc_str_conv = false) const
virtualinherited
octave_idx_type octave_base_value::nnz ( void  ) const
virtualinherited
size_t octave_base_value::nparents ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 964 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::nparents().

octave_idx_type octave_base_value::numel ( const octave_value_list idx)
virtualinherited

Reimplemented in octave_class.

Definition at line 150 of file ov-base.cc.

References octave_base_value::dims(), and dims_to_numel().

Referenced by octave_value::numel().

virtual octave_idx_type octave_base_value::numel ( void  ) const
inlinevirtualinherited
octave_value octave_base_value::numeric_assign ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
protectedinherited
virtual type_conv_info octave_base_value::numeric_conversion_function ( void  ) const
inlinevirtualinherited
virtual type_conv_info octave_base_value::numeric_demotion_function ( void  ) const
inlinevirtualinherited
octave_idx_type octave_base_value::nzmax ( void  ) const
virtualinherited
octave_function& octave_function::operator= ( const octave_function f)
private
std::list< std::string > octave_base_value::parent_class_name_list ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 972 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::parent_class_name_list().

string_vector octave_base_value::parent_class_names ( void  ) const
virtualinherited

Reimplemented in octave_class.

Definition at line 981 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::parent_class_names().

virtual std::string octave_function::parent_fcn_name ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 69 of file ov-fcn.h.

Referenced by DEFUN(), and octave_call_stack::do_backtrace().

virtual symbol_table::scope_id octave_function::parent_fcn_scope ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 71 of file ov-fcn.h.

Referenced by octave_fcn_inline::octave_fcn_inline().

PermMatrix octave_base_value::perm_matrix_value ( void  ) const
virtualinherited
octave_value octave_base_value::permute ( const Array< int > &  vec,
bool  = false 
) const
virtualinherited
void octave_base_value::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtualinherited
virtual bool octave_base_value::print_as_scalar ( void  ) const
inlinevirtualinherited
void octave_base_value::print_info ( std::ostream &  os,
const std::string &  prefix 
) const
virtualinherited
bool octave_base_value::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const
virtualinherited
void octave_base_value::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const
virtualinherited
void octave_base_value::print_with_name ( std::ostream &  output_buf,
const std::string &  name,
bool  print_padding = true 
)
virtualinherited
virtual std::string octave_function::profiler_name ( void  ) const
inlinevirtual
Range octave_base_value::range_value ( void  ) const
virtualinherited

Reimplemented in octave_range.

Definition at line 924 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_jit_cast_range_any(), and octave_value::range_value().

void octave_base_value::register_type ( void  )
staticinherited
void octave_base_value::release ( void  )
inlineinherited
void octave_base_value::reset ( void  ) const
protectedinherited
void octave_base_value::reset_indent_level ( void  ) const
inlineprotectedinherited

Definition at line 793 of file ov-base.h.

octave_value octave_base_value::reshape ( const dim_vector ) const
virtualinherited
octave_value octave_base_value::resize ( const dim_vector ,
bool  fill = false 
) const
virtualinherited
octave_idx_type octave_base_value::rows ( void  ) const
inlineinherited

Definition at line 294 of file ov-base.h.

References octave_value::dims().

Referenced by octave_sparse_bool_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_matrix::as_mxArray(), octave_sparse_bool_matrix::complex_value(), octave_sparse_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_float_matrix::complex_value(), octave_perm_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_matrix::complex_value(), octave_char_matrix::double_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_bool_matrix::double_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_perm_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_matrix::float_complex_value(), octave_char_matrix::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_bool_matrix::float_value(), oct_binop_add_cdm_scm(), oct_binop_add_cdm_sm(), oct_binop_add_dm_scm(), oct_binop_add_dm_sm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_ldiv(), oct_binop_mul_cdm_scm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_scm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_sub_cdm_scm(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_scm(), oct_binop_sub_dm_sm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), octave_cell::print_raw(), octave_value::rows(), octave_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), octave_float_matrix::save_ascii(), octave_bool_matrix::save_ascii(), and octave_matrix::save_ascii().

bool octave_base_value::save_ascii ( std::ostream &  os)
virtualinherited
bool octave_base_value::save_binary ( std::ostream &  os,
bool save_as_floats 
)
virtualinherited
bool octave_base_value::save_hdf5 ( hid_t  loc_id,
const char name,
bool  save_as_floats 
)
virtualinherited
octave_scalar_map octave_base_value::scalar_map_value ( void  ) const
virtualinherited
virtual double octave_base_value::scalar_value ( bool  frc_str_conv = false) const
inlinevirtualinherited
virtual symbol_table::scope_id octave_function::scope ( void  )
inlinevirtual
virtual void octave_base_value::short_disp ( std::ostream &  os) const
inlinevirtualinherited
short int octave_base_value::short_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 479 of file ov-base.cc.

Referenced by octave_value::short_value().

Matrix octave_base_value::size ( void  )
virtualinherited

Reimplemented in octave_class.

Definition at line 140 of file ov-base.cc.

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

Referenced by octave_fcn_binder::maybe_binder(), and octave_value::size().

octave_value octave_base_value::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
virtualinherited
octave_value octave_base_value::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const
virtualinherited
Array< octave_idx_type > octave_base_value::sort_rows_idx ( sortmode  mode = ASCENDING) const
virtualinherited
SparseBoolMatrix octave_base_value::sparse_bool_matrix_value ( bool  = false) const
virtualinherited
SparseComplexMatrix octave_base_value::sparse_complex_matrix_value ( bool  = false) const
virtualinherited

Reimplemented in octave_range, octave_bool, octave_lazy_index, octave_bool_matrix, octave_matrix, octave_float_scalar, octave_scalar, octave_perm_matrix, octave_float_matrix, octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_complex_matrix, octave_float_complex_matrix, octave_sparse_matrix, octave_complex, octave_sparse_bool_matrix, octave_sparse_complex_matrix, and octave_float_complex.

Definition at line 684 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by oct_binop_add_cdm_scm(), oct_binop_add_dm_scm(), oct_binop_add_scm_cdm(), oct_binop_add_scm_dm(), oct_binop_div(), oct_binop_div_scm_cdm(), oct_binop_div_scm_dm(), oct_binop_div_scm_pm(), oct_binop_el_div(), oct_binop_el_ldiv(), oct_binop_el_pow(), oct_binop_ldiv(), oct_binop_ldiv_cdm_scm(), oct_binop_ldiv_dm_scm(), oct_binop_ldiv_pm_scm(), oct_binop_mul_cdm_scm(), oct_binop_mul_dm_scm(), oct_binop_mul_pm_scm(), oct_binop_mul_scm_cdm(), oct_binop_mul_scm_dm(), oct_binop_mul_scm_pm(), oct_binop_pow(), oct_binop_sub_cdm_scm(), oct_binop_sub_dm_scm(), oct_binop_sub_scm_cdm(), oct_binop_sub_scm_dm(), oct_catop_cm_scm(), oct_catop_cs_scm(), oct_catop_m_scm(), oct_catop_s_scm(), oct_catop_scm_cm(), oct_catop_scm_cs(), oct_catop_scm_m(), oct_catop_scm_s(), and octave_value::sparse_complex_matrix_value().

SparseMatrix octave_base_value::sparse_matrix_value ( bool  = false) const
virtualinherited

Reimplemented in octave_range, octave_lazy_index, octave_bool, octave_bool_matrix, octave_matrix, octave_float_scalar, octave_scalar, octave_float_matrix, octave_perm_matrix, octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_complex_matrix, octave_float_complex_matrix, octave_sparse_matrix, octave_complex, octave_sparse_bool_matrix, octave_sparse_complex_matrix, and octave_float_complex.

Definition at line 675 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by oct_binop_add_cdm_sm(), oct_binop_add_dm_sm(), oct_binop_add_sm_cdm(), oct_binop_add_sm_dm(), oct_binop_div(), oct_binop_div_sm_cdm(), oct_binop_div_sm_dm(), oct_binop_div_sm_pm(), oct_binop_el_div(), oct_binop_el_ldiv(), oct_binop_el_pow(), oct_binop_ldiv(), oct_binop_ldiv_cdm_sm(), oct_binop_ldiv_dm_sm(), oct_binop_ldiv_pm_sm(), oct_binop_mul_cdm_sm(), oct_binop_mul_dm_sm(), oct_binop_mul_pm_scm(), oct_binop_mul_pm_sm(), oct_binop_mul_scm_pm(), oct_binop_mul_sm_cdm(), oct_binop_mul_sm_dm(), oct_binop_mul_sm_pm(), oct_binop_pow(), oct_binop_sub_cdm_sm(), oct_binop_sub_dm_sm(), oct_binop_sub_sm_cdm(), oct_binop_sub_sm_dm(), oct_catop_b_sm(), oct_catop_bm_sm(), oct_catop_cm_sm(), oct_catop_cs_sm(), oct_catop_m_sbm(), oct_catop_m_sm(), oct_catop_s_sbm(), oct_catop_s_sm(), oct_catop_sbm_m(), oct_catop_sbm_s(), oct_catop_sm_b(), oct_catop_sm_bm(), oct_catop_sm_cm(), oct_catop_sm_cs(), oct_catop_sm_m(), oct_catop_sm_s(), and octave_value::sparse_matrix_value().

octave_value octave_base_value::squeeze ( void  ) const
virtualinherited
virtual std::string octave_function::src_file_name ( void  ) const
inlinevirtual

Reimplemented in octave_builtin.

Definition at line 64 of file ov-fcn.h.

Referenced by do_which().

void octave_function::stash_dir_name ( const std::string &  dir)
inline
void octave_function::stash_dispatch_class ( const std::string &  nm)
inline

Definition at line 95 of file ov-fcn.h.

Referenced by tree_anon_fcn_handle::rvalue1().

virtual void octave_function::stash_subfunction_names ( const std::list< std::string > &  )
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 142 of file ov-fcn.h.

static std::string octave_base_value::static_class_name ( void  )
inlinestaticinherited
static int octave_base_value::static_type_id ( void  )
inlinestaticinherited
static std::string octave_base_value::static_type_name ( void  )
inlinestaticinherited
std::string octave_base_value::string_value ( bool  force = false) const
virtualinherited
virtual std::list<std::string> octave_function::subfunction_names ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 144 of file ov-fcn.h.

Referenced by bp_table::do_add_breakpoint(), and bp_table::do_remove_breakpoint().

octave_value octave_base_value::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

Reimplemented in octave_scalar_struct, octave_java, octave_class, octave_cell, octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, octave_base_sparse< SparseComplexMatrix >, octave_struct, octave_base_matrix< MT >, octave_base_matrix< intNDArray< OCTAVE_INT_T > >, octave_base_matrix< Cell >, octave_base_matrix< NDArray >, octave_base_matrix< FloatComplexNDArray >, octave_base_matrix< charNDArray >, octave_base_matrix< T >, octave_base_matrix< ComplexNDArray >, octave_base_matrix< FloatNDArray >, octave_base_matrix< boolNDArray >, octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_scalar< ST >, octave_base_scalar< double >, octave_base_scalar< float >, octave_base_scalar< T >, octave_base_scalar< OCTAVE_INT_T >, octave_base_scalar< FloatComplex >, octave_base_scalar< Complex >, and octave_base_scalar< bool >.

Definition at line 225 of file ov-base.cc.

References octave_value::empty_conv(), error(), octave_base_value::is_defined(), octave_base_value::is_empty(), octave_base_value::is_numeric_type(), octave_base_value::numeric_assign(), panic_impossible, octave_value::subsasgn(), octave_base_value::type_name(), and octave_value::undef_subsasgn().

Referenced by octave_value::subsasgn(), octave_class::subsasgn_common(), and octave_base_value::undef_subsasgn().

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

Reimplemented in octave_user_function, octave_cell, octave_fcn_handle, and octave_builtin.

Definition at line 183 of file ov-base.cc.

References octave_base_value::subsref().

virtual bool octave_function::takes_var_return ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 93 of file ov-fcn.h.

virtual bool octave_function::takes_varargs ( void  ) const
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 91 of file ov-fcn.h.

virtual octave_time octave_function::time_checked ( void  ) const
inlinevirtual

Reimplemented in octave_user_function, octave_user_script, octave_mex_function, and octave_dld_function.

Definition at line 80 of file ov-fcn.h.

Referenced by out_of_date_check().

virtual octave_time octave_function::time_parsed ( void  ) const
inlinevirtual

Reimplemented in octave_user_function, octave_user_script, octave_mex_function, and octave_dld_function.

Definition at line 77 of file ov-fcn.h.

Referenced by out_of_date_check().

virtual octave_base_value* octave_base_value::try_narrowing_conversion ( void  )
inlinevirtualinherited
virtual int octave_base_value::type_id ( void  ) const
inlinevirtualinherited
virtual std::string octave_base_value::type_name ( void  ) const
inlinevirtualinherited

Reimplemented in OCTAVE_VALUE_INT_SCALAR_T, octave_user_function, OCTAVE_VALUE_INT_MATRIX_T, octave_range, octave_java, octave_scalar_struct, octave_char_matrix_sq_str, octave_float_scalar, octave_scalar, octave_bool, octave_lazy_index, octave_matrix, octave_bool_matrix, octave_perm_matrix, octave_float_matrix, octave_class, octave_complex, octave_float_complex, octave_cell, octave_complex_matrix, octave_float_complex_matrix, octave_char_matrix_str, octave_user_script, octave_fcn_handle, octave_struct, octave_sparse_matrix, octave_sparse_complex_matrix, octave_sparse_bool_matrix, octave_mex_function, octave_builtin, octave_dld_function, octave_null_sq_str, octave_fcn_inline, octave_diag_matrix, octave_oncleanup, octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, octave_cs_list, octave_null_str, octave_magic_colon, and octave_null_matrix.

Definition at line 824 of file ov-base.h.

Referenced by octave_base_value::array_value(), octave_base_value::bool_array_value(), octave_base_value::bool_matrix_value(), octave_base_value::bool_value(), octave_base_value::cell_value(), octave_base_value::cellstr_value(), octave_base_value::char_array_value(), octave_base_value::complex_array_value(), octave_base_value::complex_diag_matrix_value(), octave_base_value::complex_matrix_value(), octave_base_value::complex_value(), octave_base_value::convert_to_row_or_column_vector(), octave_base_value::convert_to_str(), octave_base_value::convert_to_str_internal(), octave_base_value::diag(), octave_base_value::diag_matrix_value(), octave_base_value::do_index_op(), octave_base_value::do_multi_index_op(), octave_base_value::double_value(), octave_base_value::dump(), octave_base_value::fcn_handle_value(), octave_base_value::fcn_inline_value(), octave_base_value::float_array_value(), octave_base_value::float_complex_array_value(), octave_base_value::float_complex_diag_matrix_value(), octave_base_value::float_complex_matrix_value(), octave_base_value::float_complex_value(), octave_base_value::float_diag_matrix_value(), octave_base_value::float_matrix_value(), octave_base_value::float_value(), octave_base_value::full_value(), octave_base_value::function_value(), octave_base_value::index_vector(), octave_base_value::int16_array_value(), octave_base_value::int16_scalar_value(), octave_base_value::int32_array_value(), octave_base_value::int32_scalar_value(), octave_base_value::int64_array_value(), octave_base_value::int64_scalar_value(), octave_base_value::int8_array_value(), octave_base_value::int8_scalar_value(), octave_base_value::is_sorted(), octave_base_value::is_sorted_rows(), octave_base_value::list_value(), octave_base_value::load_ascii(), octave_base_value::load_binary(), octave_base_value::load_hdf5(), octave_base_value::lock(), octave_base_value::map(), octave_base_value::map_keys(), octave_base_value::map_value(), octave_base_value::matrix_type(), octave_base_value::matrix_value(), octave_base_value::nfields(), octave_base_value::nnz(), octave_base_value::nparents(), octave_base_value::numeric_assign(), oct_catop_chm_m(), oct_catop_chm_s(), oct_catop_m_chm(), oct_catop_s_chm(), octave_base_value::parent_class_name_list(), octave_base_value::parent_class_names(), octave_base_value::perm_matrix_value(), octave_base_value::permute(), octave_base_value::print(), octave_base_value::print_info(), octave_base_value::print_raw(), octave_base_value::range_value(), octave_base_value::reshape(), octave_base_value::resize(), octave_base_value::save_ascii(), octave_base_value::save_binary(), octave_base_value::save_hdf5(), octave_base_value::sort(), octave_base_value::sort_rows_idx(), octave_base_value::sparse_bool_matrix_value(), octave_base_value::sparse_complex_matrix_value(), octave_base_value::sparse_matrix_value(), octave_base_value::squeeze(), octave_base_value::subsasgn(), octave_base_value::subsref(), octave_value::type_name(), octave_base_value::uint16_array_value(), octave_base_value::uint16_scalar_value(), octave_base_value::uint32_array_value(), octave_base_value::uint32_scalar_value(), octave_base_value::uint64_array_value(), octave_base_value::uint64_scalar_value(), octave_base_value::uint8_array_value(), octave_base_value::uint8_scalar_value(), octave_base_value::unlock(), octave_base_value::user_code_value(), octave_base_value::user_function_value(), octave_base_value::user_script_value(), and octave_base_value::write().

uint16NDArray octave_base_value::uint16_array_value ( void  ) const
virtualinherited
octave_uint16 octave_base_value::uint16_scalar_value ( void  ) const
virtualinherited
uint32NDArray octave_base_value::uint32_array_value ( void  ) const
virtualinherited
octave_uint32 octave_base_value::uint32_scalar_value ( void  ) const
virtualinherited
uint64NDArray octave_base_value::uint64_array_value ( void  ) const
virtualinherited
octave_uint64 octave_base_value::uint64_scalar_value ( void  ) const
virtualinherited
uint64_t octave_base_value::uint64_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 489 of file ov-base.cc.

Referenced by octave_value::uint64_value().

uint8NDArray octave_base_value::uint8_array_value ( void  ) const
virtualinherited
octave_uint8 octave_base_value::uint8_scalar_value ( void  ) const
virtualinherited
unsigned int octave_base_value::uint_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 483 of file ov-base.cc.

Referenced by octave_value::uint_value().

unsigned long int octave_base_value::ulong_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 486 of file ov-base.cc.

Referenced by octave_value::ulong_value().

octave_value octave_base_value::undef_subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
)
virtualinherited

Reimplemented in octave_class.

Definition at line 293 of file ov-base.cc.

References octave_base_value::subsasgn().

Referenced by octave_value::undef_subsasgn().

virtual octave_base_value* octave_base_value::unique_clone ( void  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 226 of file ov-base.h.

References octave_value::clone().

Referenced by octave_value::make_unique().

virtual octave_base_value* octave_base_value::unique_parent_class ( const std::string &  )
inlinevirtualinherited

Reimplemented in octave_class.

Definition at line 583 of file ov-base.h.

Referenced by octave_class::unique_parent_class().

virtual void octave_function::unload ( void  )
inlinevirtual

Definition at line 159 of file ov-fcn.h.

void octave_function::unlock ( void  )
inlinevirtual

Reimplemented from octave_base_value.

Definition at line 125 of file ov-fcn.h.

Referenced by Fmunlock(), and munlock().

virtual void octave_function::unlock_subfunctions ( void  )
inlinevirtual

Reimplemented in octave_user_function.

Definition at line 135 of file ov-fcn.h.

octave_user_code * octave_base_value::user_code_value ( bool  silent = false)
virtualinherited
octave_user_function * octave_base_value::user_function_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_user_function, and octave_fcn_handle.

Definition at line 1001 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by DEFUN(), and octave_value::user_function_value().

octave_user_script * octave_base_value::user_script_value ( bool  silent = false)
virtualinherited

Reimplemented in octave_user_script.

Definition at line 1012 of file ov-base.cc.

References gripe_wrong_type_arg(), and octave_base_value::type_name().

Referenced by octave_value::user_script_value().

unsigned short int octave_base_value::ushort_value ( bool  require_int = false,
bool  frc_str_conv = false 
) const
virtualinherited

Definition at line 480 of file ov-base.cc.

Referenced by octave_value::ushort_value().

int octave_base_value::write ( octave_stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
oct_mach_info::float_format  flt_fmt 
) const
virtualinherited

Member Data Documentation

octave_refcount<octave_idx_type> octave_base_value::count
protectedinherited
std::string octave_function::doc
protected

Definition at line 192 of file ov-fcn.h.

bool octave_function::locked
protected

Definition at line 174 of file ov-fcn.h.

std::string octave_function::my_dir_name
protected

Definition at line 189 of file ov-fcn.h.

std::string octave_function::my_name
protected
bool octave_function::private_function
protected

Definition at line 177 of file ov-fcn.h.

bool octave_function::relative
protected

Definition at line 171 of file ov-fcn.h.

std::string octave_function::xdispatch_class
protected

Definition at line 182 of file ov-fcn.h.


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