Haskell Math

Open-source Haskell projects categorized as Math | Edit details

Top 23 Haskell Math Projects

  • GitHub repo subhask

    Type safe interface for working in subcategories of Hask

  • GitHub repo hmatrix

    Linear algebra and numerical computation

  • GitHub repo vector

    An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . (by haskell)

  • GitHub repo statistics

    A fast, high quality library for computing with statistics in Haskell.

    Project mention: Tweag - Intern opening to improve GHC performance | reddit.com/r/haskell | 2021-01-29

    I just did cabal build | ts -i '[%.s]' and found that https://github.com/haskell/statistics/blob/a2aa25181e50cd63db4a785c20c973a3c4dd5dac/Statistics/Function.hs takes 5 seconds to compile! Quite insane, warrants an issue. Probably related to inlining.

  • GitHub repo HerbiePlugin

    GHC plugin that improves Haskell code's numerical stability

  • GitHub repo linear

    Low-dimensional linear algebra primitives for Haskell.

    Project mention: Probabilistic modelling in Idris: engineering as research | reddit.com/r/Idris | 2021-06-30

    I've come to love the linear approach, where instead of working with Naperian (Representable) functors, you work with Distributive functors.

  • GitHub repo what4

    Symbolic formula representation and solver interaction library

  • GitHub repo hgeometry


    Project mention: [ANN] HGeometry-0.12 | reddit.com/r/haskell | 2021-02-28

    See changelog.org for an exhaustive list of changes.

  • GitHub repo algebra

    constructive abstract algebra (by ekmett)

  • GitHub repo grid

    Tools for working with regular grids/graphs/lattices. (by mhwombat)

  • GitHub repo dimensional

    Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+).

  • GitHub repo units

    The home of the units Haskell package (by goldfirere)

  • GitHub repo numhask

    A haskell numeric prelude, providing a clean structure for numbers and operations that combine them.

  • GitHub repo semigroups

    Haskell 98 semigroups

  • GitHub repo mwc-random

    A very fast Haskell library for generating high quality pseudo-random numbers.

  • GitHub repo poly

    Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) (by Bodigrim)

  • GitHub repo deeplearning-hs

  • GitHub repo arrayfire

    Haskell bindings to ArrayFire

  • GitHub repo hermit

    Haskell Equational Reasoning Model-to-Implementation Tunnel (by ku-fpg)

  • GitHub repo bayes-stack

    Framework for Gibbs sampling of probabilistic models

  • GitHub repo equational-reasoning

    Agda-style equational reasoning in Haskell

  • GitHub repo vector-space

    Vector & affine spaces, linear maps, and derivatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-30.


What are some of the best open-source Math projects in Haskell? This list will help you:

Project Stars
1 subhask 403
2 hmatrix 344
3 ad 315
4 vector 294
5 statistics 260
6 HerbiePlugin 186
7 linear 166
8 what4 107
9 hgeometry 99
10 algebra 92
11 grid 91
12 dimensional 87
13 units 83
14 numhask 58
15 semigroups 56
16 mwc-random 54
17 poly 52
18 deeplearning-hs 52
19 arrayfire 51
20 hermit 48
21 bayes-stack 48
22 equational-reasoning 45
23 vector-space 43