GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mxarray.in.h File Reference
#include "octave-config.h"
#include <cstring>
#include "error.h"
Include dependency graph for mxarray.in.h:

Go to the source code of this file.

Classes

class  mxArray
 
class  mxArray_base
 

Macros

#define DO_MUTABLE_METHOD(RET_T, METHOD_CALL)
 
#define DO_VOID_MUTABLE_METHOD(METHOD_CALL)
 

Typedefs

typedef OCTAVE_IDX_TYPE mwIndex
 
typedef OCTAVE_IDX_TYPE mwSignedIndex
 
typedef OCTAVE_IDX_TYPE mwSize
 
typedef char mxChar
 
typedef unsigned char mxLogical
 

Enumerations

enum  mxClassID {
  mxUNKNOWN_CLASS = 0, mxCELL_CLASS, mxSTRUCT_CLASS, mxLOGICAL_CLASS,
  mxCHAR_CLASS, mxVOID_CLASS, mxDOUBLE_CLASS, mxSINGLE_CLASS,
  mxINT8_CLASS, mxUINT8_CLASS, mxINT16_CLASS, mxUINT16_CLASS,
  mxINT32_CLASS, mxUINT32_CLASS, mxINT64_CLASS, mxUINT64_CLASS,
  mxFUNCTION_CLASS
}
 
enum  mxComplexity { mxREAL = 0, mxCOMPLEX = 1 }
 

Macro Definition Documentation

◆ DO_MUTABLE_METHOD

#define DO_MUTABLE_METHOD (   RET_T,
  METHOD_CALL 
)
Value:
RET_T retval = rep->METHOD_CALL; \
if (rep->mutation_needed ()) \
{ \
maybe_mutate (); \
retval = rep->METHOD_CALL; \
} \
\
return retval
if(nargin< 2) print_usage()
Definition: cellfun.cc:407
octave_value retval
Definition: data.cc:6246

Definition at line 105 of file mxarray.in.h.

Referenced by mxArray::add_field(), mxArray::get_cell(), mxArray::get_data(), mxArray::get_field_by_number(), mxArray::get_field_name_by_number(), mxArray::get_field_number(), mxArray::get_imag_data(), mxArray::get_ir(), mxArray::get_jc(), and mxArray::set_dimensions().

◆ DO_VOID_MUTABLE_METHOD

#define DO_VOID_MUTABLE_METHOD (   METHOD_CALL)
Value:
rep->METHOD_CALL; \
if (rep->mutation_needed ()) \
{ \
maybe_mutate (); \
rep->METHOD_CALL; \
}
if(nargin< 2) print_usage()
Definition: cellfun.cc:407

Definition at line 116 of file mxarray.in.h.

Referenced by mxArray::remove_field(), mxArray::set_cell(), mxArray::set_class_name(), mxArray::set_data(), mxArray::set_field_by_number(), mxArray::set_imag_data(), mxArray::set_ir(), mxArray::set_jc(), mxArray::set_m(), mxArray::set_n(), and mxArray::set_nzmax().

Typedef Documentation

◆ mwIndex

typedef OCTAVE_IDX_TYPE mwIndex

Definition at line 94 of file mxarray.in.h.

◆ mwSignedIndex

typedef OCTAVE_IDX_TYPE mwSignedIndex

Definition at line 95 of file mxarray.in.h.

◆ mwSize

typedef OCTAVE_IDX_TYPE mwSize

Definition at line 93 of file mxarray.in.h.

◆ mxChar

typedef char mxChar

Definition at line 83 of file mxarray.in.h.

◆ mxLogical

typedef unsigned char mxLogical

Definition at line 85 of file mxarray.in.h.

Enumeration Type Documentation

◆ mxClassID

enum mxClassID
Enumerator
mxUNKNOWN_CLASS 
mxCELL_CLASS 
mxSTRUCT_CLASS 
mxLOGICAL_CLASS 
mxCHAR_CLASS 
mxVOID_CLASS 
mxDOUBLE_CLASS 
mxSINGLE_CLASS 
mxINT8_CLASS 
mxUINT8_CLASS 
mxINT16_CLASS 
mxUINT16_CLASS 
mxINT32_CLASS 
mxUINT32_CLASS 
mxINT64_CLASS 
mxUINT64_CLASS 
mxFUNCTION_CLASS 

Definition at line 52 of file mxarray.in.h.

◆ mxComplexity

Enumerator
mxREAL 
mxCOMPLEX 

Definition at line 74 of file mxarray.in.h.