Pure Haskell solver routines used by diagrams http://projects.haskell.org/diagrams

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.

BSD-3-Clause licensed by various

Build Status

Miscellaneous pure-Haskell solver routines used in diagrams, a Haskell embedded domain-specific language for compositional, declarative drawing.

This is split out into a separate package with no dependencies on the rest of diagrams in case it is useful to others, but no particular guarantees are made as to the suitability or correctness of the code (though we are certainly open to bug reports).

Currently the package contains:

  • functions to find real roots of quadratic, cubic, and quartic polynomials, in Diagrams.Solve.Polynomial

  • functions to solve tridiagonal and cyclic tridiagonal systems of linear equations, in Diagrams.Solve.Tridiagonal


  • 0.1.2 (5 May 2020)

    Improvements to stability/accuraty of cubForm and quartForm, contributed by Jasper Van der Jeugt (#7, #8)

  • 0.1.1 (3 July 2017)

    allow base-4.10 for GHC-8.2 some minor optimizations add QC tests

  • (14 February 2016)

    allow base-4.9 for GHC-8.0

  • 0.1 (19 April 2015)

    initial release, in conjunction with diagrams-1.3 — some functionality split out from diagrams-lib