16 #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)) 20 #ifndef MATRIX_DEVELOPER_API_HPP 34 #define MATRIX_DLL_EXPORT_SYM __declspec(dllexport) 35 #define MATRIX_DLL_IMPORT_SYM __declspec(dllimport) 37 #define MATRIX_DLL_EXPORT_SYM __attribute__ ((visibility("default"))) 38 #define MATRIX_DLL_IMPORT_SYM __attribute__ ((visibility("default"))) 40 #define MATRIX_DLL_EXPORT_SYM 41 #define MATRIX_DLL_IMPORT_SYM 50 #if defined(BUILDING_PUBLISHED_API_CPP) 52 #define LIBMMWMATRIX_PUBLISHED_API MATRIX_DLL_EXPORT_SYM 54 #if defined(export_matrix_h) 56 #define LIBMMWMATRIX_PUBLISHED_API MATRIX_DLL_IMPORT_SYM 62 #ifdef LIBMMWMATRIX_PUBLISHED_API 63 #undef LIBMMWMATRIX_PUBLISHED_API 65 #define LIBMMWMATRIX_PUBLISHED_API 70 #define LIBMMWMATRIX_PUBLISHED_API_EXTERN_C extern "C" LIBMMWMATRIX_PUBLISHED_API 72 #define LIBMMWMATRIX_PUBLISHED_API_EXTERN_C extern LIBMMWMATRIX_PUBLISHED_API 79 #define MX_API_VER 0x07040000 87 #if !defined(MX_COMPAT_32) && !defined(BUILDING_PUBLISHED_API_CPP) && defined(__linux__) 94 #ifndef mxSetProperty_730 95 # define mxSetProperty_730 mxSetProperty 98 #ifndef mxGetProperty_730 99 # define mxGetProperty_730 mxGetProperty 102 #ifndef mxSetField_730 103 # define mxSetField_730 mxSetField 106 #ifndef mxSetFieldByNumber_730 107 # define mxSetFieldByNumber_730 mxSetFieldByNumber 110 #ifndef mxGetFieldByNumber_730 111 # define mxGetFieldByNumber_730 mxGetFieldByNumber 114 #ifndef mxGetField_730 115 # define mxGetField_730 mxGetField 118 #ifndef mxCreateStructMatrix_730 119 # define mxCreateStructMatrix_730 mxCreateStructMatrix 122 #ifndef mxCreateCellMatrix_730 123 # define mxCreateCellMatrix_730 mxCreateCellMatrix 126 #ifndef mxCreateCharMatrixFromStrings_730 127 # define mxCreateCharMatrixFromStrings_730 mxCreateCharMatrixFromStrings 130 #ifndef mxGetString_730 131 # define mxGetString_730 mxGetString 134 #ifndef mxGetNumberOfDimensions_730 135 # define mxGetNumberOfDimensions_730 mxGetNumberOfDimensions 138 #ifndef mxGetDimensions_730 139 # define mxGetDimensions_730 mxGetDimensions 142 #ifndef mxSetDimensions_730 143 # define mxSetDimensions_730 mxSetDimensions 147 # define mxSetIr_730 mxSetIr 151 # define mxGetIr_730 mxGetIr 155 # define mxSetJc_730 mxSetJc 159 # define mxGetJc_730 mxGetJc 162 #ifndef mxCreateStructArray_730 163 # define mxCreateStructArray_730 mxCreateStructArray 166 #ifndef mxCreateCharArray_730 167 # define mxCreateCharArray_730 mxCreateCharArray 170 #ifndef mxCreateNumericArray_730 171 # define mxCreateNumericArray_730 mxCreateNumericArray 174 #ifndef mxCreateCellArray_730 175 # define mxCreateCellArray_730 mxCreateCellArray 178 #ifndef mxCreateLogicalArray_730 179 # define mxCreateLogicalArray_730 mxCreateLogicalArray 182 #ifndef mxGetCell_730 183 # define mxGetCell_730 mxGetCell 186 #ifndef mxSetCell_730 187 # define mxSetCell_730 mxSetCell 190 #ifndef mxSetNzmax_730 191 # define mxSetNzmax_730 mxSetNzmax 195 # define mxSetN_730 mxSetN 199 # define mxSetM_730 mxSetM 202 #ifndef mxGetNzmax_730 203 # define mxGetNzmax_730 mxGetNzmax 206 #ifndef mxCreateDoubleMatrix_730 207 # define mxCreateDoubleMatrix_730 mxCreateDoubleMatrix 210 #ifndef mxCreateNumericMatrix_730 211 # define mxCreateNumericMatrix_730 mxCreateNumericMatrix 214 #ifndef mxCreateLogicalMatrix_730 215 # define mxCreateLogicalMatrix_730 mxCreateLogicalMatrix 218 #ifndef mxCreateSparse_730 219 # define mxCreateSparse_730 mxCreateSparse 222 #ifndef mxCreateSparseLogicalMatrix_730 223 # define mxCreateSparseLogicalMatrix_730 mxCreateSparseLogicalMatrix 226 #ifndef mxGetNChars_730 227 # define mxGetNChars_730 mxGetNChars 230 #ifndef mxCreateStringFromNChars_730 231 # define mxCreateStringFromNChars_730 mxCreateStringFromNChars 234 #ifndef mxCalcSingleSubscript_730 235 # define mxCalcSingleSubscript_730 mxCalcSingleSubscript 238 #ifndef mxGetDimensions_fcn_730 239 # define mxGetDimensions_fcn_730 mxGetDimensions 251 #ifndef MATHWORKS_MATRIX_DETAIL_PUBLISHED_FWD_DECLS_HPP 252 #define MATHWORKS_MATRIX_DETAIL_PUBLISHED_FWD_DECLS_HPP 274 #define mxMAXNAM TMW_NAME_LENGTH_MAX 310 #if defined(_LP64) || defined(_WIN64) 736 #pragma aux mxGetScalar value [8087]; 1340 #pragma aux mxGetEps value [8087]; 1341 #pragma aux mxGetInf value [8087]; 1342 #pragma aux mxGetNaN value [8087]; 1395 #ifdef MATLAB_MEX_FILE 1398 # define mxAssert(test, message) ( (test) ? (void) 0 : mexPrintAssertion(#test, __FILE__, __LINE__, message)) 1399 # define mxAssertS(test, message) ( (test) ? (void) 0 : mexPrintAssertion("", __FILE__, __LINE__, message)) 1401 # define mxAssert(test, message) ((void) 0) 1402 # define mxAssertS(test, message) ((void) 0) 1405 # include <assert.h> 1406 # define mxAssert(test, message) assert(test) 1407 # define mxAssertS(test, message) assert(test) 1414 #if !defined(BUILDING_PUBLISHED_API_CPP) && !defined(BUILDING_LIBMX) 1421 #if !defined(MX_COMPAT_32) && !defined(__linux__) 1428 #ifndef mxSetProperty 1429 # define mxSetProperty mxSetProperty_730 1431 #ifndef mxGetProperty 1432 # define mxGetProperty mxGetProperty_730 1435 # define mxSetField mxSetField_730 1437 #ifndef mxSetFieldByNumber 1438 # define mxSetFieldByNumber mxSetFieldByNumber_730 1440 #ifndef mxGetFieldByNumber 1441 # define mxGetFieldByNumber mxGetFieldByNumber_730 1444 # define mxGetField mxGetField_730 1446 #ifndef mxCreateStructMatrix 1447 # define mxCreateStructMatrix mxCreateStructMatrix_730 1449 #ifndef mxCreateCellMatrix 1450 # define mxCreateCellMatrix mxCreateCellMatrix_730 1452 #ifndef mxCreateCharMatrixFromStrings 1453 # define mxCreateCharMatrixFromStrings mxCreateCharMatrixFromStrings_730 1456 # define mxGetString mxGetString_730 1458 #ifndef mxGetNumberOfDimensions 1459 # define mxGetNumberOfDimensions mxGetNumberOfDimensions_730 1461 #ifndef mxGetDimensions 1462 # define mxGetDimensions mxGetDimensions_730 1464 #ifndef mxSetDimensions 1465 # define mxSetDimensions mxSetDimensions_730 1468 # define mxSetIr mxSetIr_730 1471 # define mxGetIr mxGetIr_730 1474 # define mxSetJc mxSetJc_730 1477 # define mxGetJc mxGetJc_730 1479 #ifndef mxCreateStructArray 1480 # define mxCreateStructArray mxCreateStructArray_730 1482 #ifndef mxCreateCharArray 1483 # define mxCreateCharArray mxCreateCharArray_730 1485 #ifndef mxCreateNumericArray 1486 # define mxCreateNumericArray mxCreateNumericArray_730 1488 #ifndef mxCreateCellArray 1489 # define mxCreateCellArray mxCreateCellArray_730 1491 #ifndef mxCreateLogicalArray 1492 # define mxCreateLogicalArray mxCreateLogicalArray_730 1495 # define mxGetCell mxGetCell_730 1498 # define mxSetCell mxSetCell_730 1501 # define mxSetNzmax mxSetNzmax_730 1504 # define mxSetN mxSetN_730 1507 # define mxSetM mxSetM_730 1510 # define mxGetNzmax mxGetNzmax_730 1512 #ifndef mxCreateDoubleMatrix 1513 # define mxCreateDoubleMatrix mxCreateDoubleMatrix_730 1515 #ifndef mxCreateNumericMatrix 1516 # define mxCreateNumericMatrix mxCreateNumericMatrix_730 1518 #ifndef mxCreateLogicalMatrix 1519 # define mxCreateLogicalMatrix mxCreateLogicalMatrix_730 1521 #ifndef mxCreateSparse 1522 # define mxCreateSparse mxCreateSparse_730 1524 #ifndef mxCreateSparseLogicalMatrix 1525 # define mxCreateSparseLogicalMatrix mxCreateSparseLogicalMatrix_730 1528 # define mxGetNChars mxGetNChars_730 1530 #ifndef mxCreateStringFromNChars 1531 # define mxCreateStringFromNChars mxCreateStringFromNChars_730 1533 #ifndef mxCalcSingleSubscript 1534 # define mxCalcSingleSubscript mxCalcSingleSubscript_730 1536 #ifndef mxGetDimensions_fcn 1537 # define mxGetDimensions_fcn mxGetDimensions_730 1559 #ifndef mxGetNumberOfDimensions 1560 # define mxGetNumberOfDimensions mxGetNumberOfDimensions_700 1562 #ifndef mxGetDimensions 1563 # define mxGetDimensions mxGetDimensions_700 1565 #ifndef mxGetDimensions_fcn 1566 # define mxGetDimensions_fcn mxGetDimensions_700 1569 # define mxGetIr mxGetIr_700 1572 # define mxGetJc mxGetJc_700 1575 # define mxGetCell mxGetCell_700 1578 # define mxGetNzmax mxGetNzmax_700 1581 # define mxSetNzmax mxSetNzmax_700 1583 #ifndef mxGetFieldByNumber 1584 # define mxGetFieldByNumber mxGetFieldByNumber_700 1586 #ifndef mxSetProperty 1587 # define mxSetProperty mxSetProperty_700 1589 #ifndef mxGetProperty 1590 # define mxGetProperty mxGetProperty_700 1593 # define mxSetField mxSetField_700 1595 #ifndef mxSetFieldByNumber 1596 # define mxSetFieldByNumber mxSetFieldByNumber_700 1599 # define mxGetField mxGetField_700 1601 #ifndef mxCreateStructMatrix 1602 # define mxCreateStructMatrix mxCreateStructMatrix_700 1604 #ifndef mxCreateCellMatrix 1605 # define mxCreateCellMatrix mxCreateCellMatrix_700 1607 #ifndef mxCreateCharMatrixFromStrings 1608 # define mxCreateCharMatrixFromStrings mxCreateCharMatrixFromStrings_700 1611 # define mxGetString mxGetString_700 1613 #ifndef mxSetDimensions 1614 # define mxSetDimensions mxSetDimensions_700 1617 # define mxSetIr mxSetIr_700 1620 # define mxSetJc mxSetJc_700 1622 #ifndef mxCreateStructArray 1623 # define mxCreateStructArray mxCreateStructArray_700 1625 #ifndef mxCreateCharArray 1626 # define mxCreateCharArray mxCreateCharArray_700 1628 #ifndef mxCreateNumericArray 1629 # define mxCreateNumericArray mxCreateNumericArray_700 1631 #ifndef mxCreateCellArray 1632 # define mxCreateCellArray mxCreateCellArray_700 1634 #ifndef mxCreateLogicalArray 1635 # define mxCreateLogicalArray mxCreateLogicalArray_700 1638 # define mxSetCell mxSetCell_700 1641 # define mxSetN mxSetN_700 1644 # define mxSetM mxSetM_700 1646 #ifndef mxCreateDoubleMatrix 1647 # define mxCreateDoubleMatrix mxCreateDoubleMatrix_700 1649 #ifndef mxCreateNumericMatrix 1650 # define mxCreateNumericMatrix mxCreateNumericMatrix_700 1652 #ifndef mxCreateLogicalMatrix 1653 # define mxCreateLogicalMatrix mxCreateLogicalMatrix_700 1655 #ifndef mxCreateSparse 1656 # define mxCreateSparse mxCreateSparse_700 1658 #ifndef mxCreateSparseLogicalMatrix 1659 # define mxCreateSparseLogicalMatrix mxCreateSparseLogicalMatrix_700 1662 # define mxGetNChars mxGetNChars_700 1664 #ifndef mxCreateStringFromNChars 1665 # define mxCreateStringFromNChars mxCreateStringFromNChars_700 1667 #ifndef mxCalcSingleSubscript 1668 # define mxCalcSingleSubscript mxCalcSingleSubscript_700 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsSingle(const mxArray *pa)
Determine whether the specified array represents its data as single-precision floating-point numbers...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsFromGlobalWS(const mxArray *pa)
Inform Watcom compilers that scalar double return values will be in the FPU register.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxChar * mxGetChars(const mxArray *pa)
Get string array data.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double mxGetNaN(void)
Function for obtaining MATLAB's concept of NaN (Used in MEX-File callback).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateLogicalArray_700(int ndim, const int *dims)
Create a logical array and initialize its data elements to false.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxCalcSingleSubscript_700(const mxArray *pa, int nsubs, const int *subs)
Return the offset (in number of elements) from the beginning of the array to a given subscript...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetImagData(mxArray *pa, void *newdata)
Set imaginary data pointer for numeric array.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetFieldNumber(const mxArray *pa, const char *name)
Get the index to the named field.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsInt8(const mxArray *pa)
Determine whether the specified array represents its data as signed 8-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxFree(void *ptr)
free memory, notifying registered listener.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsSparse(const mxArray *pa)
Determine whether the given array is a sparse (as opposed to full).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetNumberOfDimensions_730(const mxArray *pa)
Get number of dimensions in array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxRealloc(void *ptr, size_t sz)
reallocate memory, notifying registered listener.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C const int * mxGetDimensions_700(const mxArray *pa)
Get pointer to dimension array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetCell_730(mxArray *pa, size_t i, mxArray *value)
Set an element in a cell array to the specified value.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsEmpty(const mxArray *pa)
Is array empty.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCellMatrix_730(size_t m, size_t n)
Create a 2-Dimensional cell array, with each cell initialized to NULL.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetNzmax_730(const mxArray *pa)
Get maximum nonzero elements for sparse numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxGetNChars_730(const mxArray *pa, char *buf, size_t nChars)
Copies characters from a MATLAB array to a char array This function will attempt to perform null term...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsStruct(const mxArray *pa)
Determine whether the given array is a structure array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double mxGetScalar(const mxArray *pa)
Get the real component of the specified array's first data element.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetUserBits(mxArray *pa, int value)
Set 8 bits of user data stored in the mxArray header.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStructArray_700(int ndim, const int *dims, int nfields, const char **fieldnames)
Create an N-Dimensional structure array having the specified fields; initialize all values to NULL...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t * mxGetIr_730(const mxArray *pa)
Get row data pointer for sparse numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetFieldByNumber_730(mxArray *pa, size_t i, int fieldnum, mxArray *value)
Sets pa[i][fieldnum]=value.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStringFromNChars_700(const char *str, int n)
Create a 1-by-n string array initialized to str.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetProperty_700(mxArray *pa, int i, const char *propname, const mxArray *value)
mxSetProperty sets the value of a property for a given object and index.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsUint32(const mxArray *pa)
Determine whether the specified array represents its data as unsigned 32-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsClass(const mxArray *pa, const char *name)
Determine whether an array is a member of the specified class.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsUint64(const mxArray *pa)
Determine whether the specified array represents its data as unsigned 64-bit integers.
mxComplexity
Indicates whether floating-point mxArray's are real or complex.
void(* mxFunctionPtr)(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[])
Type representing the signature for MEX functions.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateLogicalArray_730(size_t ndim, const size_t *dims)
Create a logical array and initialize its data elements to false.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateDoubleMatrix_700(int m, int n, mxComplexity flag)
Create a two-dimensional array to hold double-precision floating-point data; initialize each data ele...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetField_700(mxArray *pa, int i, const char *fieldname, mxArray *value)
Sets the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetIr_700(mxArray *pa, int *newir)
Set row data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateSparseLogicalMatrix_700(int m, int n, int nzmax)
Create a 2-D sparse logical array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetNumberOfDimensions_700(const mxArray *pa)
Get number of dimensions in array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetFieldByNumber_700(mxArray *pa, int i, int fieldnum, mxArray *value)
Sets pa[i][fieldnum]=value.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCharArray_730(size_t ndim, const size_t *dims)
Create an N-Dimensional array to hold string data; initialize all elements to 0.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxDestroyArray(mxArray *pa)
mxArray destructor
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C const size_t * mxGetDimensions_730(const mxArray *pa)
Get pointer to dimension array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsUint16(const mxArray *pa)
Determine whether the specified array represents its data as unsigned 16-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetIr_730(mxArray *pa, size_t *newir)
Set row data pointer for numeric array.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetM_700(mxArray *pa, int m)
Set row dimension.
Undetermined class. You cannot specify this category for an mxArray; however, if mxGetClassID cannot ...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStructArray_730(size_t ndim, const size_t *dims, int nfields, const char **fieldnames)
Create an N-Dimensional structure array having the specified fields; initialize all values to NULL...
Identifies a function handle mxArray.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetNzmax_730(mxArray *pa, size_t nzmax)
Set maximum nonzero elements for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int * mxGetIr_700(const mxArray *pa)
Get row dimension.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateLogicalMatrix_700(int m, int n)
Create a two-dimensional array to hold logical data and initializes each data element to false...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetProperty_730(const mxArray *pa, const size_t i, const char *propname)
mxGetProperty returns the value of a property for a given object and index.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateLogicalScalar(bool value)
Create a logical scalar mxArray having the specified value.
TEMPORARY AND NASTY HACK UNTIL mxSPARSE_CLASS IS COMPLETELY ELIMINATED.
struct mxArray_tag mxArray
Forward declaration for mxArray.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxCalloc(size_t n, size_t sz)
clear allocated memory, notifying registered listener.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetString_730(const mxArray *pa, char *buf, size_t buflen)
Converts a string array to a C-style string.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxCalcSingleSubscript_730(const mxArray *pa, size_t nsubs, const size_t *subs)
Return the offset (in number of elements) from the beginning of the array to a given subscript...
Identifies an mxArray with imaginary components.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStringFromNChars_730(const char *str, size_t n)
Create a 1-by-n string array initialized to str.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCellArray_700(int ndim, const int *dims)
Create an N-Dimensional cell array, with each cell initialized to NULL.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetNumberOfElements(const mxArray *pa)
Get number of elements in array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsCell(const mxArray *pa)
Determine whether the given array is a cell array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsLogicalScalarTrue(const mxArray *pa)
Returns true if the logical scalar value is true.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetCell_700(const mxArray *pa, int i)
Get a pointer to the specified cell element.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxLogical * mxGetLogicals(const mxArray *pa)
Get a properly typed pointer to the elements of a logical array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxClassID mxGetClassID(const mxArray *pa)
Return the class (catergory) of data that the array holds.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateDoubleScalar(double value)
Create a double-precision scalar mxArray initialized to the value specified.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetJc_700(mxArray *pa, int *newjc)
Set column data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsFinite(double x)
Inform Watcom compilers that scalar double return values will be in the FPU register.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCellArray_730(size_t ndim, const size_t *dims)
Create an N-Dimensional cell array, with each cell initialized to NULL.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateUninitNumericMatrix(size_t m, size_t n, mxClassID classid, mxComplexity flag)
Create an uninitialized numeric matrix.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetProperty_700(const mxArray *pa, const int i, const char *propname)
mxGetProperty returns the value of a property for a given object and index.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateNumericMatrix_730(size_t m, size_t n, mxClassID classid, mxComplexity flag)
Create a numeric matrix and initialize all its data elements to 0.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetNzmax_700(const mxArray *pa)
Get maximum nonzero elements for sparse numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsInf(double x)
test for infinity in a machine-independent manner
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetPi(mxArray *pa, double *pi)
Set imaginary data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetM_730(mxArray *pa, size_t m)
Set row dimension.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsComplex(const mxArray *pa)
Determine whether the given array contains complex data.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsLogicalScalar(const mxArray *pa)
Returns true if we have a valid logical scalar mxArray.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxGetData(const mxArray *pa)
Get pointer to data.
Identifies a string mxArray, an mxArray whose data is represented as mxChar.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsInt32(const mxArray *pa)
Determine whether the specified array represents its data as signed 32-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetM(const mxArray *pa)
Get row dimension.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateLogicalMatrix_730(size_t m, size_t n)
Create a two-dimensional array to hold logical data and initializes each data element to false...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetNumberOfFields(const mxArray *pa)
Get number of structure fields in array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetFieldByNumber_700(const mxArray *pa, int i, int fieldnum)
Return a pointer to the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsLogical(const mxArray *pa)
Determine whether the given array's logical flag is on.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C char * mxArrayToUTF8String(mxArray const *pa)
Create a NULL terminated C-string from an mxArray of type mxCHAR_CLASS The C-style string is in UTF-8...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetField_730(const mxArray *pa, size_t i, const char *fieldname)
Return a pointer to the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetFromGlobalWS(mxArray *pa, bool global)
Set the isFromGlobalWorkspace bit.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCharArray_700(int ndim, const int *dims)
Create an N-Dimensional array to hold string data; initialize all elements to 0.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetJc_730(mxArray *pa, size_t *newjc)
Set column data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetData(mxArray *pa, void *newdata)
Set pointer to data.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxAddField(mxArray *pa, const char *fieldname)
Add a field to a structure array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsInt16(const mxArray *pa)
Determine whether the specified array represents its data as signed 16-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateSparse_730(size_t m, size_t n, size_t nzmax, mxComplexity flag)
Create a 2-Dimensional sparse array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStructMatrix_700(int m, int n, int nfields, const char **fieldnames)
Create a 2-Dimensional structure array having the specified fields; initialize all values to NULL...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetField_700(const mxArray *pa, int i, const char *fieldname)
Return a pointer to the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C const char * mxGetFieldNameByNumber(const mxArray *pa, int n)
Return pointer to the nth field name.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateNumericArray_730(size_t ndim, const size_t *dims, mxClassID classid, mxComplexity flag)
Create a numeric array and initialize all its data elements to 0.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetN(const mxArray *pa)
Get column dimension.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetNzmax_700(mxArray *pa, int nzmax)
Set maximum nonzero elements for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double mxGetInf(void)
Function for obtaining MATLAB's concept of INF (Used in MEX-File callback).
mxClassID
Enumeration corresponding to all the valid mxArray types.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsNumeric(const mxArray *pa)
Determine whether the specified array contains numeric (as opposed to cell or struct) data...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetUserBits(const mxArray *pa)
Get 8 bits of user data stored in the mxArray header.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetString_700(const mxArray *pa, char *buf, int buflen)
Converts a string array to a C-style string.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetDimensions_730(mxArray *pa, const size_t *pdims, size_t ndims)
Set dimension array and number of dimensions.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetDimensions_700(mxArray *pa, const int *pdims, int ndims)
Set dimension array and number of dimensions.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsNaN(double x)
test for NaN in a machine-independent manner
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateNumericMatrix_700(int m, int n, mxClassID classid, mxComplexity flag)
Create a numeric matrix and initialize all its data elements to 0.
Identifies a logical mxArray, an mxArray of mxLogical data.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetCell_700(mxArray *pa, int i, mxArray *value)
Set an element in a cell array to the specified value.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateDoubleMatrix_730(size_t m, size_t n, mxComplexity flag)
Create a two-dimensional array to hold double-precision floating-point data; initialize each data ele...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateUninitNumericArray(size_t ndim, size_t *dims, mxClassID classid, mxComplexity flag)
Create an uninitialized numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetFieldByNumber_730(const mxArray *pa, size_t i, int fieldnum)
Return a pointer to the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsChar(const mxArray *pa)
Determine whether the given array contains character data.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsUint8(const mxArray *pa)
Determine whether the specified array represents its data as unsigned 8-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxGetNChars_700(const mxArray *pa, char *buf, int nChars)
Copies characters from a MATLAB array to a char array This function will attempt to perform null term...
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxMalloc(size_t n)
allocate memory, notifying registered listener
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCellMatrix_700(int m, int n)
Create a 2-Dimensional cell array, with each cell initialized to NULL.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double mxGetEps(void)
Function for obtaining MATLAB's concept of EPS.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxGetElementSize(const mxArray *pa)
Get array data element size.
LIBMWMEX_API_EXTERN_C void mexPrintAssertion(const char *test, const char *fname, int linenum, const char *message)
Print an assertion-style error message and return control to the MATLAB command line.
Identifies a structure mxArray.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateNumericArray_700(int ndim, const int *dims, mxClassID classid, mxComplexity flag)
Create a numeric array and initialize all its data elements to 0.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetPr(mxArray *pa, double *pr)
Set real data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateStructMatrix_730(size_t m, size_t n, int nfields, const char **fieldnames)
Create a 2-Dimensional structure array having the specified fields; initialize all values to NULL...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double * mxGetPi(const mxArray *pa)
Get imaginary data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateString(const char *str)
Create a 1-by-n string array initialized to NULL terminated string where n is the length of the strin...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateSparse_700(int m, int n, int nzmax, mxComplexity flag)
Create a 2-Dimensional sparse array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsDouble(const mxArray *pa)
Determine whether the specified array represents its data as double-precision floating-point numbers...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t * mxGetJc_730(const mxArray *pa)
Get column data pointer for sparse numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetN_730(mxArray *pa, size_t n)
Set column dimension.
#define LIBMMWMATRIX_PUBLISHED_API_EXTERN_C
bool mxLogical
Logical type.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C const char * mxGetClassName(const mxArray *pa)
Return the name of an array's class.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsFunctionHandle(const mxArray *pa)
Returns true if specified array is a function object.
Identifies a cell mxArray.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxGetCell_730(const mxArray *pa, size_t i)
Get a pointer to the specified cell element.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C char * mxArrayToString(const mxArray *pa)
Create a NULL terminated C-string from an mxArray of type mxCHAR_CLASS Supports multibyte character s...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxDuplicateArray(const mxArray *pa)
Make a deep copy of an array, return a pointer to the copy.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetClassName(mxArray *pa, const char *classname)
Set classname of an unvalidated object array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetField_730(mxArray *pa, size_t i, const char *fieldname, mxArray *value)
Sets the contents of the named field for the ith element (zero based).
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsOpaque(const mxArray *pa)
Determine whether the given array is an opaque array.
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsScalar(const mxArray *pa)
Determine whether the given array's scalar flag is on.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsInt64(const mxArray *pa)
Determine whether the specified array represents its data as signed 64-bit integers.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxRemoveField(mxArray *pa, int field)
Remove a field from a structure array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int * mxGetJc_700(const mxArray *pa)
Get column data pointer for sparse numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateSparseLogicalMatrix_730(size_t m, size_t n, size_t nzmax)
Create a 2-D sparse logical array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetN_700(mxArray *pa, int n)
Set column dimension.
CHAR16_T mxChar
Typedef required for Unicode support in MATLAB.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetProperty_730(mxArray *pa, size_t i, const char *propname, const mxArray *value)
mxSetProperty sets the value of a property for a given object and index.
keep the last real item in the list
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCharMatrixFromStrings_700(int m, const char **str)
Create a string array initialized to the strings in str.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxGetImagData(const mxArray *pa)
Get imaginary data pointer for numeric array.
Identifies an mxArray with no imaginary components.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsObject(const mxArray *pa)
Is array user defined MATLAB v5 object.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C double * mxGetPr(const mxArray *pa)
Get real data pointer for numeric array.
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray * mxCreateCharMatrixFromStrings_730(size_t m, const char **str)
Create a string array initialized to the strings in str.