| C++ Math Library Reference | ![]() |
C++ Prototype
mwArray legendre(const mwArray &n, const mwArray &X); mwArray legendre(const mwArray &n, const mwArray &X, const mwArray &sch);
C++ Syntax
#include "matlab.hpp" mwArray n, X; // Input argument(s) mwArray P, S; // Return value P=legendre(n,X); S = legendre(n,X,"sch");
MATLAB Syntax
P=legendre(n,X) S = legendre(n,X,'sch')
See Also
legendre Calling Conventions | lcm | length | ![]() |