Evaluates the Legendre polynomial of a given degree and order.
Real number between -1 and 1.
Default: 0
Degree of the Legendre polynomial. degree must be nonnegative.
Default: 0
Order of the Legendre polynomial. order must be nonnegative and less than or equal to degree.
Default: 0
Type of Legendre polynomial.
Name | Value | Description |
---|---|---|
Standard | 0 | Computes the associated Legendre function. |
Semi-Normalized | 1 | Computes the semi-normalized Legendre function. |
Normalized | 2 | Computes the normalized associated Legendre function. |
Default: Standard
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Value of the associated Legendre polynomial of degree and order at point x.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
The associated Legendre polynomial of degree n and order m is the solution of the following associated Legendre differential equation.
where
The following graph shows the associated Legendre polynomials of degree n = 3 and order m = 0, 1, 2, 3.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported
Web Server: Not supported in VIs that run in a web application