getmatsize
getmatsize |
Purpose
Synopsis
void getmatsize(XPRMcontext ctx, int *ncol, int *nrow, int *nsos, int *ngents);
Arguments
ctx
|
Mosel's execution context
|
ncol
|
A pointer to return the number of columns (may be
NULL)
|
nrow
|
A pointer to return the number of rows (may be
NULL)
|
nsos
|
A pointer to return the number of SOS (may be
NULL)
|
ngents
|
A pointer to return the number of non-continuous variables (may be
NULL)
|
Example
see
getmpname
Further information
This function returns the number of columns, rows, sos and global entities defined by the current problem. This information is available only once a matrix has been generated.
Related topics