legendre
Overloads
| Name | Description |
|---|---|
legendre(integer n, bool x) -> real | Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:... |
legendre(integer n, real x) -> real | Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:... |
legendre(integer n, integer x) -> real | Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:... |
legendre(integer n, bool x) -> real
Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:
Parameters
- n: The degree of the polynomial.
- x: The value at which the function is evaluated.
legendre(integer n, real x) -> real
Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:
Parameters
- n: The degree of the polynomial.
- x: The value at which the function is evaluated.
legendre(integer n, integer x) -> real
Evaluates the Legendre polynomial of degree n at the given position. The Legendre polynomials are defined as:
Parameters
- n: The degree of the polynomial.
- x: The value at which the function is evaluated.