#include "ov-complex.h"
Definition at line 49 of file ov-complex.h.
typedef octave_base_value*(* octave_base_value::type_conv_fcn)(const octave_base_value &) [inherited] |
enum octave_base_value::unary_mapper_t [inherited] |
octave_complex::octave_complex | ( | void | ) | [inline] |
Definition at line 55 of file ov-complex.h.
octave_complex::octave_complex | ( | const Complex & | c | ) | [inline] |
Definition at line 58 of file ov-complex.h.
octave_complex::octave_complex | ( | const octave_complex & | c | ) | [inline] |
Definition at line 61 of file ov-complex.h.
octave_complex::~octave_complex | ( | void | ) | [inline] |
Definition at line 64 of file ov-complex.h.
octave_value octave_base_scalar< Complex >::all | ( | int | = 0 |
) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 95 of file ov-base-scalar.h.
string_vector octave_base_value::all_strings | ( | bool | pad = false |
) | const [virtual, inherited] |
Reimplemented in octave_cell, octave_class, and octave_char_matrix_str.
Definition at line 877 of file ov-base.cc.
References octave_value::all_strings(), octave_base_value::convert_to_str(), and error_state.
Referenced by octave_value::all_strings().
octave_value octave_complex::any | ( | int | = 0 |
) | const [inline, virtual] |
Reimplemented from octave_base_scalar< Complex >.
Definition at line 91 of file ov-complex.h.
References imag(), lo_ieee_isnan, real, and scalar.
Reimplemented from octave_base_value.
Definition at line 160 of file ov-complex.cc.
References gripe_implicit_conversion(), NDArray, real, and octave_base_scalar< Complex >::scalar.
mxArray * octave_complex::as_mxArray | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 396 of file ov-complex.cc.
References imag(), real, and octave_base_scalar< Complex >::scalar.
virtual void octave_base_value::assign | ( | const std::string & | , | |
const octave_value & | ||||
) | [inline, virtual, inherited] |
Reimplemented in octave_class.
boolNDArray octave_complex::bool_array_value | ( | bool | warn = false |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 156 of file ov-complex.h.
References gripe_logical_conversion(), gripe_nan_to_logical_conversion(), scalar, and xisnan().
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().
Reimplemented from octave_base_value.
Definition at line 146 of file ov-complex.h.
References gripe_logical_conversion(), gripe_nan_to_logical_conversion(), scalar, and xisnan().
builtin_type_t octave_complex::builtin_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 98 of file ov-complex.h.
size_t octave_base_scalar< Complex >::byte_size | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 93 of file ov-base-scalar.h.
virtual octave_idx_type octave_base_value::capacity | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 312 of file ov-base.h.
References octave_value::numel().
Referenced by octave_value::capacity().
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().
charNDArray octave_base_value::char_array_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_scalar, octave_float_complex_matrix, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 660 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::char_array_value().
charMatrix octave_base_value::char_matrix_value | ( | bool | force = false |
) | const [virtual, inherited] |
Reimplemented in octave_char_matrix.
Definition at line 647 of file ov-base.cc.
References octave_value::char_matrix_value(), octave_base_value::convert_to_str(), and error_state.
Referenced by octave_value::char_matrix_value().
octave_base_value* octave_complex::clone | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 66 of file ov-complex.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(), octave_matrix::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(), octave_matrix::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(), octave_matrix::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_complex::complex_array_value | ( | bool | = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 212 of file ov-complex.cc.
References ComplexNDArray, and octave_base_scalar< Complex >::scalar.
ComplexDiagMatrix octave_base_value::complex_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 709 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::complex_diag_matrix_value(), octave_base_diag< DMT, MT >::complex_matrix_value(), and octave_base_diag< DMT, MT >::sparse_complex_matrix_value().
ComplexMatrix octave_complex::complex_matrix_value | ( | bool | = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 200 of file ov-complex.cc.
References octave_base_scalar< Complex >::scalar.
Referenced by do_index_op().
Reimplemented from octave_base_value.
Definition at line 188 of file ov-complex.cc.
References octave_base_scalar< Complex >::scalar.
Referenced by save_ascii(), and save_binary().
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] |
Definition at line 371 of file ov-base.cc.
References octave_base_value::convert_to_str_internal(), gripe_implicit_conversion(), octave_base_value::is_numeric_type(), and octave_value::type_name().
Referenced by octave_base_value::all_strings(), octave_base_value::char_matrix_value(), octave_value::convert_to_str(), octave_scalar::map(), octave_matrix::map(), and octave_base_value::string_value().
octave_value octave_base_value::convert_to_str_internal | ( | bool | pad, | |
bool | force, | |||
char | type | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_int_matrix< T >, octave_base_int_scalar< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_cell, octave_char_matrix, octave_fcn_inline, octave_float_scalar, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >, and octave_base_int_scalar< OCTAVE_INT_T >.
Definition at line 383 of file ov-base.cc.
References gripe_wrong_type_arg(), and octave_base_value::octave_value.
Referenced by octave_base_value::convert_to_str(), and octave_value::convert_to_str_internal().
int octave_base_value::current_print_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 773 of file ov-base.h.
Referenced by octave_char_matrix_str::print_raw(), octave_matrix::print_raw(), octave_range::print_raw(), octave_perm_matrix::print_raw(), octave_float_matrix::print_raw(), octave_float_complex_matrix::print_raw(), octave_fcn_inline::print_raw(), octave_fcn_handle::print_raw(), octave_complex_matrix::print_raw(), octave_char_matrix::print_raw(), octave_bool_matrix::print_raw(), octave_base_int_matrix< T >::print_raw(), and octave_base_diag< DMT, MT >::print_raw().
void octave_complex::decrement | ( | void | ) | [inline] |
Definition at line 168 of file ov-complex.h.
References scalar.
void octave_base_value::decrement_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 770 of file ov-base.h.
Referenced by octave_scalar_struct::print_raw(), octave_struct::print_raw(), and octave_cell::print_raw().
octave_value octave_base_scalar< Complex >::diag | ( | octave_idx_type | k = 0 |
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
DiagMatrix octave_base_value::diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 693 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::diag_matrix_value(), octave_base_diag< DMT, MT >::matrix_value(), and octave_base_diag< DMT, MT >::sparse_matrix_value().
dim_vector octave_base_scalar< Complex >::dims | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 81 of file ov-base-scalar.h.
octave_value octave_complex::do_index_op | ( | const octave_value_list & | idx, | |
bool | resize_ok = false | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 86 of file ov-complex.cc.
References complex_matrix_value(), and octave_value::do_index_op().
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] |
Reimplemented in octave_builtin, octave_fcn_handle, octave_fcn_binder, and octave_user_function.
Definition at line 209 of file ov-base.cc.
References octave_base_value::do_multi_index_op().
octave_value_list octave_base_scalar< Complex >::do_multi_index_op | ( | int | , | |
const octave_value_list & | idx | |||
) | [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 74 of file ov-base-scalar.h.
Reimplemented from octave_base_value.
Definition at line 104 of file ov-complex.cc.
References gripe_implicit_conversion(), lo_ieee_nan_value(), real, and octave_base_scalar< Complex >::scalar.
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_complex::empty_clone | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 72 of file ov-complex.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_value::fast_elem_extract | ( | octave_idx_type | n | ) | const [virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_struct, 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 >, and octave_base_matrix< boolNDArray >.
Definition at line 1475 of file ov-base.cc.
References octave_base_value::octave_value.
Referenced by octave_value::fast_elem_extract().
bool octave_base_value::fast_elem_insert | ( | octave_idx_type | n, | |
const octave_value & | x | |||
) | [virtual, inherited] |
Reimplemented in octave_base_matrix< MT >, octave_struct, 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 >, and octave_base_matrix< boolNDArray >.
Definition at line 1481 of file ov-base.cc.
Referenced by octave_value::fast_elem_insert().
bool octave_base_scalar< Complex >::fast_elem_insert_self | ( | void * | where, | |
builtin_type_t | btyp | |||
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
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] |
Reimplemented in octave_class.
Definition at line 574 of file ov-base.h.
Referenced by octave_value::find_parent_class(), octave_class::find_parent_class(), and octave_class::unique_parent_class().
FloatNDArray octave_complex::float_array_value | ( | bool | force_conversion = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 174 of file ov-complex.cc.
References FloatNDArray, gripe_implicit_conversion(), real, and octave_base_scalar< Complex >::scalar.
FloatComplexNDArray octave_complex::float_complex_array_value | ( | bool | = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 218 of file ov-complex.cc.
References FloatComplexNDArray, and octave_base_scalar< Complex >::scalar.
FloatComplexDiagMatrix octave_base_value::float_complex_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 717 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_complex_diag_matrix_value(), and octave_base_diag< DMT, MT >::float_complex_matrix_value().
FloatComplexMatrix octave_complex::float_complex_matrix_value | ( | bool | = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 206 of file ov-complex.cc.
References octave_base_scalar< Complex >::scalar.
FloatComplex octave_complex::float_complex_value | ( | bool | = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 194 of file ov-complex.cc.
References octave_base_scalar< Complex >::scalar.
FloatDiagMatrix octave_base_value::float_diag_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, and octave_diag_matrix.
Definition at line 701 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::float_diag_matrix_value(), and octave_base_diag< DMT, MT >::float_matrix_value().
FloatMatrix octave_complex::float_matrix_value | ( | bool | force_conversion = false |
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 146 of file ov-complex.cc.
References gripe_implicit_conversion(), real, and octave_base_scalar< Complex >::scalar.
Reimplemented from octave_base_value.
Definition at line 115 of file ov-complex.h.
Reimplemented from octave_base_value.
Definition at line 118 of file ov-complex.cc.
References gripe_implicit_conversion(), lo_ieee_float_nan_value(), real, and octave_base_scalar< Complex >::scalar.
octave_value octave_base_scalar< Complex >::full_value | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 61 of file ov-base-scalar.h.
octave_function * octave_base_value::function_value | ( | bool | silent = false |
) | [virtual, inherited] |
Reimplemented in octave_builtin, octave_fcn_handle, octave_mex_function, octave_user_script, and octave_user_function.
Definition at line 978 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by DEFUN_DLD(), and octave_value::function_value().
void octave_complex::increment | ( | void | ) | [inline] |
Definition at line 166 of file ov-complex.h.
References scalar.
void octave_base_value::increment_indent_level | ( | void | ) | const [inline, protected, inherited] |
Definition at line 767 of file ov-base.h.
Referenced by octave_scalar_struct::print_raw(), octave_struct::print_raw(), and octave_cell::print_raw().
void octave_base_value::indent | ( | std::ostream & | os | ) | const [protected, inherited] |
Definition at line 1438 of file ov-base.cc.
References octave_base_value::beginning_of_line, and octave_base_value::curr_print_indent_level.
Referenced by octave_magic_colon::print(), octave_scalar_struct::print_name_tag(), octave_struct::print_name_tag(), octave_range::print_name_tag(), octave_class::print_name_tag(), octave_base_value::print_name_tag(), octave_base_scalar< ST >::print_name_tag(), octave_scalar_struct::print_raw(), octave_struct::print_raw(), octave_class::print_raw(), octave_cell::print_raw(), octave_base_scalar< ST >::print_raw(), and octave_class::print_with_name().
idx_vector octave_complex::index_vector | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 83 of file ov-complex.h.
References error().
int16NDArray octave_base_value::int16_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 814 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int16_array_value().
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_base_value::int32_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 823 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int32_array_value().
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_base_value::int64_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 832 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int64_array_value().
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_base_value::int8_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 805 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::int8_array_value().
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().
Referenced by octave_value::int_value().
virtual bool octave_base_value::is_all_va_args | ( | void | ) | const [inline, virtual, inherited] |
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] |
Reimplemented in octave_complex_diag_matrix, octave_complex_matrix, octave_sparse_complex_matrix, octave_float_complex_diag_matrix, and octave_float_complex_matrix.
Definition at line 348 of file ov-base.h.
Referenced by octave_value::is_complex_matrix().
bool octave_complex::is_complex_scalar | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 100 of file ov-complex.h.
bool octave_complex::is_complex_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 102 of file ov-complex.h.
bool octave_base_scalar< Complex >::is_constant | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 77 of file ov-base-scalar.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_scalar< Complex >::is_defined | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 79 of file ov-base-scalar.h.
virtual bool octave_base_value::is_diag_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 356 of file ov-base.h.
Referenced by octave_value::is_diag_matrix().
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_complex::is_double_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 104 of file ov-complex.h.
bool octave_base_value::is_empty | ( | void | ) | const [inline, inherited] |
Definition at line 334 of file ov-base.h.
References octave_value::numel().
Referenced by DEFUN(), octave_value::is_empty(), octave_cell::subsasgn(), octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_matrix< MT >::subsasgn(), and octave_base_diag< DMT, MT >::subsasgn().
bool octave_complex::is_float_type | ( | void | ) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 106 of file ov-complex.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().
virtual bool octave_base_value::is_matrix_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_cell, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, 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_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 416 of file ov-base.h.
Referenced by octave_value::is_matrix_type().
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_scalar< Complex >::is_numeric_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 129 of file ov-base-scalar.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().
virtual bool octave_base_value::is_real_matrix | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_diag_matrix, octave_matrix, and octave_sparse_matrix.
Definition at line 342 of file ov-base.h.
Referenced by octave_value::is_real_matrix().
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().
virtual bool octave_base_value::is_real_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_int_matrix< T >, octave_base_int_scalar< T >, octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_char_matrix, octave_float_scalar, octave_float_diag_matrix, octave_float_matrix, octave_lazy_index, octave_perm_matrix, octave_range, octave_diag_matrix, octave_matrix, octave_sparse_matrix, octave_scalar, octave_base_int_matrix< intNDArray< OCTAVE_INT_T > >, and octave_base_int_scalar< OCTAVE_INT_T >.
Definition at line 408 of file ov-base.h.
Referenced by octave_value::is_real_type().
bool octave_base_scalar< Complex >::is_scalar_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 127 of file ov-base-scalar.h.
virtual bool octave_base_value::is_single_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_float_scalar, octave_float_complex, octave_float_complex_matrix, octave_float_diag_matrix, and octave_float_matrix.
Definition at line 384 of file ov-base.h.
Referenced by octave_value::is_single_type().
sortmode octave_base_scalar< Complex >::is_sorted | ( | sortmode | mode = UNSORTED |
) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 111 of file ov-base-scalar.h.
sortmode octave_base_scalar< Complex >::is_sorted_rows | ( | sortmode | mode = UNSORTED |
) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 120 of file ov-base-scalar.h.
virtual bool octave_base_value::is_sparse_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 420 of file ov-base.h.
Referenced by octave_value::is_sparse_type().
virtual bool octave_base_value::is_sq_string | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_char_matrix_sq_str.
Definition at line 362 of file ov-base.h.
Referenced by octave_value::is_dq_string(), octave_value::is_sq_string(), and octave_char_matrix_str::resize().
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_scalar< Complex >::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] |
Reimplemented in octave_user_code.
Definition at line 440 of file ov-base.h.
Referenced by octave_call_stack::do_backtrace(), octave_call_stack::do_caller_user_code(), octave_call_stack::do_caller_user_code_column(), octave_call_stack::do_caller_user_code_line(), octave_call_stack::do_goto_caller_frame(), octave_call_stack::do_goto_frame_relative(), octave_call_stack::do_num_user_code_frames(), and octave_value::is_user_code().
virtual bool octave_base_value::is_user_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_user_function.
Definition at line 438 of file ov-base.h.
Referenced by DEFUN(), do_which(), octave_value::is_user_function(), raw_help_from_symbol_table(), and try_local_protect().
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_complex::load_ascii | ( | std::istream & | is | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 259 of file ov-complex.cc.
References error(), and octave_base_scalar< Complex >::scalar.
bool octave_complex::load_binary | ( | std::istream & | is, | |
bool | swap, | |||
oct_mach_info::float_format | fmt | |||
) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 285 of file ov-complex.cc.
References error_state, read_doubles(), and octave_base_scalar< Complex >::scalar.
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] |
Referenced by octave_value::long_value().
octave_value octave_complex::map | ( | unary_mapper_t | umap | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 410 of file ov-complex.cc.
References abs(), acos(), acosh(), arg(), asin(), asinh(), atan(), atanh(), ceil(), conj(), expm1(), fix(), floor(), imag(), log1p(), octave_is_NA(), real, SCALAR_MAPPER, signum(), xfinite(), xisinf(), xisnan(), xlog2(), xround(), and xroundb().
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] |
Reimplemented in octave_class, octave_fcn_inline, octave_oncleanup, octave_struct, and octave_scalar_struct.
Definition at line 920 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_class::dotref(), octave_value::map_value(), and octave_base_value::scalar_map_value().
MatrixType octave_base_scalar< Complex >::matrix_type | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 123 of file ov-base-scalar.h.
MatrixType octave_base_scalar< Complex >::matrix_type | ( | const MatrixType & | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 124 of file ov-base-scalar.h.
Reimplemented from octave_base_value.
Definition at line 132 of file ov-complex.cc.
References gripe_implicit_conversion(), real, and octave_base_scalar< Complex >::scalar.
virtual void octave_base_value::maybe_economize | ( | void | ) | [inline, virtual, inherited] |
Reimplemented in 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 >, and octave_base_matrix< boolNDArray >.
Definition at line 241 of file ov-base.h.
Referenced by octave_value::maybe_economize().
void* octave_base_scalar< Complex >::mex_get_data | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 141 of file ov-base-scalar.h.
virtual octave_idx_type* octave_base_value::mex_get_ir | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 641 of file ov-base.h.
Referenced by octave_value::mex_get_ir().
virtual octave_idx_type* octave_base_value::mex_get_jc | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 643 of file ov-base.h.
Referenced by octave_value::mex_get_jc().
int octave_base_scalar< Complex >::ndims | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 85 of file ov-base-scalar.h.
void octave_base_value::newline | ( | std::ostream & | os | ) | const [protected, inherited] |
Definition at line 1457 of file ov-base.cc.
References octave_base_value::beginning_of_line.
Referenced by octave_range::print(), octave_perm_matrix::print(), octave_oncleanup::print(), octave_fcn_inline::print(), octave_fcn_handle::print(), octave_base_sparse< T >::print(), octave_base_scalar< ST >::print(), octave_base_matrix< MT >::print(), octave_base_diag< DMT, MT >::print(), octave_scalar_struct::print_name_tag(), octave_struct::print_name_tag(), octave_range::print_name_tag(), octave_class::print_name_tag(), octave_base_value::print_name_tag(), octave_scalar_struct::print_raw(), octave_struct::print_raw(), octave_class::print_raw(), octave_cell::print_raw(), octave_class::print_with_name(), and octave_base_value::print_with_name().
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().
Definition at line 488 of file ov-base.cc.
References d, octave_sparse_bool_matrix::double_value(), error(), error_state, fix(), gripe_wrong_type_arg(), and xisnan().
Referenced by DEFUN(), and octave_value::nint_value().
octave_idx_type octave_base_scalar< Complex >::nnz | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 87 of file ov-base-scalar.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_scalar< Complex >::numel | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 83 of file ov-base-scalar.h.
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_value octave_base_value::numeric_assign | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
const octave_value & | rhs | |||
) | [protected, inherited] |
Definition at line 1287 of file ov-base.cc.
References octave_value::assign_op_as_string(), octave_base_value::count, error(), error_state, f, octave_value::get_rep(), gripe_assign_conversion_failed(), gripe_indexed_assignment(), gripe_no_conversion(), octave_value_typeinfo::lookup_assign_op(), octave_value_typeinfo::lookup_pref_assign_conv(), octave_value_typeinfo::lookup_widening_op(), octave_value::maybe_mutate(), octave_base_value::numeric_conversion_function(), octave_value::numeric_conversion_function(), octave_base_value::octave_value, octave_value::op_asn_eq, octave_value::subsasgn(), octave_base_value::type_conv_info::type_id(), octave_value::type_id(), and octave_value::type_name().
Referenced by octave_base_value::subsasgn(), octave_base_sparse< T >::subsasgn(), octave_base_scalar< ST >::subsasgn(), octave_base_matrix< MT >::subsasgn(), and octave_base_diag< DMT, MT >::subsasgn().
virtual type_conv_info octave_base_value::numeric_conversion_function | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_complex_diag_matrix, octave_float_complex_diag_matrix, octave_float_diag_matrix, octave_lazy_index, octave_null_matrix, octave_null_str, octave_null_sq_str, octave_perm_matrix, octave_range, octave_diag_matrix, and octave_char_matrix_str.
Definition at line 228 of file ov-base.h.
Referenced by octave_base_value::numeric_assign(), and octave_value::numeric_conversion_function().
octave_base_value::type_conv_info octave_complex::numeric_demotion_function | ( | void | ) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 66 of file ov-complex.cc.
References default_numeric_demotion_function().
octave_idx_type octave_base_value::nzmax | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_sparse< T >, octave_base_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 311 of file ov-base.cc.
References octave_base_value::numel().
Referenced by octave_value::nzmax().
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_scalar< Complex >::permute | ( | const Array< int > & | , | |
bool | = false | |||
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
void octave_base_scalar< Complex >::print | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
virtual bool octave_base_value::print_as_scalar | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_cell, octave_fcn_handle, octave_lazy_index, octave_perm_matrix, octave_char_matrix_str, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, 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_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 601 of file ov-base.h.
Referenced by octave_value::print_as_scalar(), and octave_base_value::print_name_tag().
void octave_base_value::print_info | ( | std::ostream & | os, | |
const std::string & | prefix | |||
) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_base_matrix< MT >, octave_base_sparse< T >, octave_lazy_index, octave_perm_matrix, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, octave_base_diag< DiagMatrix, Matrix >, 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_sparse< SparseMatrix >, octave_base_sparse< SparseBoolMatrix >, and octave_base_sparse< SparseComplexMatrix >.
Definition at line 446 of file ov-base.cc.
Referenced by octave_value::print_info().
bool octave_base_scalar< Complex >::print_name_tag | ( | std::ostream & | os, | |
const std::string & | name | |||
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
void octave_base_scalar< Complex >::print_raw | ( | std::ostream & | os, | |
bool | pr_as_read_syntax = false | |||
) | const [virtual, inherited] |
Reimplemented from octave_base_value.
void octave_base_value::print_with_name | ( | std::ostream & | output_buf, | |
const std::string & | name, | |||
bool | print_padding = true | |||
) | [virtual, inherited] |
Reimplemented in octave_class.
Definition at line 433 of file ov-base.cc.
References octave_base_value::newline(), octave_base_value::print(), octave_base_value::print_name_tag(), and Vcompact_format.
Referenced by octave_value::print_with_name().
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] |
Definition at line 1467 of file ov-base.cc.
References octave_base_value::beginning_of_line, and octave_base_value::curr_print_indent_level.
void octave_base_value::reset_indent_level | ( | void | ) | const [inline, protected, inherited] |
octave_value octave_base_scalar< Complex >::reshape | ( | const dim_vector & | new_dims | ) | const [virtual, inherited] |
Reimplemented from octave_base_value.
octave_value octave_complex::resize | ( | const dim_vector & | dv, | |
bool | fill = false | |||
) | const [virtual] |
Reimplemented from octave_base_value.
Definition at line 224 of file ov-complex.cc.
References dim_vector::numel(), ComplexNDArray::resize_fill_value(), and octave_base_scalar< Complex >::scalar.
octave_idx_type octave_base_value::rows | ( | void | ) | const [inline, inherited] |
Definition at line 293 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_sparse_matrix::complex_value(), octave_matrix::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(), octave_matrix::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(), octave_cell::print_raw(), octave_value::rows(), octave_matrix::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().
bool octave_complex::save_ascii | ( | std::ostream & | os | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 247 of file ov-complex.cc.
References complex_value(), and octave_write_complex().
Reimplemented from octave_base_value.
Definition at line 274 of file ov-complex.cc.
References complex_value().
octave_scalar_map octave_base_value::scalar_map_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_oncleanup, and octave_scalar_struct.
Definition at line 928 of file ov-base.cc.
References octave_map::checkelem(), error(), error_state, octave_base_value::map_value(), and octave_map::numel().
Referenced by octave_value::scalar_map_value().
Complex & octave_base_scalar< Complex >::scalar_ref | ( | void | ) | [inline, inherited] |
Definition at line 145 of file ov-base-scalar.h.
const Complex & octave_base_scalar< Complex >::scalar_ref | ( | void | ) | const [inline, inherited] |
Definition at line 143 of file ov-base-scalar.h.
Reimplemented from octave_base_value.
Definition at line 112 of file ov-complex.h.
virtual short int octave_base_value::short_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
Referenced by octave_value::short_value().
Matrix octave_base_value::size | ( | void | ) | [virtual, inherited] |
Reimplemented in octave_class.
Definition at line 140 of file ov-base.cc.
References octave_base_value::dims(), and dim_vector::length().
Referenced by make_fcn_handle(), octave_fcn_binder::maybe_binder(), and octave_value::size().
octave_value octave_base_scalar< Complex >::sort | ( | octave_idx_type | , | |
sortmode | ||||
) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 101 of file ov-base-scalar.h.
octave_value octave_base_scalar< Complex >::sort | ( | Array< octave_idx_type > & | sidx, | |
octave_idx_type | , | |||
sortmode | ||||
) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 103 of file ov-base-scalar.h.
Array<octave_idx_type> octave_base_scalar< Complex >::sort_rows_idx | ( | sortmode | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 114 of file ov-base-scalar.h.
SparseBoolMatrix octave_base_value::sparse_bool_matrix_value | ( | bool | = false |
) | const [virtual, inherited] |
Reimplemented in octave_bool_matrix, octave_sparse_bool_matrix, octave_bool, octave_sparse_complex_matrix, octave_perm_matrix, and octave_sparse_matrix.
Definition at line 685 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::sparse_bool_matrix_value().
SparseComplexMatrix octave_complex::sparse_complex_matrix_value | ( | bool | = false |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 129 of file ov-complex.h.
References SparseComplexMatrix.
SparseMatrix octave_complex::sparse_matrix_value | ( | bool | = false |
) | const [inline, virtual] |
Reimplemented from octave_base_value.
Definition at line 126 of file ov-complex.h.
octave_value octave_base_scalar< Complex >::squeeze | ( | void | ) | const [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 59 of file ov-base-scalar.h.
std::string octave_base_value::string_value | ( | bool | force = false |
) | const [virtual, inherited] |
Reimplemented in octave_char_matrix_str.
Definition at line 890 of file ov-base.cc.
References octave_base_value::convert_to_str(), error_state, and octave_value::string_value().
Referenced by DEFUN(), octave_value::string_value(), and warning_enabled().
octave_value octave_base_scalar< Complex >::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_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_value_list octave_base_scalar< Complex >::subsref | ( | const std::string & | type, | |
const std::list< octave_value_list > & | idx, | |||
int | ||||
) | [inline, virtual, inherited] |
Reimplemented from octave_base_value.
Definition at line 66 of file ov-base-scalar.h.
octave_value octave_base_scalar< Complex >::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_base_value * octave_complex::try_narrowing_conversion | ( | void | ) | [virtual] |
Reimplemented from octave_base_value.
Definition at line 73 of file ov-complex.cc.
References imag(), real, and octave_base_scalar< Complex >::scalar.
uint16NDArray octave_base_value::uint16_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 850 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint16_array_value().
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_base_value::uint32_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 859 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint32_array_value().
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_base_value::uint64_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 868 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint64_array_value().
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_base_value::uint8_array_value | ( | void | ) | const [virtual, inherited] |
Reimplemented in octave_base_diag< DMT, MT >, octave_bool_matrix, octave_bool, octave_float_scalar, octave_float_matrix, OCTAVE_VALUE_INT_MATRIX_T, OCTAVE_VALUE_INT_SCALAR_T, octave_perm_matrix, octave_range, octave_matrix, octave_scalar, octave_base_diag< ComplexDiagMatrix, ComplexMatrix >, octave_base_diag< FloatComplexDiagMatrix, FloatComplexMatrix >, octave_base_diag< FloatDiagMatrix, FloatMatrix >, and octave_base_diag< DiagMatrix, Matrix >.
Definition at line 841 of file ov-base.cc.
References gripe_wrong_type_arg().
Referenced by octave_value::uint8_array_value().
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] |
Referenced by octave_value::uint_value().
virtual unsigned long int octave_base_value::ulong_value | ( | bool | = false , |
|
bool | = false | |||
) | const [virtual, inherited] |
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 | |||
) | [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] |
Referenced by octave_value::ushort_value().
int octave_complex::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 185 of file ov-complex.h.
References octave_stream::write().
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(), octave_matrix::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(), octave_matrix::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().
octave_refcount<octave_idx_type> octave_base_value::count [protected, inherited] |
Definition at line 786 of file ov-base.h.
Referenced by octave_value::assign(), octave_diag_matrix::do_index_op(), octave_perm_matrix::do_index_op(), octave_value::do_non_const_unary_op(), octave_value::get_count(), octave_value::make_storable_value(), octave_value::make_unique(), octave_value::maybe_mutate(), octave_class::numel(), octave_base_value::numeric_assign(), octave_value::octave_value(), octave_value::operator=(), octave_class::print_with_name(), octave_class::size(), octave_scalar_struct::subsasgn(), octave_struct::subsasgn(), octave_class::subsasgn(), octave_cell::subsasgn(), octave_base_diag< DMT, MT >::subsasgn(), octave_class::subsasgn_common(), octave_class::subsref(), octave_class::unique_clone(), and octave_value::~octave_value().
Complex octave_base_scalar< Complex >::scalar [protected, inherited] |
Definition at line 152 of file ov-base-scalar.h.
Referenced by array_value(), as_mxArray(), complex_array_value(), complex_matrix_value(), complex_value(), double_value(), float_array_value(), float_complex_array_value(), float_complex_matrix_value(), float_complex_value(), float_matrix_value(), float_value(), load_ascii(), load_binary(), matrix_value(), resize(), and try_narrowing_conversion().