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.

cholupdate<br />

0cholupdate<br />

Purpose Rank 1 update to Cholesky factorization<br />

<strong>C++</strong> Prototype mwArray cholupdate(const mwArray &R, const mwArray &x);<br />

mwArray cholupdate(const mwArray &R, const mwArray &x,<br />

const mwArray &flag);<br />

mwArray cholupdate(mwArray *p, const mwArray &R, const mwArray &x,<br />

const mwArray &flag);<br />

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

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

Syntax<br />

68<br />

mxArray *R, *x; // Input argument(s)<br />

mxArray *p; // Output argument(s)<br />

mxArray *R1; // Return value<br />

R1 = cholupdate(R,x);<br />

R1 = cholupdate(R,x,"+");<br />

R1 = cholupdate(R,x,"-");<br />

R1 = cholupdate(&p,R,x,"-");<br />

R1 = cholupdate(R,x)<br />

R1 = cholupdate(R,x,'+')<br />

R1 = cholupdate(R,x,'-')<br />

[R1,p] = cholupdate(R,x,'-')<br />

See Also <strong>MATLAB</strong> cholupdate Calling Conventions

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

Saved successfully!

Ooh no, something went wrong!