GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Protected Member Functions | |
mxArray_matlab (mxClassID id_arg=mxUNKNOWN_CLASS) | |
mxArray_matlab (mxClassID id_arg, mwSize ndims_arg, const mwSize *dims_arg) | |
mxArray_matlab (mxClassID id_arg, const dim_vector &dv) | |
mxArray_matlab (mxClassID id_arg, mwSize m, mwSize n) | |
mxArray_matlab (const mxArray_matlab &val) | |
dim_vector | dims_to_dim_vector (void) const |
void | error (const char *msg) const |
void | error (const char *msg) const |
Private Member Functions | |
void | invalid_type_error (void) const |
mxArray_matlab & | operator= (const mxArray_matlab &) |
Private Attributes | |
char * | class_name |
mwSize * | dims |
mxClassID | id |
mwSize | ndims |
|
inlineprotected |
|
inlineprotected |
|
inline |
Definition at line 663 of file mex.cc.
References class_name, dims, and mxFree().
|
inlineprotected |
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 860 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_number.
Definition at line 906 of file mex.cc.
References invalid_type_error().
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.h.
Referenced by mxArray::dup().
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.in.h.
|
pure virtualinherited |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
Referenced by mxArray::as_octave_value().
|
pure virtualinherited |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
Implements mxArray_base.
Definition at line 912 of file mex.cc.
References calc_single_subscript_internal(), dims, and ndims.
|
inlineprotected |
Definition at line 952 of file mex.cc.
References d, get_dimensions(), get_number_of_dimensions(), and dim_vector::resize().
Referenced by mxArray_number::as_octave_value(), mxArray_sparse::as_octave_value(), mxArray_struct::as_octave_value(), and mxArray_cell::as_octave_value().
|
pure virtualinherited |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
Referenced by mxArray::dup().
|
pure virtualinherited |
Implemented in mxArray_cell, mxArray_struct, mxArray_sparse, mxArray_number, and mxArray_octave_value.
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 invalid_type_error().
Reimplemented from mxArray_base.
Reimplemented in mxArray_cell.
Definition at line 788 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Definition at line 756 of file mex.cc.
References id.
Referenced by mxArray_number::as_octave_value(), mxArray_sparse::as_octave_value(), and mxArray_number::get_scalar().
Implements mxArray_base.
Definition at line 758 of file mex.cc.
References 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.
Implements mxArray_base.
Reimplemented in mxArray_cell, mxArray_struct, mxArray_sparse, and mxArray_number.
Definition at line 805 of file mex.cc.
References invalid_type_error().
Referenced by is_logical_scalar_true().
Implements mxArray_base.
Definition at line 730 of file mex.cc.
References dims.
Referenced by dims_to_dim_vector(), and mxArray_number::mxArray_number().
Implements mxArray_base.
Definition at line 917 of file mex.cc.
References 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.
Referenced by mxArray_number::mxArray_number(), and mxArray_sparse::mxArray_sparse().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 871 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 889 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse, and mxArray_number.
Definition at line 811 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 827 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 833 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Definition at line 718 of file mex.cc.
References dims.
Referenced by mxArray_sparse::as_octave_value().
Implements mxArray_base.
Definition at line 720 of file mex.cc.
Referenced by mxArray_sparse::as_octave_value(), and mxArray_sparse::mxArray_sparse().
Implements mxArray_base.
Definition at line 732 of file mex.cc.
References ndims.
Referenced by dims_to_dim_vector().
Implements mxArray_base.
Definition at line 744 of file mex.cc.
Referenced by mxArray_struct::add_field(), mxArray_number::array_to_string(), mxArray_number::as_octave_value(), mxArray_struct::as_octave_value(), mxArray_cell::as_octave_value(), mxArray_cell::get_cell(), mxArray_number::get_string(), mxArray_number::int_to_ov(), is_empty(), mxArray_cell::mxArray_cell(), mxArray_number::mxArray_number(), mxArray_struct::mxArray_struct(), mxArray_struct::remove_field(), mxArray_cell::set_cell(), mxArray_cell::~mxArray_cell(), and mxArray_struct::~mxArray_struct().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 883 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 839 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_number.
Definition at line 799 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_number.
Definition at line 900 of file mex.cc.
References invalid_type_error().
Definition at line 976 of file mex.cc.
References mxArray_base::error().
Referenced by add_field(), array_to_string(), get_cell(), get_data(), get_field_by_number(), get_field_name_by_number(), get_imag_data(), get_ir(), get_jc(), get_number_of_fields(), get_nzmax(), get_scalar(), get_string(), remove_field(), set_cell(), set_data(), set_field_by_number(), set_imag_data(), set_ir(), set_jc(), and set_nzmax().
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().
Implements mxArray_base.
Reimplemented in mxArray_sparse, and mxArray_number.
Implements mxArray_base.
Definition at line 754 of file mex.cc.
References get_number_of_elements().
Definition at line 188 of file mxarray.in.h.
References mxArray_base::get_number_of_elements(), and mxArray_base::is_logical().
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(), mxArray_octave_value::is_logical_scalar_true(), and is_logical_scalar_true().
Implements mxArray_base.
Definition at line 712 of file mex.cc.
References get_data(), and mxArray_base::is_logical_scalar().
Implements mxArray_base.
Definition at line 689 of file mex.cc.
References mxDOUBLE_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxSINGLE_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, and mxUINT8_CLASS.
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.in.h.
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.h.
Referenced by mxArray::is_octave_value(), and mxArray::maybe_mutate().
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.h.
Referenced by mxArray::maybe_mutate(), and mxArray::mutate().
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.in.h.
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.h.
Referenced by mxArray::mutation_needed().
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.in.h.
|
private |
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 866 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_cell.
Definition at line 794 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Definition at line 781 of file mex.cc.
References class_name, mxArray::malloc(), and mxFree().
Implements mxArray_base.
Reimplemented in mxArray_cell, mxArray_struct, mxArray_sparse, and mxArray_number.
Definition at line 817 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 877 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse, and mxArray_number.
Definition at line 822 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 845 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 850 of file mex.cc.
References invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 855 of file mex.cc.
References invalid_type_error().
|
private |
Definition at line 969 of file mex.cc.
Referenced by set_class_name(), and ~mxArray_matlab().
|
private |
Definition at line 974 of file mex.cc.
Referenced by calc_single_subscript(), get_dimensions(), get_m(), get_n(), get_number_of_elements(), mxArray_matlab(), set_dimensions(), set_m(), set_n(), and ~mxArray_matlab().
|
private |
Definition at line 971 of file mex.cc.
Referenced by get_class_id().
|
private |
Definition at line 973 of file mex.cc.
Referenced by calc_single_subscript(), get_n(), get_number_of_dimensions(), get_number_of_elements(), mxArray_matlab(), and set_dimensions().