Package gmisclib :: Module ortho_poly
[frames] | no frames]

Module ortho_poly

source code

Classes
  ortho
  ortho_poly
Virtual base class.
  Legendre
Legendre polynomials, orthonormal over (-1, 1) with weight 1.
  Chebyshev
Chebyshev polynomials of the first kind, orthonormal over (-1, 1) with weight (1-x^2)^(-1/2).
  Chebyshev2
Chebyshev polynomials of the second kind, orthonormal over (-1, 1) with weight (1-x^2)^(1/2).
  SinCos
1, sin(pi*x), cos(pi*x), sin(2*pi*x), cos(2*pi*x)...
  SLTB
Smooth Local Trigonometric Basis.
Functions
 
test_a_name(name) source code
 
F(name, n=None, x=None)
This is a factory function.
source code
 
test() source code
Variables
  __package__ = 'gmisclib'

Imports: math, numpy, die


Function Details

F(name, n=None, x=None)

source code 

This is a factory function. Get any kind of ortho poly you want, as selected by the first argument.