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.

0erf, erfc, erfcx, erfinv<br />

Purpose Error functions<br />

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

mwArray erfc(const mwArray &X);<br />

mwArray erfcx(const mwArray &X);<br />

mwArray erfinv(const mwArray &Y);<br />

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

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

Syntax<br />

mwArray X, Y;<br />

erf, erfc, erfcx, erfinv<br />

Y = erf(X); Error function<br />

Y = erfc(X); Complementary error function<br />

Y = erfcx(X); Scaled complementary error function<br />

X = erfinv(Y); Inverse of the error function<br />

Y = erf(X) Error function<br />

Y = erfc(X) Complementary error function<br />

Y = erfcx(X) Scaled complementary error function<br />

X = erfinv(Y) Inverse of the error function<br />

See Also <strong>MATLAB</strong> erf, erfc, erfcx, erfinvCalling Conventions<br />

121

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

Saved successfully!

Ooh no, something went wrong!