recursivenodes

Recursively defined interpolation nodes for the simplex


License
MIT
Install
pip install recursivenodes==0.1.0

Documentation

recursivenodes: Recursive, parameter-free, explicitly defined interpolation nodes for simplices

This package includes one module level function, recursive_nodes(), which returns nodes for polynomial interpolation on the simplex in arbitrary dimensions.

The nodes have a few nice properties: they are explicitly constructed and fully symmetric, and their traces on edges are Lobatto-Gauss-Legendre nodes (or any other node set you wish to use). Among explicitly constructed nodes, they appear to have the best interpolation properties. You can find more details in the documentation.

Requirements:

  • Only numpy and scipy are needed for recursive_nodes().
  • Testing requires coverage, pytest and matplotlib.
  • Building documentation additionally requires sphinx, sphinxcontrib-bibtex, and sphinxcontrib-tikz.