title |
---|
specialfunctions |
[TOC]
Experimental
Computes the value of the n-th Legendre polynomial at a specified point. Currently only 64 bit floating point is supported.
This is an elemental
function.
result =
[[stdlib_specialfunctions(module):legendre(interface)]] (n, x)
n
: Shall be a scalar of type real(real64)
.
x
: Shall be a scalar or array (this function is elemental) of type real(real64)
.
The function result will be the value of the n
-th Legendre polynomial, evaluated at x
.
Experimental
Computes the value of the first derivative of the n-th Legendre polynomial at a specified point. Currently only 64 bit floating point is supported.
This is an elemental
function.
result =
[[stdlib_specialfunctions(module):dlegendre(interface)]] (n, x)
n
: Shall be a scalar of type real(real64)
.
x
: Shall be a scalar or array (this function is elemental) of type real(real64)
.
The function result will be the value of the first derivative of the n
-th Legendre polynomial, evaluated at x
.