GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mxArray Class Reference

#include "mxarray.h"

Public Member Functions

 mxArray (bool interleaved, const char *str)
 
 mxArray (bool interleaved, const dim_vector &dv)
 
 mxArray (bool interleaved, const dim_vector &dv, int num_keys, const char **keys)
 
 mxArray (bool interleaved, const octave_value &ov)
 
 mxArray (bool interleaved, mwSize m, const char **str)
 
 mxArray (bool interleaved, mwSize m, mwSize n)
 
 mxArray (bool interleaved, mwSize m, mwSize n, int num_keys, const char **keys)
 
 mxArray (bool interleaved, mwSize ndims, const mwSize *dims)
 
 mxArray (bool interleaved, mwSize ndims, const mwSize *dims, int num_keys, const char **keys)
 
 mxArray (bool interleaved, mxClassID id, const dim_vector &dv, mxComplexity flag=mxREAL)
 
 mxArray (bool interleaved, mxClassID id, double val)
 
 mxArray (bool interleaved, mxClassID id, mwSize m, mwSize n, mwSize nzmax, mxComplexity flag=mxREAL)
 
 mxArray (bool interleaved, mxClassID id, mwSize m, mwSize n, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray (bool interleaved, mxClassID id, mwSize ndims, const mwSize *dims, mxComplexity flag=mxREAL, bool init=true)
 
 mxArray (bool interleaved, mxClassID id, mxLogical val)
 
 ~mxArray ()
 
int add_field (const char *key)
 
char * array_to_string () const
 
octave_value as_octave_value () const
 
mwIndex calc_single_subscript (mwSize nsubs, mwIndex *subs) const
 
mxArraydup () const
 
mxArrayget_cell (mwIndex idx) const
 
mxClassID get_class_id () const
 
const char * get_class_name () const
 
mxComplexDoubleget_complex_doubles () const
 
mxComplexSingleget_complex_singles () const
 
void * get_data () const
 
mwSizeget_dimensions () const
 
mxDoubleget_doubles () const
 
std::size_t get_element_size () const
 
mxArrayget_field_by_number (mwIndex index, int key_num) const
 
const char * get_field_name_by_number (int key_num) const
 
int get_field_number (const char *key) const
 
void * get_imag_data () const
 
mxInt16get_int16s () const
 
mxInt32get_int32s () const
 
mxInt64get_int64s () const
 
mxInt8get_int8s () const
 
mwIndexget_ir () const
 
mwIndexget_jc () const
 
mwSize get_m () const
 
mwSize get_n () const
 
const char * get_name () const
 
mwSize get_number_of_dimensions () const
 
mwSize get_number_of_elements () const
 
int get_number_of_fields () const
 
mwSize get_nzmax () const
 
mxArrayget_property (mwIndex idx, const char *pname) const
 
double get_scalar () const
 
mxSingleget_singles () const
 
int get_string (char *buf, mwSize buflen) const
 
mxUint16get_uint16s () const
 
mxUint32get_uint32s () const
 
mxUint64get_uint64s () const
 
mxUint8get_uint8s () const
 
int is_char () const
 
int is_class (const char *name_arg) const
 
int is_complex () const
 
int is_double () const
 
int is_function_handle () const
 
int is_int16 () const
 
int is_int32 () const
 
int is_int64 () const
 
int is_int8 () const
 
int is_logical () const
 
int is_logical_scalar () const
 
int is_logical_scalar_true () const
 
int is_numeric () const
 
bool is_octave_value () const
 
bool is_scalar () const
 
int is_single () const
 
int is_sparse () const
 
int is_struct () const
 
int is_uint16 () const
 
int is_uint32 () const
 
int is_uint64 () const
 
int is_uint8 () const
 
int iscell () const
 
int isempty () const
 
mxArraymutate () const
 
bool mutation_needed () const
 
void remove_field (int key_num)
 
void set_cell (mwIndex idx, mxArray *val)
 
void set_class_name (const char *name_arg)
 
int set_complex_doubles (mxComplexDouble *data)
 
int set_complex_singles (mxComplexSingle *data)
 
void set_data (void *pr)
 
int set_dimensions (mwSize *dims_arg, mwSize ndims_arg)
 
int set_doubles (mxDouble *data)
 
void set_field_by_number (mwIndex index, int key_num, mxArray *val)
 
void set_imag_data (void *pi)
 
int set_int16s (mxInt16 *data)
 
int set_int32s (mxInt32 *data)
 
int set_int64s (mxInt64 *data)
 
int set_int8s (mxInt8 *data)
 
void set_ir (mwIndex *ir)
 
void set_jc (mwIndex *jc)
 
void set_m (mwSize m)
 
void set_n (mwSize n)
 
void set_name (const char *name)
 
void set_nzmax (mwSize nzmax)
 
void set_property (mwIndex idx, const char *pname, const mxArray *pval)
 
int set_singles (mxSingle *data)
 
int set_uint16s (mxUint16 *data)
 
int set_uint32s (mxUint32 *data)
 
int set_uint64s (mxUint64 *data)
 
int set_uint8s (mxUint8 *data)
 

Static Public Member Functions

static void * alloc (bool init, std::size_t n, std::size_t t)
 
static octave_value as_octave_value (const mxArray *ptr, bool null_is_empty=true)
 
static void * calloc (std::size_t n, std::size_t t)
 
static void * malloc (std::size_t n)
 
static char * strsave (const char *str)
 

Detailed Description

Definition at line 318 of file mxarray.h.

Constructor & Destructor Documentation

◆ mxArray() [1/15]

mxArray::mxArray ( bool  interleaved,
const octave_value ov 
)

Definition at line 2949 of file mex.cc.

Referenced by dup().

◆ mxArray() [2/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mwSize  ndims,
const mwSize dims,
mxComplexity  flag = mxREAL,
bool  init = true 
)

Definition at line 2953 of file mex.cc.

◆ mxArray() [3/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
const dim_vector dv,
mxComplexity  flag = mxREAL 
)

Definition at line 2959 of file mex.cc.

◆ mxArray() [4/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mwSize  m,
mwSize  n,
mxComplexity  flag = mxREAL,
bool  init = true 
)

Definition at line 2964 of file mex.cc.

◆ mxArray() [5/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
double  val 
)

Definition at line 2969 of file mex.cc.

◆ mxArray() [6/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mxLogical  val 
)

Definition at line 2973 of file mex.cc.

◆ mxArray() [7/15]

mxArray::mxArray ( bool  interleaved,
const char *  str 
)

Definition at line 2977 of file mex.cc.

◆ mxArray() [8/15]

mxArray::mxArray ( bool  interleaved,
mwSize  m,
const char **  str 
)

Definition at line 2981 of file mex.cc.

◆ mxArray() [9/15]

mxArray::mxArray ( bool  interleaved,
mxClassID  id,
mwSize  m,
mwSize  n,
mwSize  nzmax,
mxComplexity  flag = mxREAL 
)

Definition at line 2985 of file mex.cc.

◆ mxArray() [10/15]

mxArray::mxArray ( bool  interleaved,
mwSize  ndims,
const mwSize dims,
int  num_keys,
const char **  keys 
)

Definition at line 2990 of file mex.cc.

◆ mxArray() [11/15]

mxArray::mxArray ( bool  interleaved,
const dim_vector dv,
int  num_keys,
const char **  keys 
)

Definition at line 2997 of file mex.cc.

◆ mxArray() [12/15]

mxArray::mxArray ( bool  interleaved,
mwSize  m,
mwSize  n,
int  num_keys,
const char **  keys 
)

Definition at line 3003 of file mex.cc.

◆ mxArray() [13/15]

mxArray::mxArray ( bool  interleaved,
mwSize  ndims,
const mwSize dims 
)

Definition at line 3009 of file mex.cc.

◆ mxArray() [14/15]

mxArray::mxArray ( bool  interleaved,
const dim_vector dv 
)

Definition at line 3013 of file mex.cc.

◆ mxArray() [15/15]

mxArray::mxArray ( bool  interleaved,
mwSize  m,
mwSize  n 
)

Definition at line 3017 of file mex.cc.

◆ ~mxArray()

mxArray::~mxArray ( void  )

Definition at line 3021 of file mex.cc.

References mxFree().

Member Function Documentation

◆ add_field()

int mxArray::add_field ( const char *  key)
inline

Definition at line 566 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxAddField().

◆ alloc()

void * mxArray::alloc ( bool  init,
std::size_t  n,
std::size_t  t 
)
static

Definition at line 3491 of file mex.cc.

References calloc(), malloc(), and n.

◆ array_to_string()

char* mxArray::array_to_string ( void  ) const
inline

Definition at line 589 of file mxarray.h.

References mxArray_base::array_to_string().

Referenced by mxArrayToString().

◆ as_octave_value() [1/2]

octave_value mxArray::as_octave_value ( void  ) const

Definition at line 3046 of file mex.cc.

References mxArray_base::as_octave_value().

Referenced by call_mex(), mexPutVariable(), and mexSet().

◆ as_octave_value() [2/2]

octave_value mxArray::as_octave_value ( const mxArray ptr,
bool  null_is_empty = true 
)
static

Definition at line 3036 of file mex.cc.

References as_octave_value().

Referenced by as_octave_value().

◆ calc_single_subscript()

mwIndex mxArray::calc_single_subscript ( mwSize  nsubs,
mwIndex subs 
) const
inline

Definition at line 591 of file mxarray.h.

References mxArray_base::calc_single_subscript().

Referenced by mxCalcSingleSubscript().

◆ calloc()

void * mxArray::calloc ( std::size_t  n,
std::size_t  t 
)
static

Definition at line 3485 of file mex.cc.

References mex_context, and n.

Referenced by alloc().

◆ dup()

mxArray* mxArray::dup ( void  ) const
inline

Definition at line 360 of file mxarray.h.

References mxArray(), mxArray_base::as_mxArray(), mxArray_base::dup(), and set_name().

◆ get_cell()

mxArray* mxArray::get_cell ( mwIndex  idx) const
inline

Definition at line 465 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetCell().

◆ get_class_id()

mxClassID mxArray::get_class_id ( void  ) const
inline

Definition at line 452 of file mxarray.h.

References mxArray_base::get_class_id().

Referenced by mxGetClassID().

◆ get_class_name()

const char* mxArray::get_class_name ( void  ) const
inline

Definition at line 454 of file mxarray.h.

References mxArray_base::get_class_name().

Referenced by mxGetClassName().

◆ get_complex_doubles()

mxComplexDouble* mxArray::get_complex_doubles ( void  ) const
inline

Definition at line 505 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by octave_complex::as_mxArray(), and mxGetComplexDoubles().

◆ get_complex_singles()

mxComplexSingle* mxArray::get_complex_singles ( void  ) const
inline

Definition at line 508 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetComplexSingles().

◆ get_data()

◆ get_dimensions()

mwSize* mxArray::get_dimensions ( void  ) const
inline

Definition at line 429 of file mxarray.h.

References mxArray_base::get_dimensions().

Referenced by mxGetDimensions().

◆ get_doubles()

mxDouble* mxArray::get_doubles ( void  ) const
inline

Definition at line 475 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetDoubles().

◆ get_element_size()

std::size_t mxArray::get_element_size ( void  ) const
inline

Definition at line 594 of file mxarray.h.

References mxArray_base::get_element_size().

Referenced by mxGetElementSize().

◆ get_field_by_number()

mxArray* mxArray::get_field_by_number ( mwIndex  index,
int  key_num 
) const
inline

Definition at line 571 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetFieldByNumber().

◆ get_field_name_by_number()

const char* mxArray::get_field_name_by_number ( int  key_num) const
inline

Definition at line 580 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetFieldNameByNumber().

◆ get_field_number()

int mxArray::get_field_number ( const char *  key) const
inline

Definition at line 583 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetFieldNumber().

◆ get_imag_data()

void* mxArray::get_imag_data ( void  ) const
inline

Definition at line 511 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetImagData(), and mxGetPi().

◆ get_int16s()

mxInt16* mxArray::get_int16s ( void  ) const
inline

Definition at line 484 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetInt16s().

◆ get_int32s()

mxInt32* mxArray::get_int32s ( void  ) const
inline

Definition at line 487 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetInt32s().

◆ get_int64s()

mxInt64* mxArray::get_int64s ( void  ) const
inline

Definition at line 490 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetInt64s().

◆ get_int8s()

mxInt8* mxArray::get_int8s ( void  ) const
inline

Definition at line 481 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetInt8s().

◆ get_ir()

mwIndex* mxArray::get_ir ( void  ) const
inline

◆ get_jc()

mwIndex* mxArray::get_jc ( void  ) const
inline

◆ get_m()

mwSize mxArray::get_m ( void  ) const
inline

Definition at line 425 of file mxarray.h.

References mxArray_base::get_m().

Referenced by mxGetM().

◆ get_n()

mwSize mxArray::get_n ( void  ) const
inline

Definition at line 427 of file mxarray.h.

References mxArray_base::get_n().

Referenced by mxGetN().

◆ get_name()

const char* mxArray::get_name ( ) const
inline

Definition at line 448 of file mxarray.h.

Referenced by mexPutVariable().

◆ get_number_of_dimensions()

mwSize mxArray::get_number_of_dimensions ( void  ) const
inline

Definition at line 431 of file mxarray.h.

References mxArray_base::get_number_of_dimensions().

Referenced by mxGetNumberOfDimensions().

◆ get_number_of_elements()

mwSize mxArray::get_number_of_elements ( void  ) const
inline

Definition at line 441 of file mxarray.h.

References mxArray_base::get_number_of_elements().

Referenced by isempty(), and mxGetNumberOfElements().

◆ get_number_of_fields()

int mxArray::get_number_of_fields ( void  ) const
inline

Definition at line 577 of file mxarray.h.

References mxArray_base::get_number_of_fields().

Referenced by mxGetNumberOfFields().

◆ get_nzmax()

mwSize mxArray::get_nzmax ( void  ) const
inline

Definition at line 558 of file mxarray.h.

References mxArray_base::get_nzmax().

Referenced by mxGetNzmax().

◆ get_property()

mxArray* mxArray::get_property ( mwIndex  idx,
const char *  pname 
) const
inline

Definition at line 456 of file mxarray.h.

References mxArray_base::get_property().

Referenced by mxGetProperty().

◆ get_scalar()

double mxArray::get_scalar ( void  ) const
inline

Definition at line 471 of file mxarray.h.

References mxArray_base::get_scalar().

Referenced by mxGetScalar().

◆ get_singles()

mxSingle* mxArray::get_singles ( void  ) const
inline

Definition at line 478 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetSingles().

◆ get_string()

int mxArray::get_string ( char *  buf,
mwSize  buflen 
) const
inline

Definition at line 586 of file mxarray.h.

References mxArray_base::get_string().

Referenced by mxGetString().

◆ get_uint16s()

mxUint16* mxArray::get_uint16s ( void  ) const
inline

Definition at line 496 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetUint16s().

◆ get_uint32s()

mxUint32* mxArray::get_uint32s ( void  ) const
inline

Definition at line 499 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetUint32s().

◆ get_uint64s()

mxUint64* mxArray::get_uint64s ( void  ) const
inline

Definition at line 502 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetUint64s().

◆ get_uint8s()

mxUint8* mxArray::get_uint8s ( void  ) const
inline

Definition at line 493 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxGetUint8s().

◆ is_char()

int mxArray::is_char ( void  ) const
inline

Definition at line 384 of file mxarray.h.

References mxArray_base::is_char().

Referenced by mxIsChar().

◆ is_class()

int mxArray::is_class ( const char *  name_arg) const
inline

Definition at line 386 of file mxarray.h.

References mxArray_base::is_class().

Referenced by mxIsClass().

◆ is_complex()

int mxArray::is_complex ( void  ) const
inline

Definition at line 388 of file mxarray.h.

References mxArray_base::is_complex().

Referenced by mxIsComplex().

◆ is_double()

int mxArray::is_double ( void  ) const
inline

Definition at line 390 of file mxarray.h.

References mxArray_base::is_double().

Referenced by mxIsDouble().

◆ is_function_handle()

int mxArray::is_function_handle ( void  ) const
inline

Definition at line 392 of file mxarray.h.

References mxArray_base::is_function_handle().

Referenced by mxIsFunctionHandle().

◆ is_int16()

int mxArray::is_int16 ( void  ) const
inline

Definition at line 394 of file mxarray.h.

References mxArray_base::is_int16().

Referenced by mxIsInt16().

◆ is_int32()

int mxArray::is_int32 ( void  ) const
inline

Definition at line 396 of file mxarray.h.

References mxArray_base::is_int32().

Referenced by mxIsInt32().

◆ is_int64()

int mxArray::is_int64 ( void  ) const
inline

Definition at line 398 of file mxarray.h.

References mxArray_base::is_int64().

Referenced by mxIsInt64().

◆ is_int8()

int mxArray::is_int8 ( void  ) const
inline

Definition at line 400 of file mxarray.h.

References mxArray_base::is_int8().

Referenced by mxIsInt8().

◆ is_logical()

int mxArray::is_logical ( void  ) const
inline

Definition at line 402 of file mxarray.h.

References mxArray_base::is_logical().

Referenced by mxIsLogical().

◆ is_logical_scalar()

int mxArray::is_logical_scalar ( ) const
inline

Definition at line 420 of file mxarray.h.

References mxArray_base::is_logical_scalar().

Referenced by mxIsLogicalScalar().

◆ is_logical_scalar_true()

int mxArray::is_logical_scalar_true ( void  ) const
inline

Definition at line 422 of file mxarray.h.

References mxArray_base::is_logical_scalar_true().

Referenced by mxIsLogicalScalarTrue().

◆ is_numeric()

int mxArray::is_numeric ( void  ) const
inline

Definition at line 404 of file mxarray.h.

References mxArray_base::is_numeric().

Referenced by mxIsNumeric().

◆ is_octave_value()

bool mxArray::is_octave_value ( void  ) const
inline

Definition at line 380 of file mxarray.h.

References mxArray_base::is_octave_value().

◆ is_scalar()

bool mxArray::is_scalar ( void  ) const
inline

Definition at line 446 of file mxarray.h.

References mxArray_base::is_scalar().

Referenced by mxIsScalar().

◆ is_single()

int mxArray::is_single ( void  ) const
inline

Definition at line 406 of file mxarray.h.

References mxArray_base::is_single().

Referenced by mxIsSingle().

◆ is_sparse()

int mxArray::is_sparse ( void  ) const
inline

Definition at line 408 of file mxarray.h.

References mxArray_base::is_sparse().

Referenced by mxIsSparse().

◆ is_struct()

int mxArray::is_struct ( void  ) const
inline

Definition at line 410 of file mxarray.h.

References mxArray_base::is_struct().

Referenced by mxIsStruct().

◆ is_uint16()

int mxArray::is_uint16 ( void  ) const
inline

Definition at line 412 of file mxarray.h.

References mxArray_base::is_uint16().

Referenced by mxIsUint16().

◆ is_uint32()

int mxArray::is_uint32 ( void  ) const
inline

Definition at line 414 of file mxarray.h.

References mxArray_base::is_uint32().

Referenced by mxIsUint32().

◆ is_uint64()

int mxArray::is_uint64 ( void  ) const
inline

Definition at line 416 of file mxarray.h.

References mxArray_base::is_uint64().

Referenced by mxIsUint64().

◆ is_uint8()

int mxArray::is_uint8 ( void  ) const
inline

Definition at line 418 of file mxarray.h.

References mxArray_base::is_uint8().

Referenced by mxIsUint8().

◆ iscell()

int mxArray::iscell ( void  ) const
inline

Definition at line 382 of file mxarray.h.

References mxArray_base::iscell().

Referenced by mxIsCell().

◆ isempty()

int mxArray::isempty ( void  ) const
inline

Definition at line 444 of file mxarray.h.

References get_number_of_elements().

Referenced by mxIsEmpty().

◆ malloc()

void * mxArray::malloc ( std::size_t  n)
static

Definition at line 3479 of file mex.cc.

References mex_context, and n.

Referenced by alloc(), and strsave().

◆ mutate()

mxArray* mxArray::mutate ( void  ) const
inline

Definition at line 599 of file mxarray.h.

References mxArray_base::mutate().

◆ mutation_needed()

bool mxArray::mutation_needed ( void  ) const
inline

Definition at line 597 of file mxarray.h.

References mxArray_base::mutation_needed().

◆ remove_field()

void mxArray::remove_field ( int  key_num)
inline

Definition at line 568 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxRemoveField().

◆ set_cell()

void mxArray::set_cell ( mwIndex  idx,
mxArray val 
)
inline

Definition at line 468 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetCell().

◆ set_class_name()

void mxArray::set_class_name ( const char *  name_arg)
inline

Definition at line 462 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetClassName().

◆ set_complex_doubles()

int mxArray::set_complex_doubles ( mxComplexDouble data)
inline

Definition at line 546 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetComplexDoubles().

◆ set_complex_singles()

int mxArray::set_complex_singles ( mxComplexSingle data)
inline

Definition at line 549 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetComplexSingles().

◆ set_data()

void mxArray::set_data ( void *  pr)
inline

Definition at line 514 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetData(), and mxSetPr().

◆ set_dimensions()

int mxArray::set_dimensions ( mwSize dims_arg,
mwSize  ndims_arg 
)
inline

Definition at line 438 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetDimensions().

◆ set_doubles()

int mxArray::set_doubles ( mxDouble data)
inline

Definition at line 516 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetDoubles().

◆ set_field_by_number()

void mxArray::set_field_by_number ( mwIndex  index,
int  key_num,
mxArray val 
)
inline

Definition at line 574 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetFieldByNumber().

◆ set_imag_data()

void mxArray::set_imag_data ( void *  pi)
inline

Definition at line 552 of file mxarray.h.

◆ set_int16s()

int mxArray::set_int16s ( mxInt16 data)
inline

Definition at line 525 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetInt16s().

◆ set_int32s()

int mxArray::set_int32s ( mxInt32 data)
inline

Definition at line 528 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetInt32s().

◆ set_int64s()

int mxArray::set_int64s ( mxInt64 data)
inline

Definition at line 531 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetInt64s().

◆ set_int8s()

int mxArray::set_int8s ( mxInt8 data)
inline

Definition at line 522 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetInt8s().

◆ set_ir()

void mxArray::set_ir ( mwIndex ir)
inline

Definition at line 560 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetIr().

◆ set_jc()

void mxArray::set_jc ( mwIndex jc)
inline

Definition at line 562 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetJc().

◆ set_m()

void mxArray::set_m ( mwSize  m)
inline

Definition at line 434 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and m.

Referenced by mxSetM().

◆ set_n()

void mxArray::set_n ( mwSize  n)
inline

Definition at line 436 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD, and n.

Referenced by mxSetN().

◆ set_name()

void mxArray::set_name ( const char *  name)

Definition at line 3029 of file mex.cc.

References mxFree(), and strsave().

Referenced by dup(), and mexGetVariable().

◆ set_nzmax()

void mxArray::set_nzmax ( mwSize  nzmax)
inline

Definition at line 564 of file mxarray.h.

References DO_VOID_MUTABLE_METHOD.

Referenced by mxSetNzmax().

◆ set_property()

void mxArray::set_property ( mwIndex  idx,
const char *  pname,
const mxArray pval 
)
inline

Definition at line 459 of file mxarray.h.

References mxArray_base::set_property().

Referenced by mxSetProperty().

◆ set_singles()

int mxArray::set_singles ( mxSingle data)
inline

Definition at line 519 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetSingles().

◆ set_uint16s()

int mxArray::set_uint16s ( mxUint16 data)
inline

Definition at line 537 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetUint16s().

◆ set_uint32s()

int mxArray::set_uint32s ( mxUint32 data)
inline

Definition at line 540 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetUint32s().

◆ set_uint64s()

int mxArray::set_uint64s ( mxUint64 data)
inline

Definition at line 543 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetUint64s().

◆ set_uint8s()

int mxArray::set_uint8s ( mxUint8 data)
inline

Definition at line 534 of file mxarray.h.

References DO_MUTABLE_METHOD.

Referenced by mxSetUint8s().

◆ strsave()

static char* mxArray::strsave ( const char *  str)
inlinestatic

Definition at line 607 of file mxarray.h.

References malloc(), and strlen().

Referenced by set_name().


The documentation for this class was generated from the following files: