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.

<strong>Reference</strong> Page Format ................................. 1<br />

Structure ............................................. 1<br />

TypographicConventions ................................ 2<br />

NotesontheFormat .................................... 2<br />

Calling Conventions .................................... 3<br />

Constructinga<strong>C++</strong>Prototype ............................ 3<br />

Translating<strong>MATLAB</strong>Syntaxinto<strong>C++</strong>Syntax .............. 4<br />

The mwArray Class ..................................... 7<br />

Constructors........................................... 7<br />

Operators ............................................. 9<br />

User-DefinedConversion ............................... 12<br />

MemoryManagement .................................. 12<br />

ArraySize ........................................... 13<br />

The mwVarargin and mwVarargout Classes .............. 15<br />

ThemwVararginClass ................................. 15<br />

ThemwVarargoutClass ................................ 16<br />

Function <strong>Reference</strong> .................................... 18<br />

ArithmeticOperators .................................. 19<br />

RelationalOperators< > = ==!= ................. 21<br />

LogicalOperators ..................................... 23<br />

abs ................................................. 24<br />

acos,acosh ........................................... 25<br />

acot,acoth ........................................... 26<br />

acsc,acsch ........................................... 27<br />

all .................................................. 28<br />

angle ................................................ 29<br />

any ................................................. 30<br />

asec,asech ........................................... 31<br />

asin,asinh ........................................... 32<br />

atan,atanh........................................... 33<br />

atan2 ............................................... 34<br />

balance .............................................. 35<br />

Contents<br />

iii

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

Saved successfully!

Ooh no, something went wrong!