mexopencv  3.4.1
MEX interface for OpenCV library
matrix.h
Go to the documentation of this file.
1 
13 #if defined(_MSC_VER)
14 # pragma once
15 #endif
16 #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3))
17 # pragma once
18 #endif
19 
20 #ifndef MATRIX_DEVELOPER_API_HPP
21 #ifndef matrix_h
22 #define matrix_h
23 #include <stdlib.h>
24 #include <stddef.h>
25 #include "tmwtypes.h"
26 
27 
28 
32 #ifdef _MSC_VER
34  #define MATRIX_DLL_EXPORT_SYM __declspec(dllexport)
35  #define MATRIX_DLL_IMPORT_SYM __declspec(dllimport)
36 #elif __GNUC__ >= 4
37  #define MATRIX_DLL_EXPORT_SYM __attribute__ ((visibility("default")))
38  #define MATRIX_DLL_IMPORT_SYM __attribute__ ((visibility("default")))
39 #else
40  #define MATRIX_DLL_EXPORT_SYM
41  #define MATRIX_DLL_IMPORT_SYM
42 #endif
43 
45 
46 
50 #if defined(BUILDING_PUBLISHED_API_CPP)
52 #define LIBMMWMATRIX_PUBLISHED_API MATRIX_DLL_EXPORT_SYM
53 #else
54 #if defined(export_matrix_h)
55 // we are a C file coming through \c /src/include/matrix.h
56 #define LIBMMWMATRIX_PUBLISHED_API MATRIX_DLL_IMPORT_SYM
57 #else
58 /*
59  * We are a C mex file coming through \c /extern/include/matrix.h
60  * \c LIBMMWMATRIX_PUBLISHED_API is empty to match definitions in \c mex.h.
61  */
62 #ifdef LIBMMWMATRIX_PUBLISHED_API
63 #undef LIBMMWMATRIX_PUBLISHED_API
64 #endif
65 #define LIBMMWMATRIX_PUBLISHED_API
66 #endif /* export_matrix_h */
67 #endif /* BUILDING_PUPLISHED_API_CPP */
68 
69 #ifdef __cplusplus
70 #define LIBMMWMATRIX_PUBLISHED_API_EXTERN_C extern "C" LIBMMWMATRIX_PUBLISHED_API
71 #else
72 #define LIBMMWMATRIX_PUBLISHED_API_EXTERN_C extern LIBMMWMATRIX_PUBLISHED_API
73 #endif
74 
76 
77 
79 #define MX_API_VER 0x07040000
80 
81 
87 #if !defined(MX_COMPAT_32) && !defined(BUILDING_PUBLISHED_API_CPP) && defined(__linux__)
89 
90 #ifdef __cplusplus
91 extern "C" {
92 #endif
93 
94 #ifndef mxSetProperty_730
95 # define mxSetProperty_730 mxSetProperty
96 #endif
97 
98 #ifndef mxGetProperty_730
99 # define mxGetProperty_730 mxGetProperty
100 #endif
101 
102 #ifndef mxSetField_730
103 # define mxSetField_730 mxSetField
104 #endif
105 
106 #ifndef mxSetFieldByNumber_730
107 # define mxSetFieldByNumber_730 mxSetFieldByNumber
108 #endif
109 
110 #ifndef mxGetFieldByNumber_730
111 # define mxGetFieldByNumber_730 mxGetFieldByNumber
112 #endif
113 
114 #ifndef mxGetField_730
115 # define mxGetField_730 mxGetField
116 #endif
117 
118 #ifndef mxCreateStructMatrix_730
119 # define mxCreateStructMatrix_730 mxCreateStructMatrix
120 #endif
121 
122 #ifndef mxCreateCellMatrix_730
123 # define mxCreateCellMatrix_730 mxCreateCellMatrix
124 #endif
125 
126 #ifndef mxCreateCharMatrixFromStrings_730
127 # define mxCreateCharMatrixFromStrings_730 mxCreateCharMatrixFromStrings
128 #endif
129 
130 #ifndef mxGetString_730
131 # define mxGetString_730 mxGetString
132 #endif
133 
134 #ifndef mxGetNumberOfDimensions_730
135 # define mxGetNumberOfDimensions_730 mxGetNumberOfDimensions
136 #endif
137 
138 #ifndef mxGetDimensions_730
139 # define mxGetDimensions_730 mxGetDimensions
140 #endif
141 
142 #ifndef mxSetDimensions_730
143 # define mxSetDimensions_730 mxSetDimensions
144 #endif
145 
146 #ifndef mxSetIr_730
147 # define mxSetIr_730 mxSetIr
148 #endif
149 
150 #ifndef mxGetIr_730
151 # define mxGetIr_730 mxGetIr
152 #endif
153 
154 #ifndef mxSetJc_730
155 # define mxSetJc_730 mxSetJc
156 #endif
157 
158 #ifndef mxGetJc_730
159 # define mxGetJc_730 mxGetJc
160 #endif
161 
162 #ifndef mxCreateStructArray_730
163 # define mxCreateStructArray_730 mxCreateStructArray
164 #endif
165 
166 #ifndef mxCreateCharArray_730
167 # define mxCreateCharArray_730 mxCreateCharArray
168 #endif
169 
170 #ifndef mxCreateNumericArray_730
171 # define mxCreateNumericArray_730 mxCreateNumericArray
172 #endif
173 
174 #ifndef mxCreateCellArray_730
175 # define mxCreateCellArray_730 mxCreateCellArray
176 #endif
177 
178 #ifndef mxCreateLogicalArray_730
179 # define mxCreateLogicalArray_730 mxCreateLogicalArray
180 #endif
181 
182 #ifndef mxGetCell_730
183 # define mxGetCell_730 mxGetCell
184 #endif
185 
186 #ifndef mxSetCell_730
187 # define mxSetCell_730 mxSetCell
188 #endif
189 
190 #ifndef mxSetNzmax_730
191 # define mxSetNzmax_730 mxSetNzmax
192 #endif
193 
194 #ifndef mxSetN_730
195 # define mxSetN_730 mxSetN
196 #endif
197 
198 #ifndef mxSetM_730
199 # define mxSetM_730 mxSetM
200 #endif
201 
202 #ifndef mxGetNzmax_730
203 # define mxGetNzmax_730 mxGetNzmax
204 #endif
205 
206 #ifndef mxCreateDoubleMatrix_730
207 # define mxCreateDoubleMatrix_730 mxCreateDoubleMatrix
208 #endif
209 
210 #ifndef mxCreateNumericMatrix_730
211 # define mxCreateNumericMatrix_730 mxCreateNumericMatrix
212 #endif
213 
214 #ifndef mxCreateLogicalMatrix_730
215 # define mxCreateLogicalMatrix_730 mxCreateLogicalMatrix
216 #endif
217 
218 #ifndef mxCreateSparse_730
219 # define mxCreateSparse_730 mxCreateSparse
220 #endif
221 
222 #ifndef mxCreateSparseLogicalMatrix_730
223 # define mxCreateSparseLogicalMatrix_730 mxCreateSparseLogicalMatrix
224 #endif
225 
226 #ifndef mxGetNChars_730
227 # define mxGetNChars_730 mxGetNChars
228 #endif
229 
230 #ifndef mxCreateStringFromNChars_730
231 # define mxCreateStringFromNChars_730 mxCreateStringFromNChars
232 #endif
233 
234 #ifndef mxCalcSingleSubscript_730
235 # define mxCalcSingleSubscript_730 mxCalcSingleSubscript
236 #endif
237 
238 #ifndef mxGetDimensions_fcn_730
239 # define mxGetDimensions_fcn_730 mxGetDimensions
240 #endif
241 
242 #ifdef __cplusplus
243 }
244 #endif
245 
246 #endif /* !defined(MX_COMPAT_32) && !defined(BUILDING_PUBLISHED_API_CPP) && defined(__linux__) */
247 
249 
250 
251 #ifndef MATHWORKS_MATRIX_DETAIL_PUBLISHED_FWD_DECLS_HPP
252 #define MATHWORKS_MATRIX_DETAIL_PUBLISHED_FWD_DECLS_HPP
253 
254 
255 
259 typedef struct mxArray_tag mxArray;
260 
269 typedef void (*mxFunctionPtr) (int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[]);
270 
274 #define mxMAXNAM TMW_NAME_LENGTH_MAX
275 
279 typedef bool mxLogical;
280 
284 typedef CHAR16_T mxChar;
285 
289 typedef enum
290 {
310 #if defined(_LP64) || defined(_WIN64)
312 #else
314 #endif
317 }
318 mxClassID;
319 
323 typedef enum
324 {
327 }
329 
330 #endif /* MATHWORKS_MATRIX_DETAIL_PUBLISHED_FWD_DECLS_HPP */
331 
332 
333 
340 
347 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void *mxCalloc(size_t n, size_t sz);
348 
355 
362 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void *mxRealloc(void *ptr, size_t sz);
363 
365 
373 
375 
383 
385 
391 
393 
401 
403 
411 
413 
421 
423 
432 
440 
442 
453 
455 
464 
471 
478 
485 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetData(mxArray *pa, void *newdata);
486 
494 
501 
508 
515 
522 
529 
536 
541 
551 
558 
566 
573 
580 
588 
596 
604 
612 
620 
628 
636 
644 
652 
660 
667 
674 
682 
689 
697 
704 
713 
723 
730 
735 #ifdef __WATCOMC__
736 #pragma aux mxGetScalar value [8087];
737 #endif
738 
739 
746 
754 
756 
765 
772 
779 
786 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetFieldNumber(const mxArray *pa, const char *name);
787 
789 
798 
800 
809 
816 
818 
826 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C size_t mxCalcSingleSubscript_730(const mxArray *pa, size_t nsubs, const size_t *subs);
827 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxCalcSingleSubscript_700(const mxArray *pa, int nsubs, const int *subs);
829 
837 
839 
849 
851 
859 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetFieldByNumber_730(mxArray *pa, size_t i, int fieldnum, mxArray *value);
860 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetFieldByNumber_700(mxArray *pa, int i, int fieldnum, mxArray *value);
862 
864 
873 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxGetField_730(const mxArray *pa, size_t i, const char *fieldname);
874 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxGetField_700(const mxArray *pa, int i, const char *fieldname);
876 
878 
887 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetField_730(mxArray *pa, size_t i, const char *fieldname, mxArray *value);
888 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetField_700(mxArray *pa, int i, const char *fieldname, mxArray *value);
890 
892 
903 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxGetProperty_730(const mxArray *pa, const size_t i, const char *propname);
904 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxGetProperty_700(const mxArray *pa, const int i, const char *propname);
906 
908 
918 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetProperty_730(mxArray *pa, size_t i, const char *propname, const mxArray *value);
919 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxSetProperty_700(mxArray *pa, int i, const char *propname, const mxArray *value);
921 
928 
935 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsClass(const mxArray *pa, const char *name);
936 
938 
950 
961 
972 
974 
983 
985 
994 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetDimensions_730(mxArray *pa, const size_t *pdims, size_t ndims);
995 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetDimensions_700(mxArray *pa, const int *pdims, int ndims);
997 
1004 
1006 
1017 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateNumericArray_730(size_t ndim, const size_t *dims, mxClassID classid, mxComplexity flag);
1020 
1022 
1029 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateCharArray_730(size_t ndim, const size_t *dims);
1032 
1034 
1045 
1052 
1054 
1060 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateLogicalArray_730(size_t ndim, const size_t *dims);
1063 
1065 
1075 
1082 
1089 
1096 
1104 
1106 
1134 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateSparse_730(size_t m, size_t n, size_t nzmax, mxComplexity flag);
1137 
1139 
1149 
1151 
1159 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxGetNChars_730(const mxArray *pa, char *buf, size_t nChars);
1160 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mxGetNChars_700(const mxArray *pa, char *buf, int nChars);
1162 
1164 
1176 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetString_730(const mxArray *pa, char *buf, size_t buflen);
1177 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxGetString_700(const mxArray *pa, char *buf, int buflen);
1179 
1188 
1198 
1200 
1211 
1219 
1221 
1230 
1232 
1242 
1244 
1251 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateCellArray_730(size_t ndim, const size_t *dims);
1254 
1256 
1265 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateStructMatrix_730(size_t m, size_t n, int nfields, const char **fieldnames);
1266 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateStructMatrix_700(int m, int n, int nfields, const char **fieldnames);
1268 
1270 
1279 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateStructArray_730(size_t ndim, const size_t *dims, int nfields, const char **fieldnames);
1280 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C mxArray *mxCreateStructArray_700(int ndim, const int *dims, int nfields, const char **fieldnames);
1282 
1289 
1298 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxSetClassName(mxArray *pa, const char *classname);
1299 
1308 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C int mxAddField(mxArray *pa, const char *fieldname);
1309 
1318 
1323 
1328 
1333 
1334 
1339 #ifdef __WATCOMC__
1340 #pragma aux mxGetEps value [8087];
1341 #pragma aux mxGetInf value [8087];
1342 #pragma aux mxGetNaN value [8087];
1343 #endif
1344 
1345 
1352 
1359 
1366 
1367 
1368 
1392 #ifndef mxassert_h
1394 #define mxassert_h
1395 #ifdef MATLAB_MEX_FILE
1396 # ifndef NDEBUG
1397 LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void mexPrintAssertion(const char *test, const char *fname, int linenum, const char *message);
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))
1400 # else
1401 # define mxAssert(test, message) ((void) 0)
1402 # define mxAssertS(test, message) ((void) 0)
1403 # endif
1404 #else
1405 # include <assert.h>
1406 # define mxAssert(test, message) assert(test)
1407 # define mxAssertS(test, message) assert(test)
1408 #endif
1409 #endif /* mxassert_h */
1410 
1412 
1413 
1414 #if !defined(BUILDING_PUBLISHED_API_CPP) && !defined(BUILDING_LIBMX)
1415 
1416 
1417 
1421 #if !defined(MX_COMPAT_32) && !defined(__linux__)
1423 
1424 #ifdef __cplusplus
1425 extern "C" {
1426 #endif
1427 
1428 #ifndef mxSetProperty
1429 # define mxSetProperty mxSetProperty_730
1430 #endif
1431 #ifndef mxGetProperty
1432 # define mxGetProperty mxGetProperty_730
1433 #endif
1434 #ifndef mxSetField
1435 # define mxSetField mxSetField_730
1436 #endif
1437 #ifndef mxSetFieldByNumber
1438 # define mxSetFieldByNumber mxSetFieldByNumber_730
1439 #endif
1440 #ifndef mxGetFieldByNumber
1441 # define mxGetFieldByNumber mxGetFieldByNumber_730
1442 #endif
1443 #ifndef mxGetField
1444 # define mxGetField mxGetField_730
1445 #endif
1446 #ifndef mxCreateStructMatrix
1447 # define mxCreateStructMatrix mxCreateStructMatrix_730
1448 #endif
1449 #ifndef mxCreateCellMatrix
1450 # define mxCreateCellMatrix mxCreateCellMatrix_730
1451 #endif
1452 #ifndef mxCreateCharMatrixFromStrings
1453 # define mxCreateCharMatrixFromStrings mxCreateCharMatrixFromStrings_730
1454 #endif
1455 #ifndef mxGetString
1456 # define mxGetString mxGetString_730
1457 #endif
1458 #ifndef mxGetNumberOfDimensions
1459 # define mxGetNumberOfDimensions mxGetNumberOfDimensions_730
1460 #endif
1461 #ifndef mxGetDimensions
1462 # define mxGetDimensions mxGetDimensions_730
1463 #endif
1464 #ifndef mxSetDimensions
1465 # define mxSetDimensions mxSetDimensions_730
1466 #endif
1467 #ifndef mxSetIr
1468 # define mxSetIr mxSetIr_730
1469 #endif
1470 #ifndef mxGetIr
1471 # define mxGetIr mxGetIr_730
1472 #endif
1473 #ifndef mxSetJc
1474 # define mxSetJc mxSetJc_730
1475 #endif
1476 #ifndef mxGetJc
1477 # define mxGetJc mxGetJc_730
1478 #endif
1479 #ifndef mxCreateStructArray
1480 # define mxCreateStructArray mxCreateStructArray_730
1481 #endif
1482 #ifndef mxCreateCharArray
1483 # define mxCreateCharArray mxCreateCharArray_730
1484 #endif
1485 #ifndef mxCreateNumericArray
1486 # define mxCreateNumericArray mxCreateNumericArray_730
1487 #endif
1488 #ifndef mxCreateCellArray
1489 # define mxCreateCellArray mxCreateCellArray_730
1490 #endif
1491 #ifndef mxCreateLogicalArray
1492 # define mxCreateLogicalArray mxCreateLogicalArray_730
1493 #endif
1494 #ifndef mxGetCell
1495 # define mxGetCell mxGetCell_730
1496 #endif
1497 #ifndef mxSetCell
1498 # define mxSetCell mxSetCell_730
1499 #endif
1500 #ifndef mxSetNzmax
1501 # define mxSetNzmax mxSetNzmax_730
1502 #endif
1503 #ifndef mxSetN
1504 # define mxSetN mxSetN_730
1505 #endif
1506 #ifndef mxSetM
1507 # define mxSetM mxSetM_730
1508 #endif
1509 #ifndef mxGetNzmax
1510 # define mxGetNzmax mxGetNzmax_730
1511 #endif
1512 #ifndef mxCreateDoubleMatrix
1513 # define mxCreateDoubleMatrix mxCreateDoubleMatrix_730
1514 #endif
1515 #ifndef mxCreateNumericMatrix
1516 # define mxCreateNumericMatrix mxCreateNumericMatrix_730
1517 #endif
1518 #ifndef mxCreateLogicalMatrix
1519 # define mxCreateLogicalMatrix mxCreateLogicalMatrix_730
1520 #endif
1521 #ifndef mxCreateSparse
1522 # define mxCreateSparse mxCreateSparse_730
1523 #endif
1524 #ifndef mxCreateSparseLogicalMatrix
1525 # define mxCreateSparseLogicalMatrix mxCreateSparseLogicalMatrix_730
1526 #endif
1527 #ifndef mxGetNChars
1528 # define mxGetNChars mxGetNChars_730
1529 #endif
1530 #ifndef mxCreateStringFromNChars
1531 # define mxCreateStringFromNChars mxCreateStringFromNChars_730
1532 #endif
1533 #ifndef mxCalcSingleSubscript
1534 # define mxCalcSingleSubscript mxCalcSingleSubscript_730
1535 #endif
1536 #ifndef mxGetDimensions_fcn
1537 # define mxGetDimensions_fcn mxGetDimensions_730
1538 #endif
1539 
1540 #ifdef __cplusplus
1541 }
1542 #endif
1543 
1544 #endif /* !MX_COMPAT_32 */
1545 
1547 
1548 
1549 #ifdef MX_COMPAT_32
1550 
1554 #ifdef __cplusplus
1556 extern "C" {
1557 #endif
1558 
1559 #ifndef mxGetNumberOfDimensions
1560 # define mxGetNumberOfDimensions mxGetNumberOfDimensions_700
1561 #endif
1562 #ifndef mxGetDimensions
1563 # define mxGetDimensions mxGetDimensions_700
1564 #endif
1565 #ifndef mxGetDimensions_fcn
1566 # define mxGetDimensions_fcn mxGetDimensions_700
1567 #endif
1568 #ifndef mxGetIr
1569 # define mxGetIr mxGetIr_700
1570 #endif
1571 #ifndef mxGetJc
1572 # define mxGetJc mxGetJc_700
1573 #endif
1574 #ifndef mxGetCell
1575 # define mxGetCell mxGetCell_700
1576 #endif
1577 #ifndef mxGetNzmax
1578 # define mxGetNzmax mxGetNzmax_700
1579 #endif
1580 #ifndef mxSetNzmax
1581 # define mxSetNzmax mxSetNzmax_700
1582 #endif
1583 #ifndef mxGetFieldByNumber
1584 # define mxGetFieldByNumber mxGetFieldByNumber_700
1585 #endif
1586 #ifndef mxSetProperty
1587 # define mxSetProperty mxSetProperty_700
1588 #endif
1589 #ifndef mxGetProperty
1590 # define mxGetProperty mxGetProperty_700
1591 #endif
1592 #ifndef mxSetField
1593 # define mxSetField mxSetField_700
1594 #endif
1595 #ifndef mxSetFieldByNumber
1596 # define mxSetFieldByNumber mxSetFieldByNumber_700
1597 #endif
1598 #ifndef mxGetField
1599 # define mxGetField mxGetField_700
1600 #endif
1601 #ifndef mxCreateStructMatrix
1602 # define mxCreateStructMatrix mxCreateStructMatrix_700
1603 #endif
1604 #ifndef mxCreateCellMatrix
1605 # define mxCreateCellMatrix mxCreateCellMatrix_700
1606 #endif
1607 #ifndef mxCreateCharMatrixFromStrings
1608 # define mxCreateCharMatrixFromStrings mxCreateCharMatrixFromStrings_700
1609 #endif
1610 #ifndef mxGetString
1611 # define mxGetString mxGetString_700
1612 #endif
1613 #ifndef mxSetDimensions
1614 # define mxSetDimensions mxSetDimensions_700
1615 #endif
1616 #ifndef mxSetIr
1617 # define mxSetIr mxSetIr_700
1618 #endif
1619 #ifndef mxSetJc
1620 # define mxSetJc mxSetJc_700
1621 #endif
1622 #ifndef mxCreateStructArray
1623 # define mxCreateStructArray mxCreateStructArray_700
1624 #endif
1625 #ifndef mxCreateCharArray
1626 # define mxCreateCharArray mxCreateCharArray_700
1627 #endif
1628 #ifndef mxCreateNumericArray
1629 # define mxCreateNumericArray mxCreateNumericArray_700
1630 #endif
1631 #ifndef mxCreateCellArray
1632 # define mxCreateCellArray mxCreateCellArray_700
1633 #endif
1634 #ifndef mxCreateLogicalArray
1635 # define mxCreateLogicalArray mxCreateLogicalArray_700
1636 #endif
1637 #ifndef mxSetCell
1638 # define mxSetCell mxSetCell_700
1639 #endif
1640 #ifndef mxSetN
1641 # define mxSetN mxSetN_700
1642 #endif
1643 #ifndef mxSetM
1644 # define mxSetM mxSetM_700
1645 #endif
1646 #ifndef mxCreateDoubleMatrix
1647 # define mxCreateDoubleMatrix mxCreateDoubleMatrix_700
1648 #endif
1649 #ifndef mxCreateNumericMatrix
1650 # define mxCreateNumericMatrix mxCreateNumericMatrix_700
1651 #endif
1652 #ifndef mxCreateLogicalMatrix
1653 # define mxCreateLogicalMatrix mxCreateLogicalMatrix_700
1654 #endif
1655 #ifndef mxCreateSparse
1656 # define mxCreateSparse mxCreateSparse_700
1657 #endif
1658 #ifndef mxCreateSparseLogicalMatrix
1659 # define mxCreateSparseLogicalMatrix mxCreateSparseLogicalMatrix_700
1660 #endif
1661 #ifndef mxGetNChars
1662 # define mxGetNChars mxGetNChars_700
1663 #endif
1664 #ifndef mxCreateStringFromNChars
1665 # define mxCreateStringFromNChars mxCreateStringFromNChars_700
1666 #endif
1667 #ifndef mxCalcSingleSubscript
1668 # define mxCalcSingleSubscript mxCalcSingleSubscript_700
1669 #endif
1670 
1671 #ifdef __cplusplus
1672 }
1673 #endif
1674 
1675 #endif /* #ifdef MX_COMPAT_32 */
1676 
1678 
1679 #endif /* !defined(BUILDING_LIBMX) && !defined(PUBLISHED_API_CPP) */
1680 
1681 
1682 
1683 #endif /* matrix_h */
1684 #endif /* MATRIX_DEVELOPER_API_HPP */
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&#39;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...
Definition: matrix.h:298
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&#39;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.
static softfloat pi()
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&#39;s are real or complex.
Definition: matrix.h:323
void(* mxFunctionPtr)(int nlhs, mxArray *plhs[], int nrhs, mxArray *prhs[])
Type representing the signature for MEX functions.
Definition: matrix.h:269
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:303
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:306
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...
Definition: matrix.h:302
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...
Definition: matrix.h:301
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 ...
Definition: matrix.h:291
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.
Definition: matrix.h:307
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.
Definition: matrix.h:316
struct mxArray_tag mxArray
Forward declaration for mxArray.
Definition: matrix.h:259
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...
Definition: matrix.h:297
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.
Definition: matrix.h:326
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.
Definition: matrix.h:295
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&#39;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&#39;s concept of INF (Used in MEX-File callback).
mxClassID
Enumeration corresponding to all the valid mxArray types.
Definition: matrix.h:289
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...
Definition: matrix.h:304
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.
Definition: matrix.h:294
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...
Definition: matrix.h:299
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C void * mxMalloc(size_t n)
allocate memory, notifying registered listener
Reserved.
Definition: matrix.h:296
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&#39;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.
Definition: matrix.h:293
Identifies a numeric mxArray whose data is stored as the type specified in the MATLAB Primitive Types...
Definition: matrix.h:300
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
Definition: matrix.h:72
bool mxLogical
Logical type.
Definition: matrix.h:279
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C const char * mxGetClassName(const mxArray *pa)
Return the name of an array&#39;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.
Definition: matrix.h:292
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...
Definition: matrix.h:305
LIBMMWMATRIX_PUBLISHED_API_EXTERN_C bool mxIsScalar(const mxArray *pa)
Determine whether the given array&#39;s scalar flag is on.
UINT16_T CHAR16_T
Definition: tmwtypes.h:890
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.
Definition: matrix.h:284
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
Definition: matrix.h:309
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.
Definition: matrix.h:325
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.