23.07.2012 Views

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

MATLAB C++ Math Library Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

0legendre<br />

Purpose Associated Legendre functions<br />

<strong>C++</strong> Prototype mwArray legendre(const mwArray &n, const mwArray &X);<br />

mwArray legendre(const mwArray &n, const mwArray &X,<br />

const mwArray &sch);<br />

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

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

Syntax<br />

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

mwArray P, S; // Return value<br />

P = legendre(n,X);<br />

S = legendre(n,X,"sch");<br />

P = legendre(n,X)<br />

S = legendre(n,X,'sch')<br />

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

legendre<br />

227

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

Saved successfully!

Ooh no, something went wrong!