mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
legendre.hpp File Reference

Declares and defines Legendre polynomials. More...

Declares and defines Legendre polynomials.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file legendre.hpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

template<typename T >
mx::math::func::legendre_p (int n, T x)
 Legendre Polynomials. More...
 
template<typename T >
mx::math::func::orthoNormalLegendre (int n, T x)
 The orthonormal Legendre polynomials. More...
 

Function Documentation

◆ orthoNormalLegendre()

template<typename T >
T mx::math::func::orthoNormalLegendre ( int  n,
x 
)

The orthonormal Legendre polynomials.

A version of the Legendre polynomials which are orthonormal on the interval -1 <= x <= 1.

Returns
the value of the n-th orthonormal Legendre polynomial at x.

Definition at line 94 of file legendre.hpp.

References mx::math::func::orthoNormalLegendre().

Referenced by mx::math::func::orthoNormalLegendre().