GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Protected Member Functions | |
mxArray_number (const mxArray_number &val) | |
dim_vector | dims_to_dim_vector (void) const |
void | error (const char *msg) const |
void | error (const char *msg) const |
template<typename ELT_T , typename ARRAY_T , typename ARRAY_ELT_T > | |
octave_value | int_to_ov (const dim_vector &dv) const |
Private Member Functions | |
mxArray_number & | operator= (const mxArray_number &) |
Private Attributes | |
void * | pi |
void * | pr |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1035 of file mex.cc.
References mxArray_matlab::get_number_of_elements(), and pr.
Definition at line 1049 of file mex.cc.
References mxArray_matlab::get_dimensions(), and pr.
|
inline |
|
inlineprotected |
Definition at line 1363 of file mex.cc.
References mxArray_matlab::get_element_size(), mxArray_matlab::get_number_of_elements(), pi, and pr.
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 860 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtual |
Reimplemented from mxArray_matlab.
Definition at line 1179 of file mex.cc.
References mxArray_matlab::get_number_of_elements(), mxArray::malloc(), and pr.
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.h.
Referenced by mxArray::dup().
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 134 of file mxarray.in.h.
|
inlinevirtual |
Implements mxArray_base.
Definition at line 1200 of file mex.cc.
References mxArray_matlab::dims_to_dim_vector(), Array< T >::fortran_vec(), mxArray_matlab::get_class_id(), mxArray_matlab::get_number_of_elements(), mxCHAR_CLASS, mxDOUBLE_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxLOGICAL_CLASS, mxSINGLE_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, mxUINT8_CLASS, panic_impossible, pi, and pr.
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 912 of file mex.cc.
References calc_single_subscript_internal(), mxArray_matlab::dims, and mxArray_matlab::ndims.
|
inlineprotectedinherited |
Definition at line 952 of file mex.cc.
References d, mxArray_matlab::get_dimensions(), mxArray_matlab::get_number_of_dimensions(), and dim_vector::resize().
Referenced by as_octave_value(), mxArray_sparse::as_octave_value(), mxArray_struct::as_octave_value(), and mxArray_cell::as_octave_value().
|
inlinevirtual |
|
protectedinherited |
Definition at line 108 of file mex.cc.
Referenced by mxArray_sparse::as_octave_value(), int_to_ov(), mxArray_base::invalid_type_error(), and mxArray_matlab::invalid_type_error().
|
protectedinherited |
Reimplemented from mxArray_base.
Reimplemented in mxArray_cell.
Definition at line 788 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 756 of file mex.cc.
References mxArray_matlab::id.
Referenced by as_octave_value(), mxArray_sparse::as_octave_value(), and get_scalar().
|
inlinevirtualinherited |
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.
|
inlinevirtual |
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 730 of file mex.cc.
References mxArray_matlab::dims.
Referenced by mxArray_matlab::dims_to_dim_vector(), and mxArray_number().
|
inlinevirtualinherited |
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(), and mxArray_sparse::mxArray_sparse().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 871 of file mex.cc.
References mxArray_matlab::invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 889 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtual |
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 827 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 833 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 718 of file mex.cc.
References mxArray_matlab::dims.
Referenced by mxArray_sparse::as_octave_value().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 720 of file mex.cc.
References mxArray_matlab::dims, and mxArray_matlab::ndims.
Referenced by mxArray_sparse::as_octave_value(), and mxArray_sparse::mxArray_sparse().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 732 of file mex.cc.
References mxArray_matlab::ndims.
Referenced by mxArray_matlab::dims_to_dim_vector().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 744 of file mex.cc.
References mxArray_matlab::dims, and mxArray_matlab::ndims.
Referenced by mxArray_struct::add_field(), array_to_string(), as_octave_value(), mxArray_struct::as_octave_value(), mxArray_cell::as_octave_value(), mxArray_cell::get_cell(), get_string(), int_to_ov(), mxArray_matlab::is_empty(), mxArray_cell::mxArray_cell(), mxArray_number(), mxArray_struct::mxArray_struct(), mxArray_struct::remove_field(), mxArray_cell::set_cell(), mxArray_cell::~mxArray_cell(), and mxArray_struct::~mxArray_struct().
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 883 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 839 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtual |
Reimplemented from mxArray_matlab.
Definition at line 1084 of file mex.cc.
References mxArray_matlab::get_class_id(), mxCHAR_CLASS, mxDOUBLE_CLASS, mxINT16_CLASS, mxINT32_CLASS, mxINT64_CLASS, mxINT8_CLASS, mxLOGICAL_CLASS, mxSINGLE_CLASS, mxUINT16_CLASS, mxUINT32_CLASS, mxUINT64_CLASS, mxUINT8_CLASS, panic_impossible, and pr.
Reimplemented from mxArray_matlab.
Definition at line 1153 of file mex.cc.
References mxArray_matlab::get_number_of_elements(), and pr.
|
inlineprotected |
Definition at line 1338 of file mex.cc.
References mxArray_base::error(), mxArray_matlab::get_number_of_elements(), pi, and pr.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
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 |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 754 of file mex.cc.
References mxArray_matlab::get_number_of_elements().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
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(), mxArray_octave_value::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().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 712 of file mex.cc.
References mxArray_matlab::get_data(), and mxArray_base::is_logical_scalar().
|
inlinevirtualinherited |
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.
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.h.
Referenced by mxArray::is_octave_value(), and mxArray::maybe_mutate().
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 138 of file mxarray.in.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.h.
Referenced by mxArray::maybe_mutate(), and mxArray::mutate().
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 274 of file mxarray.in.h.
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.h.
Referenced by mxArray::mutation_needed().
|
inlinevirtualinherited |
Reimplemented in mxArray_octave_value.
Definition at line 272 of file mxarray.in.h.
|
private |
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 866 of file mex.cc.
References mxArray_matlab::invalid_type_error().
Implements mxArray_base.
Reimplemented in mxArray_cell.
Definition at line 794 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Definition at line 781 of file mex.cc.
References mxArray_matlab::class_name, mxArray::malloc(), and mxFree().
|
inlinevirtual |
Implements mxArray_base.
Definition at line 738 of file mex.cc.
References mxArray_matlab::dims, and mxArray_matlab::ndims.
Implements mxArray_base.
Reimplemented in mxArray_struct.
Definition at line 877 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtual |
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 845 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 850 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
inlinevirtualinherited |
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Implements mxArray_base.
Reimplemented in mxArray_sparse.
Definition at line 855 of file mex.cc.
References mxArray_matlab::invalid_type_error().
|
private |
Definition at line 1382 of file mex.cc.
Referenced by as_octave_value(), get_imag_data(), int_to_ov(), is_complex(), mxArray_number(), set_imag_data(), and ~mxArray_number().
|
private |
Definition at line 1381 of file mex.cc.
Referenced by array_to_string(), as_octave_value(), get_data(), get_scalar(), get_string(), int_to_ov(), mxArray_number(), set_data(), and ~mxArray_number().