C++ Math Library Reference | ![]() ![]() |
Allocate space for sparse matrix
C++ Prototype
mwArray spalloc(const mwArray &m, const mwArray &n=mwArray::DIN, const mwArray &nzmax=mwArray::DIN)
C++ Syntax
#include "matlab.hpp" mwArray m, n, nzmax; // Input argument(s) mwArray S; // Return value S = spalloc(m,
n,
nzmax);
MATLAB Syntax
S = spalloc(m,
n,
nzmax)
See Also
spalloc
Calling Conventions![]() | sortrows | sparse | ![]() |