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.

0chol<br />

Purpose Cholesky factorization<br />

<strong>C++</strong> Prototype mwArray chol(const mwArray &X);<br />

mwArray chol(mwArray *p, const mwArray &X);<br />

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

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

Syntax<br />

mwArray X; // Input argument(s)<br />

mwArray p; // Output argument(s)<br />

mwArray R; // Return value<br />

R = chol(X);<br />

R = chol(&p,X);<br />

R = chol(X)<br />

[R,p] = chol(X)<br />

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

chol<br />

67

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

Saved successfully!

Ooh no, something went wrong!