Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

octave_matrix Class Reference

#include "ov-re-mat.h"

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

List of all members.

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_erfc, umap_erfcx, 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_xtoascii, umap_xtolower,
  umap_xtoupper, umap_unknown, num_unary_mappers = umap_unknown
}

Public Member Functions

 octave_matrix (void)
 octave_matrix (const Matrix &m)
 octave_matrix (const NDArray &nda)
 octave_matrix (const ColumnVector &v)
 octave_matrix (const octave_matrix &m)
 octave_matrix (const Array< double > &m)
 octave_matrix (const Array< octave_idx_type > &idx, bool zero_based=false, bool cache_index=false)
 octave_matrix (const NDArray &nda, const idx_vector &cache)
 octave_matrix (const Matrix &m, const MatrixType &t)
 octave_matrix (const DiagMatrix &d)
 octave_matrix (const RowVector &v)
 ~octave_matrix (void)
octave_value all (int dim=0) const
virtual string_vector all_strings (bool pad=false) const
octave_value any (int dim=0) const
NDArray array_value (bool=false) const
mxArrayas_mxArray (void) const
void assign (const octave_value_list &idx, const NDArray &rhs)
void assign (const octave_value_list &idx, typename NDArray::element_type rhs)
virtual void assign (const std::string &, const octave_value &)
boolNDArray bool_array_value (bool warn=false) const
virtual boolMatrix bool_matrix_value (bool=false) const
virtual bool bool_value (bool=false) const
builtin_type_t builtin_type (void) const
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
void changesign (void)
charNDArray char_array_value (bool=false) const
virtual charMatrix char_matrix_value (bool force=false) const
octave_base_valueclone (void) const
octave_idx_type columns (void) const
ComplexNDArray complex_array_value (bool=false) const
virtual ComplexDiagMatrix complex_diag_matrix_value (bool=false) const
ComplexMatrix complex_matrix_value (bool=false) const
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
octave_value convert_to_str_internal (bool pad, bool force, char type) const
void decrement (void)
void delete_elements (const octave_value_list &idx)
octave_value diag (octave_idx_type k=0) const
virtual DiagMatrix diag_matrix_value (bool=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, 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)
double double_value (bool=false) const
virtual void dump (std::ostream &os) const
octave_base_valueempty_clone (void) const
virtual void erase_subfunctions (void)
octave_value fast_elem_extract (octave_idx_type n) const
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 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 &)
FloatNDArray float_array_value (bool=false) const
FloatComplexNDArray float_complex_array_value (bool=false) const
virtual FloatComplexDiagMatrix float_complex_diag_matrix_value (bool=false) const
FloatComplexMatrix float_complex_matrix_value (bool=false) const
FloatComplex float_complex_value (bool=false) const
virtual FloatDiagMatrix float_diag_matrix_value (bool=false) const
FloatMatrix float_matrix_value (bool=false) const
virtual float float_scalar_value (bool frc_str_conv=false) const
float float_value (bool=false) const
octave_value full_value (void) const
virtual octave_functionfunction_value (bool silent=false)
void increment (void)
idx_vector index_vector (void) const
int16NDArray int16_array_value (void) const
virtual octave_int16 int16_scalar_value (void) const
int32NDArray int32_array_value (void) const
virtual octave_int32 int32_scalar_value (void) const
int64NDArray int64_array_value (void) const
virtual octave_int64 int64_scalar_value (void) const
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_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_complex_matrix (void) const
virtual bool is_complex_scalar (void) const
virtual bool is_complex_type (void) const
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
bool is_double_type (void) const
bool is_empty (void) const
bool is_float_type (void) const
virtual 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_magic_colon (void) const
virtual bool is_map (void) const
bool is_matrix_type (void) const
virtual bool is_mex_function (void) const
virtual bool is_null_value (void) const
bool is_numeric_type (void) const
virtual bool is_object (void) const
virtual bool is_perm_matrix (void) const
virtual bool is_range (void) const
bool is_real_matrix (void) const
virtual bool is_real_nd_array (void) const
virtual bool is_real_scalar (void) const
bool is_real_type (void) const
virtual bool is_scalar_type (void) const
virtual bool is_single_type (void) const
sortmode is_sorted (sortmode mode=UNSORTED) const
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
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
virtual bool islocked (void) const
virtual octave_value_list list_value (void) const
bool load_ascii (std::istream &is)
bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
virtual void lock (void)
virtual long int long_value (bool=false, bool=false) const
octave_value map (unary_mapper_t umap) const
virtual string_vector map_keys (void) const
virtual octave_map map_value (void) const
NDArraymatrix_ref (void)
const NDArraymatrix_ref (void) const
MatrixType matrix_type (void) const
MatrixType matrix_type (const MatrixType &_typ) const
Matrix matrix_value (bool=false) const
void maybe_economize (void)
void * mex_get_data (void) const
virtual octave_idx_typemex_get_ir (void) const
virtual octave_idx_typemex_get_jc (void) const
int ndims (void) const
virtual octave_idx_type nfields (void) const
virtual int nint_value (bool=false) const
octave_idx_type nnz (void) const
virtual size_t nparents (void) const
octave_idx_type numel (void) const
virtual octave_idx_type numel (const octave_value_list &)
virtual type_conv_info numeric_conversion_function (void) const
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 PermMatrix perm_matrix_value (void) const
octave_value permute (const Array< int > &vec, bool inv=false) const
void print (std::ostream &os, bool pr_as_read_syntax=false) const
bool print_as_scalar (void) const
void print_info (std::ostream &os, const std::string &prefix) const
virtual 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
virtual void print_with_name (std::ostream &output_buf, const std::string &name, bool print_padding=true)
virtual Range range_value (void) const
octave_value reshape (const dim_vector &new_dims) const
octave_value resize (const dim_vector &dv, bool fill=false) const
octave_idx_type rows (void) const
bool save_ascii (std::ostream &os)
bool save_binary (std::ostream &os, bool &save_as_floats)
virtual octave_scalar_map scalar_map_value (void) const
double scalar_value (bool frc_str_conv=false) const
virtual short int short_value (bool=false, bool=false) const
virtual Matrix size (void)
octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
virtual SparseBoolMatrix sparse_bool_matrix_value (bool=false) const
SparseComplexMatrix sparse_complex_matrix_value (bool=false) const
SparseMatrix sparse_matrix_value (bool=false) const
octave_value squeeze (void) const
virtual std::string string_value (bool force=false) const
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
virtual 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)
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, const std::list< octave_lvalue > *lvalue_list)
octave_base_valuetry_narrowing_conversion (void)
uint16NDArray uint16_array_value (void) const
virtual octave_uint16 uint16_scalar_value (void) const
uint32NDArray uint32_array_value (void) const
virtual octave_uint32 uint32_scalar_value (void) const
uint64NDArray uint64_array_value (void) const
virtual octave_uint64 uint64_scalar_value (void) const
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 unlock (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
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

Protected Member Functions

void clear_cached_info (void) const
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
idx_vector set_idx_cache (const idx_vector &idx) const

Protected Attributes

octave_refcount< octave_idx_typecount
idx_vectoridx_cache
NDArray matrix
MatrixTypetyp

Friends

class octave_value

Detailed Description

Definition at line 50 of file ov-re-mat.h.


Member Typedef Documentation

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_erfc 
umap_erfcx 
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_xtoascii 
umap_xtolower 
umap_xtoupper 
umap_unknown 
num_unary_mappers 

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


Constructor & Destructor Documentation

octave_matrix::octave_matrix ( void   )  [inline]

Definition at line 56 of file ov-re-mat.h.

Referenced by reshape(), and squeeze().

octave_matrix::octave_matrix ( const Matrix m  )  [inline]

Definition at line 59 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const Matrix m,
const MatrixType t 
) [inline]

Definition at line 62 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const NDArray nda  )  [inline]

Definition at line 65 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const Array< double > &  m  )  [inline]

Definition at line 68 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const DiagMatrix d  )  [inline]

Definition at line 71 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const RowVector v  )  [inline]

Definition at line 74 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const ColumnVector v  )  [inline]

Definition at line 77 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const octave_matrix m  )  [inline]

Definition at line 80 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const Array< octave_idx_type > &  idx,
bool  zero_based = false,
bool  cache_index = false 
) [inline]

Definition at line 83 of file ov-re-mat.h.

octave_matrix::octave_matrix ( const NDArray nda,
const idx_vector cache 
) [inline]

Definition at line 92 of file ov-re-mat.h.

octave_matrix::~octave_matrix ( void   )  [inline]

Definition at line 98 of file ov-re-mat.h.


Member Function Documentation

octave_value octave_base_matrix< NDArray >::all ( int  dim = 0  )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 117 of file ov-base-mat.h.

string_vector octave_base_value::all_strings ( bool  pad = false  )  const [virtual, inherited]
octave_value octave_base_matrix< NDArray >::any ( int  dim = 0  )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 118 of file ov-base-mat.h.

NDArray octave_matrix::array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 171 of file ov-re-mat.h.

Referenced by save_ascii(), and save_binary().

mxArray * octave_matrix::as_mxArray ( void   )  const [virtual]
void octave_base_matrix< NDArray >::assign ( const octave_value_list idx,
const NDArray rhs 
) [inherited]
virtual void octave_base_value::assign ( const std::string &  ,
const octave_value  
) [inline, virtual, inherited]

Reimplemented in octave_class.

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

void octave_base_matrix< NDArray >::assign ( const octave_value_list idx,
typename NDArray ::element_type  rhs 
) [inherited]
boolNDArray octave_matrix::bool_array_value ( bool  warn = false  )  const [virtual]
boolMatrix octave_base_value::bool_matrix_value ( bool  = false  )  const [virtual, inherited]

Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.

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

References gripe_wrong_type_arg().

Referenced by octave_value::bool_matrix_value().

bool octave_base_value::bool_value ( bool  = false  )  const [virtual, inherited]
builtin_type_t octave_matrix::builtin_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 110 of file ov-re-mat.h.

size_t octave_base_matrix< NDArray >::byte_size ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 70 of file ov-base-mat.h.

virtual octave_idx_type octave_base_value::capacity ( void   )  const [inline, virtual, inherited]
Cell octave_base_value::cell_value ( void   )  const [virtual, inherited]

Reimplemented in octave_cell.

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

References gripe_wrong_type_arg().

Referenced by octave_value::cell_value().

Array< std::string > octave_base_value::cellstr_value ( void   )  const [virtual, inherited]

Reimplemented in octave_cell, and octave_char_matrix_str.

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

References gripe_wrong_type_arg().

Referenced by octave_value::cellstr_value().

void octave_matrix::changesign ( void   )  [inline]

Definition at line 200 of file ov-re-mat.h.

charNDArray octave_matrix::char_array_value ( bool  = false  )  const [virtual]
charMatrix octave_base_value::char_matrix_value ( bool  force = false  )  const [virtual, inherited]
void octave_base_matrix< NDArray >::clear_cached_info ( void   )  const [inline, protected, inherited]

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

octave_base_value* octave_matrix::clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 100 of file ov-re-mat.h.

octave_idx_type octave_base_value::columns ( void   )  const [inline, inherited]

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

References octave_value::dims().

Referenced by octave_sparse_matrix::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_sparse_bool_matrix::as_mxArray(), octave_value::columns(), octave_sparse_matrix::complex_value(), complex_value(), octave_perm_matrix::complex_value(), octave_float_matrix::complex_value(), octave_float_complex_matrix::complex_value(), octave_complex_matrix::complex_value(), octave_char_matrix::complex_value(), octave_sparse_bool_matrix::complex_value(), octave_bool_matrix::complex_value(), octave_base_diag< DMT, MT >::complex_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_char_matrix::double_value(), octave_bool_matrix::double_value(), float_complex_value(), octave_perm_matrix::float_complex_value(), octave_float_matrix::float_complex_value(), octave_float_complex_matrix::float_complex_value(), octave_complex_matrix::float_complex_value(), octave_char_matrix::float_complex_value(), octave_bool_matrix::float_complex_value(), octave_base_diag< DMT, MT >::float_complex_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_char_matrix::float_value(), octave_bool_matrix::float_value(), pr_where(), octave_cell::print_raw(), save_ascii(), octave_float_matrix::save_ascii(), octave_float_complex_matrix::save_ascii(), octave_complex_matrix::save_ascii(), octave_cell::save_ascii(), and octave_bool_matrix::save_ascii().

ComplexNDArray octave_matrix::complex_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 212 of file ov-re-mat.cc.

References ComplexNDArray, and octave_base_matrix< NDArray >::matrix.

ComplexDiagMatrix octave_base_value::complex_diag_matrix_value ( bool  = false  )  const [virtual, inherited]
ComplexMatrix octave_matrix::complex_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 200 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and NDArray::matrix_value().

Complex octave_matrix::complex_value ( bool  = false  )  const [virtual]
void octave_base_value::convert_to_row_or_column_vector ( void   )  [virtual, inherited]

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

References gripe_wrong_type_arg().

Referenced by octave_value::convert_to_row_or_column_vector().

octave_value octave_base_value::convert_to_str ( bool  pad = false,
bool  force = false,
char  type = '\'' 
) const [virtual, inherited]
octave_value octave_matrix::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const [virtual]
int octave_base_value::current_print_indent_level ( void   )  const [inline, protected, inherited]
void octave_matrix::decrement ( void   )  [inline]

Definition at line 198 of file ov-re-mat.h.

void octave_base_value::decrement_indent_level ( void   )  const [inline, protected, inherited]
void octave_base_matrix< NDArray >::delete_elements ( const octave_value_list idx  )  [inherited]
octave_value octave_matrix::diag ( octave_idx_type  k = 0  )  const [virtual]
DiagMatrix octave_base_value::diag_matrix_value ( bool  = false  )  const [virtual, inherited]
dim_vector octave_base_matrix< NDArray >::dims ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 101 of file ov-base-mat.h.

Referenced by as_mxArray(), char_array_value(), convert_to_str_internal(), save_ascii(), and save_binary().

octave_value octave_base_matrix< NDArray >::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
) [virtual, inherited]

Reimplemented from octave_base_value.

octave_value_list octave_base_matrix< NDArray >::do_multi_index_op ( int  ,
const octave_value_list idx 
) [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 92 of file ov-base-mat.h.

octave_value_list octave_base_value::do_multi_index_op ( int  nargout,
const octave_value_list idx,
const std::list< octave_lvalue > *  lvalue_list 
) [virtual, inherited]
double octave_matrix::double_value ( bool  = false  )  const [virtual]
void octave_base_value::dump ( std::ostream &  os  )  const [virtual, inherited]

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

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

Referenced by octave_value::dump().

octave_base_value* octave_matrix::empty_clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 101 of file ov-re-mat.h.

virtual void octave_base_value::erase_subfunctions ( void   )  [inline, virtual, inherited]

Reimplemented in octave_user_function.

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

Referenced by octave_value::erase_subfunctions().

octave_value octave_base_matrix< NDArray >::fast_elem_extract ( octave_idx_type  n  )  const [virtual, inherited]

Reimplemented from octave_base_value.

bool octave_base_matrix< NDArray >::fast_elem_insert ( octave_idx_type  n,
const octave_value x 
) [virtual, inherited]

Reimplemented from octave_base_value.

bool octave_base_value::fast_elem_insert_self ( void *  where,
builtin_type_t  btyp 
) const [virtual, inherited]
octave_fcn_handle * octave_base_value::fcn_handle_value ( bool  silent = false  )  [virtual, inherited]

Reimplemented in octave_fcn_handle.

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

References gripe_wrong_type_arg().

Referenced by octave_value::fcn_handle_value().

octave_fcn_inline * octave_base_value::fcn_inline_value ( bool  silent = false  )  [virtual, inherited]

Reimplemented in octave_fcn_inline.

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

References gripe_wrong_type_arg().

Referenced by octave_value::fcn_inline_value().

virtual octave_base_value* octave_base_value::find_parent_class ( const std::string &   )  [inline, virtual, inherited]
FloatNDArray octave_matrix::float_array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 173 of file ov-re-mat.h.

FloatComplexNDArray octave_matrix::float_complex_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 218 of file ov-re-mat.cc.

References FloatComplexNDArray, and octave_base_matrix< NDArray >::matrix.

FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value ( bool  = false  )  const [virtual, inherited]
FloatComplexMatrix octave_matrix::float_complex_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 206 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and NDArray::matrix_value().

FloatComplex octave_matrix::float_complex_value ( bool  = false  )  const [virtual]
FloatDiagMatrix octave_base_value::float_diag_matrix_value ( bool  = false  )  const [virtual, inherited]
FloatMatrix octave_matrix::float_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 152 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and NDArray::matrix_value().

virtual float octave_base_value::float_scalar_value ( bool  frc_str_conv = false  )  const [inline, virtual, inherited]
float octave_matrix::float_value ( bool  = false  )  const [virtual]
octave_value octave_base_matrix< NDArray >::full_value ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 74 of file ov-base-mat.h.

octave_function * octave_base_value::function_value ( bool  silent = false  )  [virtual, inherited]
void octave_matrix::increment ( void   )  [inline]

Definition at line 196 of file ov-re-mat.h.

void octave_base_value::increment_indent_level ( void   )  const [inline, protected, inherited]
void octave_base_value::indent ( std::ostream &  os  )  const [protected, inherited]
idx_vector octave_matrix::index_vector ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 107 of file ov-re-mat.h.

int16NDArray octave_matrix::int16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 124 of file ov-re-mat.h.

octave_int16 octave_base_value::int16_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::int16_scalar_value().

int32NDArray octave_matrix::int32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 127 of file ov-re-mat.h.

octave_int32 octave_base_value::int32_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::int32_scalar_value().

int64NDArray octave_matrix::int64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 130 of file ov-re-mat.h.

octave_int64 octave_base_value::int64_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::int64_scalar_value().

int8NDArray octave_matrix::int8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 121 of file ov-re-mat.h.

octave_int8 octave_base_value::int8_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::int8_scalar_value().

virtual int octave_base_value::int_value ( bool  = false,
bool  = false 
) const [virtual, inherited]

Referenced by octave_value::int_value().

virtual bool octave_base_value::is_all_va_args ( void   )  const [inline, virtual, inherited]

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

virtual bool octave_base_value::is_anonymous_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_user_function.

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

Referenced by octave_value::is_anonymous_function().

virtual bool octave_base_value::is_bool_matrix ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_bool_matrix, and octave_sparse_bool_matrix.

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

Referenced by octave_value::is_bool_matrix().

virtual bool octave_base_value::is_bool_scalar ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_bool.

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

Referenced by octave_value::is_bool_scalar().

virtual bool octave_base_value::is_bool_type ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, and octave_bool.

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

Referenced by octave_value::is_bool_type().

virtual bool octave_base_value::is_builtin_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_builtin, octave_dld_function, and octave_mex_function.

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

Referenced by octave_value::is_builtin_function().

virtual bool octave_base_value::is_cell ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_cell.

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

Referenced by octave_value::is_cell().

virtual bool octave_base_value::is_cellstr ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_cell.

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

Referenced by octave_value::is_cellstr().

virtual bool octave_base_value::is_char_matrix ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_char_matrix.

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

Referenced by octave_value::is_char_matrix().

virtual bool octave_base_value::is_complex_matrix ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_complex_scalar ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_complex, and octave_float_complex.

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

Referenced by octave_value::is_complex_scalar().

virtual bool octave_base_value::is_complex_type ( void   )  const [inline, virtual, inherited]
bool octave_base_matrix< NDArray >::is_constant ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 147 of file ov-base-mat.h.

virtual bool octave_base_value::is_cs_list ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_cs_list.

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

Referenced by octave_value::is_cs_list().

bool octave_base_matrix< NDArray >::is_defined ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 145 of file ov-base-mat.h.

virtual bool octave_base_value::is_diag_matrix ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_dld_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_dld_function.

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

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

bool octave_matrix::is_double_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 116 of file ov-re-mat.h.

bool octave_base_value::is_empty ( void   )  const [inline, inherited]
bool octave_matrix::is_float_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 118 of file ov-re-mat.h.

virtual bool octave_base_value::is_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_function.

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

Referenced by octave_value::is_function().

virtual bool octave_base_value::is_function_handle ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_fcn_handle.

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

Referenced by octave_value::is_function_handle().

virtual bool octave_base_value::is_inline_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_fcn_inline, and octave_user_function.

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

Referenced by octave_value::is_inline_function().

virtual bool octave_base_value::is_int16_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_int16_type().

virtual bool octave_base_value::is_int32_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_int32_type().

virtual bool octave_base_value::is_int64_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_int64_type().

virtual bool octave_base_value::is_int8_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_int8_type().

virtual bool octave_base_value::is_integer_type ( void   )  const [inline, virtual, inherited]

Reimplemented in OCTAVE_VALUE_INT_MATRIX_T, and OCTAVE_VALUE_INT_SCALAR_T.

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

Referenced by octave_value::is_integer_type().

virtual bool octave_base_value::is_magic_colon ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_magic_colon.

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

Referenced by octave_value::is_magic_colon().

virtual bool octave_base_value::is_map ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_class, octave_struct, and octave_scalar_struct.

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

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

bool octave_base_matrix< NDArray >::is_matrix_type ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 141 of file ov-base-mat.h.

virtual bool octave_base_value::is_mex_function ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_mex_function.

Definition at line 446 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 [inline, virtual, inherited]

Reimplemented in octave_null_matrix, octave_null_str, and octave_null_sq_str.

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

Referenced by octave_value::is_null_value().

bool octave_base_matrix< NDArray >::is_numeric_type ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 143 of file ov-base-mat.h.

virtual bool octave_base_value::is_object ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_class, and octave_oncleanup.

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

Referenced by octave_value::is_object().

virtual bool octave_base_value::is_perm_matrix ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_perm_matrix.

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

Referenced by octave_value::is_perm_matrix().

virtual bool octave_base_value::is_range ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_range.

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

Referenced by octave_value::is_range().

bool octave_matrix::is_real_matrix ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 112 of file ov-re-mat.h.

virtual bool octave_base_value::is_real_nd_array ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_real_nd_array().

virtual bool octave_base_value::is_real_scalar ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_bool, octave_float_scalar, and octave_scalar.

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

Referenced by octave_value::is_real_scalar().

bool octave_matrix::is_real_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 114 of file ov-re-mat.h.

virtual bool octave_base_value::is_scalar_type ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_single_type ( void   )  const [inline, virtual, inherited]
sortmode octave_matrix::is_sorted ( sortmode  mode = UNSORTED  )  const [virtual]
sortmode octave_matrix::is_sorted_rows ( sortmode  mode = UNSORTED  )  const [virtual]
virtual bool octave_base_value::is_sparse_type ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_sq_string ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_string ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_char_matrix_str.

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

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

bool octave_base_matrix< NDArray >::is_true ( void   )  const [virtual, inherited]

Reimplemented from octave_base_value.

virtual bool octave_base_value::is_uint16_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_uint16_type().

virtual bool octave_base_value::is_uint32_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_uint32_type().

virtual bool octave_base_value::is_uint64_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_uint64_type().

virtual bool octave_base_value::is_uint8_type ( void   )  const [inline, virtual, inherited]

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

Referenced by octave_value::is_uint8_type().

virtual bool octave_base_value::is_user_code ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_user_function ( void   )  const [inline, virtual, inherited]
virtual bool octave_base_value::is_user_script ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_user_script.

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

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

virtual bool octave_base_value::islocked ( void   )  const [inline, virtual, inherited]

Reimplemented in octave_function.

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

Referenced by octave_value::islocked().

octave_value_list octave_base_value::list_value ( void   )  const [virtual, inherited]

Reimplemented in octave_cell, and octave_cs_list.

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

References gripe_wrong_type_arg().

Referenced by octave_value::list_value().

bool octave_matrix::load_ascii ( std::istream &  is  )  [virtual]
bool octave_matrix::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
) [virtual]
void octave_base_value::lock ( void   )  [virtual, inherited]

Reimplemented in octave_function.

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

References gripe_wrong_type_arg().

Referenced by octave_value::lock().

virtual long int octave_base_value::long_value ( bool  = false,
bool  = false 
) const [virtual, inherited]
octave_value octave_matrix::map ( unary_mapper_t  umap  )  const [virtual]
string_vector octave_base_value::map_keys ( void   )  const [virtual, inherited]

Reimplemented in octave_class, octave_struct, and octave_scalar_struct.

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

References gripe_wrong_type_arg().

Referenced by octave_value::map_keys().

octave_map octave_base_value::map_value ( void   )  const [virtual, inherited]
const NDArray & octave_base_matrix< NDArray >::matrix_ref ( void   )  const [inline, inherited]

Definition at line 163 of file ov-base-mat.h.

NDArray & octave_base_matrix< NDArray >::matrix_ref ( void   )  [inline, inherited]

Definition at line 157 of file ov-base-mat.h.

MatrixType octave_base_matrix< NDArray >::matrix_type ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 120 of file ov-base-mat.h.

MatrixType octave_base_matrix< NDArray >::matrix_type ( const MatrixType _typ  )  const [virtual, inherited]

Reimplemented from octave_base_value.

Matrix octave_matrix::matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 146 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and NDArray::matrix_value().

Referenced by save_ascii().

void octave_base_matrix< NDArray >::maybe_economize ( void   )  [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 76 of file ov-base-mat.h.

void* octave_matrix::mex_get_data ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 228 of file ov-re-mat.h.

virtual octave_idx_type* octave_base_value::mex_get_ir ( void   )  const [inline, virtual, inherited]
virtual octave_idx_type* octave_base_value::mex_get_jc ( void   )  const [inline, virtual, inherited]
int octave_base_matrix< NDArray >::ndims ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 105 of file ov-base-mat.h.

void octave_base_value::newline ( std::ostream &  os  )  const [protected, inherited]
octave_idx_type octave_base_value::nfields ( void   )  const [virtual, inherited]

Reimplemented in octave_class, octave_struct, and octave_scalar_struct.

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

References gripe_wrong_type_arg().

Referenced by octave_value::nfields().

int octave_base_value::nint_value ( bool  frc_str_conv = false  )  const [virtual, inherited]
octave_idx_type octave_base_matrix< NDArray >::nnz ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 107 of file ov-base-mat.h.

size_t octave_base_value::nparents ( void   )  const [virtual, inherited]

Reimplemented in octave_class.

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

References gripe_wrong_type_arg().

Referenced by octave_value::nparents().

octave_idx_type octave_base_value::numel ( const octave_value_list idx  )  [virtual, inherited]

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().

octave_idx_type octave_base_matrix< NDArray >::numel ( void   )  const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 103 of file ov-base-mat.h.

Referenced by as_mxArray(), char_array_value(), double_value(), and float_value().

octave_value octave_base_value::numeric_assign ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [protected, inherited]
virtual type_conv_info octave_base_value::numeric_conversion_function ( void   )  const [inline, virtual, inherited]
octave_base_value::type_conv_info octave_matrix::numeric_demotion_function ( void   )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 90 of file ov-re-mat.cc.

References default_numeric_demotion_function().

octave_idx_type octave_base_value::nzmax ( void   )  const [virtual, inherited]
std::list< std::string > octave_base_value::parent_class_name_list ( void   )  const [virtual, inherited]

Reimplemented in octave_class.

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

References gripe_wrong_type_arg().

Referenced by octave_value::parent_class_name_list().

string_vector octave_base_value::parent_class_names ( void   )  const [virtual, inherited]

Reimplemented in octave_class.

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

References gripe_wrong_type_arg().

Referenced by octave_value::parent_class_names().

PermMatrix octave_base_value::perm_matrix_value ( void   )  const [virtual, inherited]

Reimplemented in octave_perm_matrix.

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

References gripe_wrong_type_arg().

Referenced by octave_value::perm_matrix_value().

octave_value octave_base_matrix< NDArray >::permute ( const Array< int > &  vec,
bool  inv = false 
) const [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 112 of file ov-base-mat.h.

void octave_base_matrix< NDArray >::print ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const [virtual, inherited]

Reimplemented from octave_base_value.

bool octave_base_matrix< NDArray >::print_as_scalar ( void   )  const [virtual, inherited]

Reimplemented from octave_base_value.

void octave_base_matrix< NDArray >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const [virtual, inherited]

Reimplemented from octave_base_value.

bool octave_base_value::print_name_tag ( std::ostream &  os,
const std::string &  name 
) const [virtual, inherited]
void octave_matrix::print_raw ( std::ostream &  os,
bool  pr_as_read_syntax = false 
) const [virtual]
void octave_base_value::print_with_name ( std::ostream &  output_buf,
const std::string &  name,
bool  print_padding = true 
) [virtual, inherited]
Range octave_base_value::range_value ( void   )  const [virtual, inherited]

Reimplemented in octave_range.

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

References gripe_wrong_type_arg().

Referenced by octave_value::range_value().

void octave_base_value::reset ( void   )  const [protected, inherited]
void octave_base_value::reset_indent_level ( void   )  const [inline, protected, inherited]

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

octave_value octave_matrix::reshape ( const dim_vector new_dims  )  const [virtual]
octave_value octave_base_matrix< NDArray >::resize ( const dim_vector dv,
bool  fill = false 
) const [virtual, inherited]

Reimplemented from octave_base_value.

octave_idx_type octave_base_value::rows ( void   )  const [inline, inherited]
bool octave_matrix::save_ascii ( std::ostream &  os  )  [virtual]
bool octave_matrix::save_binary ( std::ostream &  os,
bool save_as_floats 
) [virtual]
octave_scalar_map octave_base_value::scalar_map_value ( void   )  const [virtual, inherited]
double octave_matrix::scalar_value ( bool  frc_str_conv = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 148 of file ov-re-mat.h.

idx_vector octave_base_matrix< NDArray >::set_idx_cache ( const idx_vector idx  )  const [inline, protected, inherited]

Definition at line 178 of file ov-base-mat.h.

virtual short int octave_base_value::short_value ( bool  = false,
bool  = false 
) const [virtual, inherited]
Matrix octave_base_value::size ( void   )  [virtual, inherited]
octave_value octave_matrix::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [virtual]

Reimplemented from octave_base_matrix< NDArray >.

Definition at line 304 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::idx_cache, and octave_value::sort().

Referenced by sort().

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

Reimplemented from octave_base_value.

Definition at line 254 of file ov-re-mat.cc.

References sparse_matrix_value(), and SparseComplexMatrix.

SparseMatrix octave_matrix::sparse_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Definition at line 248 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and NDArray::matrix_value().

Referenced by sparse_complex_matrix_value().

octave_value octave_matrix::squeeze ( void   )  const [virtual]
std::string octave_base_value::string_value ( bool  force = false  )  const [virtual, inherited]
octave_value octave_base_matrix< NDArray >::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [virtual, inherited]

Reimplemented from octave_base_value.

octave_value_list octave_base_matrix< NDArray >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int   
) [inline, virtual, inherited]

Reimplemented from octave_base_value.

Definition at line 81 of file ov-base-mat.h.

octave_value octave_base_matrix< NDArray >::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx 
) [virtual, inherited]

Reimplemented from octave_base_value.

octave_value octave_base_value::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
bool  auto_add 
) [virtual, inherited]

Reimplemented in octave_cell, octave_struct, and octave_scalar_struct.

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

References octave_base_value::subsref().

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 
) [virtual, inherited]

Reimplemented in octave_builtin, octave_fcn_handle, and octave_user_function.

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

References octave_base_value::subsref().

octave_base_value * octave_matrix::try_narrowing_conversion ( void   )  [virtual]

Reimplemented from octave_base_value.

Definition at line 97 of file ov-re-mat.cc.

References octave_base_matrix< NDArray >::matrix, and Array< T >::nelem().

uint16NDArray octave_matrix::uint16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 136 of file ov-re-mat.h.

octave_uint16 octave_base_value::uint16_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::uint16_scalar_value().

uint32NDArray octave_matrix::uint32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 139 of file ov-re-mat.h.

octave_uint32 octave_base_value::uint32_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::uint32_scalar_value().

uint64NDArray octave_matrix::uint64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 142 of file ov-re-mat.h.

octave_uint64 octave_base_value::uint64_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::uint64_scalar_value().

uint8NDArray octave_matrix::uint8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 133 of file ov-re-mat.h.

octave_uint8 octave_base_value::uint8_scalar_value ( void   )  const [virtual, inherited]

Reimplemented in octave_bool, and OCTAVE_VALUE_INT_SCALAR_T.

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

References gripe_wrong_type_arg().

Referenced by octave_value::uint8_scalar_value().

virtual unsigned int octave_base_value::uint_value ( bool  = false,
bool  = false 
) const [virtual, inherited]
virtual unsigned long int octave_base_value::ulong_value ( bool  = false,
bool  = false 
) const [virtual, inherited]
octave_value octave_base_value::undef_subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [virtual, inherited]

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   )  [inline, virtual, inherited]

Reimplemented in octave_class.

Definition at line 225 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 &   )  [inline, virtual, inherited]

Reimplemented in octave_class.

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

Referenced by octave_class::unique_parent_class().

void octave_base_value::unlock ( void   )  [virtual, inherited]

Reimplemented in octave_function.

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

References gripe_wrong_type_arg().

Referenced by octave_value::unlock().

octave_user_code * octave_base_value::user_code_value ( bool  silent = false  )  [virtual, inherited]

Reimplemented in octave_user_script, and octave_user_function.

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

References gripe_wrong_type_arg().

Referenced by octave_value::user_code_value().

octave_user_function * octave_base_value::user_function_value ( bool  silent = false  )  [virtual, inherited]

Reimplemented in octave_fcn_handle, and octave_user_function.

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

References gripe_wrong_type_arg().

Referenced by octave_value::user_function_value().

octave_user_script * octave_base_value::user_script_value ( bool  silent = false  )  [virtual, inherited]

Reimplemented in octave_user_script.

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

References gripe_wrong_type_arg().

Referenced by octave_value::user_script_value().

virtual unsigned short int octave_base_value::ushort_value ( bool  = false,
bool  = false 
) const [virtual, inherited]
int octave_matrix::write ( octave_stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
oct_mach_info::float_format  flt_fmt 
) const [inline, virtual]

Reimplemented from octave_base_value.

Definition at line 221 of file ov-re-mat.h.

References octave_stream::write().


Friends And Related Function Documentation

friend class octave_value [friend, inherited]

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

Referenced by octave_class::all_strings(), octave_scalar_struct::byte_size(), octave_struct::byte_size(), octave_class::byte_size(), octave_scalar::convert_to_str_internal(), octave_sparse_matrix::convert_to_str_internal(), convert_to_str_internal(), octave_float_matrix::convert_to_str_internal(), octave_float_scalar::convert_to_str_internal(), octave_fcn_inline::convert_to_str_internal(), octave_bool::convert_to_str_internal(), octave_sparse_bool_matrix::convert_to_str_internal(), octave_bool_matrix::convert_to_str_internal(), octave_base_value::convert_to_str_internal(), octave_base_int_scalar< T >::convert_to_str_internal(), octave_base_int_matrix< T >::convert_to_str_internal(), DEFUN(), octave_base_value::diag(), octave_base_value::do_index_op(), octave_base_sparse< T >::do_index_op(), octave_char_matrix_str::do_index_op_internal(), octave_base_value::do_multi_index_op(), octave_struct::fast_elem_extract(), octave_base_matrix< Cell >::fast_elem_extract(), octave_base_value::fast_elem_extract(), octave_base_matrix< MT >::fast_elem_extract(), octave_base_value::full_value(), octave_range::index_vector(), octave_class::index_vector(), octave_perm_matrix::load_ascii(), octave_base_diag< DMT, MT >::load_ascii(), octave_scalar::map(), map(), octave_base_value::map(), octave_class::numel(), octave_base_value::numeric_assign(), octave_class::octave_class(), octave_oncleanup::octave_oncleanup(), octave_base_value::permute(), octave_class::print_with_name(), octave_base_value::reshape(), octave_char_matrix_str::resize(), octave_base_value::resize(), octave_fcn_handle::set_fcn(), octave_base_value::sort(), octave_base_value::squeeze(), octave_struct::subsasgn(), octave_cell::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_class::subsasgn_common(), octave_struct::subsref(), octave_cs_list::subsref(), octave_class::subsref(), octave_cell::subsref(), and octave_base_value::subsref().


Member Data Documentation

idx_vector* octave_base_matrix< NDArray >::idx_cache [mutable, protected, inherited]

Definition at line 192 of file ov-base-mat.h.

Referenced by is_sorted(), is_sorted_rows(), reshape(), sort(), sort_rows_idx(), and squeeze().

NDArray octave_base_matrix< NDArray >::matrix [protected, inherited]
MatrixType* octave_base_matrix< NDArray >::typ [mutable, protected, inherited]

Definition at line 191 of file ov-base-mat.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines