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.

nan<br />

0nan<br />

Purpose Not-a-Number<br />

<strong>C++</strong> Prototype mwArray nan();<br />

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

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

Syntax<br />

258<br />

mwArray R; // Return value<br />

R = nan();<br />

NaN<br />

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

Description NaN returns the IEEE arithmetic representation for Not-a-Number (NaN).<br />

These result from operations which have undefined numerical results.

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

Saved successfully!

Ooh no, something went wrong!