GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mex.h File Reference
#include "octave-config.h"
#include "mexproto.h"

Go to the source code of this file.

Macros

#define HAVE_OCTAVE
 
#define INT16_T   int16_t
 
#define int16_T   int16_t
 
#define INT32_T   int32_t
 
#define int32_T   int32_t
 
#define INT64_T   int64_t
 
#define int64_T   int64_t
 
#define INT8_T   int8_t
 
#define int8_T   int8_t
 
#define mexGetArray(nm, space)   mexGetVariable (space, nm)
 
#define mexGetArrayPtr(nm, space)   mexGetVariablePtr (space, nm)
 
#define mexGetEps   mxGetEps
 
#define mexGetGlobal(nm)   mexGetArray (nm, "global")
 
#define mexGetInf   mxGetInf
 
#define mexGetMatrix(nm)   mexGetArray (nm, "caller")
 
#define mexGetMatrixPtr(nm)   mexGetArrayPtr (nm, "caller")
 
#define mexGetNaN   mxGetNaN
 
#define mexIsFinite   mxIsFinite
 
#define mexIsInf   mxIsInf
 
#define mexIsNaN   mxIsNaN
 
#define mexPutArray(ptr, space)   mexPutVariable (space, "", ptr)
 
#define mexPutMatrix(ptr)   mexPutVariable ("caller", "", ptr)
 
#define mxCreateFull   mxCreateDoubleMatrix
 
#define mxCreateScalarDouble   mxCreateDoubleScalar
 
#define mxFreeMatrix   mxDestroyArray
 
#define mxIsString   mxIsChar
 
#define mxMAXNAME   64
 
#define UINT16_T   uint16_t
 
#define uint16_T   uint16_t
 
#define UINT32_T   uint32_t
 
#define uint32_T   uint32_t
 
#define UINT64_T   uint64_t
 
#define uint64_T   uint64_t
 
#define UINT8_T   uint8_t
 
#define uint8_T   uint8_t
 

Typedefs

typedef void mxArray
 

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 

Macro Definition Documentation

◆ HAVE_OCTAVE

#define HAVE_OCTAVE

Definition at line 56 of file mex.h.

◆ INT16_T

#define INT16_T   int16_t

Definition at line 149 of file mex.h.

◆ int16_T

#define int16_T   int16_t

Definition at line 153 of file mex.h.

◆ INT32_T

#define INT32_T   int32_t

Definition at line 133 of file mex.h.

◆ int32_T

#define int32_T   int32_t

Definition at line 137 of file mex.h.

◆ INT64_T

#define INT64_T   int64_t

Definition at line 117 of file mex.h.

◆ int64_T

#define int64_T   int64_t

Definition at line 121 of file mex.h.

◆ INT8_T

#define INT8_T   int8_t

Definition at line 165 of file mex.h.

◆ int8_T

#define int8_T   int8_t

Definition at line 169 of file mex.h.

◆ mexGetArray

#define mexGetArray (   nm,
  space 
)    mexGetVariable (space, nm)

Definition at line 92 of file mex.h.

◆ mexGetArrayPtr

#define mexGetArrayPtr (   nm,
  space 
)    mexGetVariablePtr (space, nm)

Definition at line 93 of file mex.h.

◆ mexGetEps

#define mexGetEps   mxGetEps

Definition at line 84 of file mex.h.

◆ mexGetGlobal

#define mexGetGlobal (   nm)    mexGetArray (nm, "global")

Definition at line 88 of file mex.h.

◆ mexGetInf

#define mexGetInf   mxGetInf

Definition at line 85 of file mex.h.

◆ mexGetMatrix

#define mexGetMatrix (   nm)    mexGetArray (nm, "caller")

Definition at line 89 of file mex.h.

◆ mexGetMatrixPtr

#define mexGetMatrixPtr (   nm)    mexGetArrayPtr (nm, "caller")

Definition at line 90 of file mex.h.

◆ mexGetNaN

#define mexGetNaN   mxGetNaN

Definition at line 86 of file mex.h.

◆ mexIsFinite

#define mexIsFinite   mxIsFinite

Definition at line 82 of file mex.h.

◆ mexIsInf

#define mexIsInf   mxIsInf

Definition at line 83 of file mex.h.

◆ mexIsNaN

#define mexIsNaN   mxIsNaN

Definition at line 81 of file mex.h.

◆ mexPutArray

#define mexPutArray (   ptr,
  space 
)    mexPutVariable (space, "", ptr)

Definition at line 96 of file mex.h.

◆ mexPutMatrix

#define mexPutMatrix (   ptr)    mexPutVariable ("caller", "", ptr)

Definition at line 95 of file mex.h.

◆ mxCreateFull

#define mxCreateFull   mxCreateDoubleMatrix

Definition at line 98 of file mex.h.

◆ mxCreateScalarDouble

#define mxCreateScalarDouble   mxCreateDoubleScalar

Definition at line 100 of file mex.h.

◆ mxFreeMatrix

#define mxFreeMatrix   mxDestroyArray

Definition at line 102 of file mex.h.

◆ mxIsString

#define mxIsString   mxIsChar

Definition at line 104 of file mex.h.

◆ mxMAXNAME

#define mxMAXNAME   64

Definition at line 66 of file mex.h.

◆ UINT16_T

#define UINT16_T   uint16_t

Definition at line 141 of file mex.h.

◆ uint16_T

#define uint16_T   uint16_t

Definition at line 145 of file mex.h.

◆ UINT32_T

#define UINT32_T   uint32_t

Definition at line 125 of file mex.h.

◆ uint32_T

#define uint32_T   uint32_t

Definition at line 129 of file mex.h.

◆ UINT64_T

#define UINT64_T   uint64_t

Definition at line 109 of file mex.h.

◆ uint64_T

#define uint64_T   uint64_t

Definition at line 113 of file mex.h.

◆ UINT8_T

#define UINT8_T   uint8_t

Definition at line 157 of file mex.h.

◆ uint8_T

#define uint8_T   uint8_t

Definition at line 161 of file mex.h.

Typedef Documentation

◆ mxArray

typedef void mxArray

Definition at line 58 of file mex.h.

Function Documentation

◆ mexFunction()

void mexFunction ( int  nlhs,
mxArray plhs[],
int  nrhs,
const mxArray prhs[] 
)