Gromacs
2026.0-dev-20241106-9ba7f4d
|
#include "gromacs/utility/real.h"
Declares routine for computing a Legendre polynomial.
Functions | |
real | LegendreP (real x, unsigned int m) |
Return Legendre polynomial value Pm(x) http://en.wikipedia.org/wiki/Legendre_polynomials. More... | |
Return Legendre polynomial value Pm(x) http://en.wikipedia.org/wiki/Legendre_polynomials.
[in] | x | The value |
[in] | m | The order of the polynomial (0-4 are supported) |