linear-code VS hmatrix

Compare linear-code vs hmatrix and see what are their differences.


Haskell library for linear codes from coding theory (by wchresta)


Linear algebra and numerical computation (by haskell-numerics)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
linear-code hmatrix
0 2
4 378
- 0.5%
0.0 3.4
over 5 years ago about 2 months ago
Haskell Haskell
GNU General Public License v3.0 only BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of linear-code. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning linear-code yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of hmatrix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-18.
  • Rust concepts I wish I learned earlier
    3 projects | | 18 Jan 2023
    Two things that might help Rust a lot despite the complexity is the tooling and the ecosystem. Cargo is good, the compiler is extremely helpful, and there are a lot of crates to build on for all sorts of tasks.

    For example, if I need to use simulated annealing to solve an optimization problem, there already exist libraries that implement that algorithm well.[1] Unfortunately, the Haskell library for this seems to be unmaintained[2] and so does the OCaml library that I can find.[3] Similarly, Agda, Idris, and Lean 4 all seem like great languages. But not having libraries for one's tasks is a big obstacle to adoption.

    Nim looks very promising. (Surprisingly so to me.) Hopefully they will succeed at gaining wider recognition and growing a healthy ecosystem.

    [1] E.g.,

    [2] was released in 2018. (Although there are newer commits in the GitHub repo, Not too sure what is going on.)


What are some alternatives?

When comparing linear-code and hmatrix you can also consider the following projects:

hTensor - Multidimensional arrays and simple tensor computations

nimber - Finite nimber arithmetic

hmatrix-repa - Compatability between hmatrix and repa matrices and vectors

math-functions - Special mathematical functions

hmatrix-quadprogpp - bindings to quadprog++

hmatrix-nipals - Haskell library for Nonlinear Iterative Partial Least Squares method for Principal Components Analysis on large datasets

hmatrix-backprop - backprop primitives for hmatrix

hmatrix-svdlibc - Haskell bindings for svdlibc

hmatrix-vector-sized - Conversion between hmatrix and vector-sized types

hmatrix-morpheus - Low-level machine learning auxiliary functions

hmatrix-mmap - Extend the Haskell hmatrix package with the ability to mmap vectors

hmatrix-sundials - Haskell interface to the sundials suite of nonlinear and differential/algebraic equation solvers