Roots of two shifted Jacobi polynomials (Legendre and Radau) to double precision http://github.com/ghorn/jacobi-roots
|Latest on Hackage:||0.2.0.4|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
This package provides roots of shifted Radau and Legendre polynomials to double precision.
The roots are precomputed using a Mathematica script, and degrees of up to a few hundred are provided.
JacobiRoots module for documentation
To build this from scratch, first run
compute_roots.nb in Mathematica to generate
gen/JacobiRootsRaw300.hs. Then type
make to run
gen/Convert.hs, which creates
src/JacobiRootsBinary.hs. Then the normal
cabal configure; cabal build