23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

0spalloc<br />

Purpose Allocate space for sparse matrix<br />

<strong>C++</strong> Prototype mwArray spalloc(const mwArray &m,<br />

const mwArray &n=mwArray::DIN,<br />

const mwArray &nzmax=mwArray::DIN)<br />

<strong>C++</strong> Syntax #include "matlab.hpp"<br />

<strong>MATLAB</strong><br />

Syntax<br />

mwArray m, n, nzmax; // Input argument(s)<br />

mwArray S; // Return value<br />

S = spalloc(m,n,nzmax);<br />

S = spalloc(m,n,nzmax)<br />

See Also <strong>MATLAB</strong> spalloc Calling Conventions<br />

spalloc<br />

346

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!