GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Protected Member Functions | |
mxArray_octave_value (const mxArray_octave_value &arg) | |
void | error (const char *msg) const |
void | error (const char *msg) const |
void | invalid_type_error (void) const |
void | invalid_type_error (void) const |
Private Member Functions | |
mxArray_octave_value & | operator= (const mxArray_octave_value &) |
Private Attributes | |
char * | class_name |
mwSize * | dims |
mxClassID | id |
bool | mutate_flag |
mwSize | ndims |
octave_value | val |
|
inline |
|
inline |
Definition at line 206 of file mex.cc.
References class_name, dims, and mxFree().
|
inlineprotected |
|
inlinevirtual |
Implements mxArray_base.
Definition at line 489 of file mex.cc.
References octave_value::char_array_value(), Array< T >::data(), get_number_of_elements(), octave_value::is_string(), mxArray::malloc(), and val.
|
inlinevirtual |
Reimplemented from mxArray_base.
Definition at line 169 of file mex.cc.
References octave_value::as_mxArray(), class_name, dims, mxArray::get_dimensions(), mxFree(), ndims, mxArray::set_class_name(), mxArray::set_dimensions(), and val.
Referenced by mutate().
|
inlinevirtual |
|
inlinevirtual |
Implements mxArray_base.
Definition at line 517 of file mex.cc.
References calc_single_subscript_internal(), dims, get_dimensions(), and ndims.
|
inlinevirtual |
|
protectedinherited |
Definition at line 108 of file mex.cc.
Referenced by mxArray_sparse::as_octave_value(), mxArray_number::int_to_ov(), mxArray_base::invalid_type_error(), and mxArray_matlab::invalid_type_error().
|
protectedinherited |
Reimplemented from mxArray_base.
Definition at line 367 of file mex.cc.
References request_mutation().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 313 of file mex.cc.
References octave_value::class_name(), id, mxCELL_CLASS, mxCHAR_CLASS, mxDOUBLE_CLASS, mxFUNCTION_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxLOGICAL_CLASS, mxSINGLE_CLASS, mxSTRUCT_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, mxUINT8_CLASS, mxUNKNOWN_CLASS, and val.
Referenced by get_element_size().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 353 of file mex.cc.
References class_name, octave_value::class_name(), mxArray::strsave(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 378 of file mex.cc.
References maybe_mark_foreign(), octave_value::mex_get_data(), request_mutation(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 274 of file mex.cc.
References octave_value::dims(), dims, mxArray::malloc(), octave_value::ndims(), ndims, and val.
Referenced by calc_single_subscript(), get_n(), and get_number_of_dimensions().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 525 of file mex.cc.
References get_class_id(), mxCELL_CLASS, mxCHAR_CLASS, mxDOUBLE_CLASS, mxFUNCTION_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxLOGICAL_CLASS, mxSINGLE_CLASS, mxSTRUCT_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, and mxUINT8_CLASS.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 390 of file mex.cc.
References is_numeric(), is_real_type(), and request_mutation().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 408 of file mex.cc.
References maybe_mark_foreign(), octave_value::mex_get_ir(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 413 of file mex.cc.
References maybe_mark_foreign(), octave_value::mex_get_jc(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 259 of file mex.cc.
References octave_value::rows(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 261 of file mex.cc.
References dims, get_dimensions(), and ndims.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 292 of file mex.cc.
References get_dimensions(), and ndims.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 309 of file mex.cc.
References octave_value::numel(), and val.
Referenced by array_to_string(), and get_string().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 452 of file mex.cc.
References octave_value::nfields(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 418 of file mex.cc.
References octave_value::nzmax(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 376 of file mex.cc.
References octave_value::scalar_value(), and val.
Implements mxArray_base.
Definition at line 466 of file mex.cc.
References octave_value::char_array_value(), Array< T >::data(), get_number_of_elements(), octave_value::is_string(), and val.
|
inlineprotectedinherited |
Definition at line 282 of file mxarray.h.
References mxArray_base::error().
Referenced by mxArray_base::get_cell().
|
inlineprotectedinherited |
Definition at line 282 of file mxarray.in.h.
References mxArray_base::error().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 214 of file mex.cc.
References octave_value::is_cell(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 216 of file mex.cc.
References octave_value::is_string(), and val.
Definition at line 144 of file mxarray.h.
References mxArray_base::get_class_name().
Referenced by mxArray::is_class().
Definition at line 144 of file mxarray.in.h.
References mxArray_base::get_class_name().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 218 of file mex.cc.
References octave_value::is_complex_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 220 of file mex.cc.
References octave_value::is_double_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 311 of file mex.cc.
References octave_value::is_empty(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 222 of file mex.cc.
References octave_value::is_function_handle(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 224 of file mex.cc.
References octave_value::is_int16_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 226 of file mex.cc.
References octave_value::is_int32_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 228 of file mex.cc.
References octave_value::is_int64_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 230 of file mex.cc.
References octave_value::is_int8_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 232 of file mex.cc.
References octave_value::is_bool_type(), and val.
|
inlinevirtualinherited |
Definition at line 188 of file mxarray.h.
References mxArray_base::get_number_of_elements(), and mxArray_base::is_logical().
Referenced by mxArray::is_logical_scalar(), is_logical_scalar_true(), and mxArray_matlab::is_logical_scalar_true().
|
inlinevirtualinherited |
Definition at line 188 of file mxarray.in.h.
References mxArray_base::get_number_of_elements(), and mxArray_base::is_logical().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 254 of file mex.cc.
References mxArray_base::is_logical_scalar(), octave_value::is_true(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 234 of file mex.cc.
References octave_value::is_numeric_type(), and val.
Referenced by get_imag_data().
|
inlinevirtual |
Reimplemented from mxArray_base.
|
inline |
Definition at line 250 of file mex.cc.
References octave_value::is_range(), and val.
|
inline |
Definition at line 252 of file mex.cc.
References octave_value::is_real_type(), and val.
Referenced by get_imag_data().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 236 of file mex.cc.
References octave_value::is_single_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 238 of file mex.cc.
References octave_value::is_sparse_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 240 of file mex.cc.
References octave_value::is_map(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 242 of file mex.cc.
References octave_value::is_uint16_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 244 of file mex.cc.
References octave_value::is_uint32_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 246 of file mex.cc.
References octave_value::is_uint64_type(), and val.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 248 of file mex.cc.
References octave_value::is_uint8_type(), and val.
|
inlinevirtual |
|
inlinevirtual |
|
private |
|
inlinevirtual |
|
inline |
Definition at line 553 of file mex.cc.
References mutate_flag, and panic_impossible.
Referenced by add_field(), get_cell(), get_data(), get_field_by_number(), get_field_name_by_number(), get_field_number(), get_imag_data(), remove_field(), set_cell(), set_class_name(), set_data(), set_dimensions(), set_field_by_number(), set_imag_data(), set_ir(), set_jc(), set_m(), set_n(), and set_nzmax().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
mutableprivate |
Definition at line 593 of file mex.cc.
Referenced by as_mxArray(), get_class_name(), and ~mxArray_octave_value().
|
mutableprivate |
Definition at line 595 of file mex.cc.
Referenced by as_mxArray(), calc_single_subscript(), get_dimensions(), get_n(), mxArray_octave_value(), and ~mxArray_octave_value().
|
mutableprivate |
Definition at line 592 of file mex.cc.
Referenced by get_class_id().
|
mutableprivate |
Definition at line 586 of file mex.cc.
Referenced by mutation_needed(), and request_mutation().
|
mutableprivate |
Definition at line 594 of file mex.cc.
Referenced by as_mxArray(), calc_single_subscript(), get_dimensions(), get_n(), get_number_of_dimensions(), and mxArray_octave_value().
|
private |
Definition at line 584 of file mex.cc.
Referenced by array_to_string(), as_mxArray(), as_octave_value(), get_class_id(), get_class_name(), get_data(), get_dimensions(), get_ir(), get_jc(), get_m(), get_number_of_elements(), get_number_of_fields(), get_nzmax(), get_scalar(), get_string(), is_cell(), is_char(), is_complex(), is_double(), is_empty(), is_function_handle(), is_int16(), is_int32(), is_int64(), is_int8(), is_logical(), is_logical_scalar_true(), is_numeric(), is_range(), is_real_type(), is_single(), is_sparse(), is_struct(), is_uint16(), is_uint32(), is_uint64(), and is_uint8().