Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
The Polylib library

Routines For Orthogonal Polynomial Calculus and Interpolation

Spencer Sherwin, Aeronautics, Imperial College London

Based on codes by Einar Ronquist and Ron Henderson

Abbreviations

--------------------------------------------------------------------—
MAIN ROUTINES
--------------------------------------------------------------------—

Points and Weights:

Derivative Matrices:

Lagrange Interpolants:

Interpolation Operators:

Polynomial Evaluation:

--------------------------------------------------------------------—
LOCAL ROUTINES
--------------------------------------------------------------------—

---------------------------------------------------------------------—

Useful references:

NOTES

  1. Legendre polynomial $ \alpha = \beta = 0 $
  2. Chebychev polynomial $ \alpha = \beta = -0.5 $
  3. All routines are double precision.
  4. All array subscripts start from zero, i.e. vector[0..N-1]