int mxGetNzmax(pm) Matrix *pm;void mxSetNzmax(pm,nzmax) Matrix *pm;int nzmax;
integer*4 function mxGetNzmax(pm)subroutine mxSetNzmax(pm,nzmax) integer*4 pm, nzmax
nzmaxpmnzmax is the number of nonzero entries in the sparse Matrix and therefore the length of the ir array.
If a Matrix is full, mxGetNzmax returns an indeterminate value.
mxSetNzmax does not affect the length of the ir array - it is up to you to make sure it is consistent.
mxGetNzmax and mxSetNzmax allow you to get and set the value of nzmax. See the "Matrix Data Structure" section in Chapter 1 for more information on sparse Matrices and nzmax.
(c) Copyright 1994 by The MathWorks, Inc.