hmatrix
nimber
Our great sponsors
hmatrix | nimber | |
---|---|---|
2 | - | |
377 | 2 | |
0.3% | - | |
3.4 | 0.0 | |
2 months ago | about 5 years ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
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.
hmatrix
-
Rust concepts I wish I learned earlier
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., https://github.com/argmin-rs/argmin
[2] https://hackage.haskell.org/package/hmatrix-gsl-0.19.0.1 was released in 2018. (Although there are newer commits in the GitHub repo, https://github.com/haskell-numerics/hmatrix. Not too sure what is going on.)
[3] https://github.com/khigia/ocaml-anneal
-
Numpy style linear algebra
hmatrix covers the essentials; less feature-complete than python/matlab, partly because several orders of magnitudes less people use it, partly because it's meant as the "essential core".
nimber
We haven't tracked posts mentioning nimber yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
hTensor - Multidimensional arrays and simple tensor computations
linear - Low-dimensional linear algebra primitives for Haskell.
hmatrix-repa - Compatability between hmatrix and repa matrices and vectors
algebra - constructive abstract algebra
math-functions - Special mathematical functions
hblas - haskell bindings for blas and lapack
hmatrix-quadprogpp - bindings to quadprog++
diagrams-solve - Miscellaneous solver code for diagrams (low-degree polynomials, tridiagonal matrices)
hmatrix-nipals - Haskell library for Nonlinear Iterative Partial Least Squares method for Principal Components Analysis on large datasets
nats - Haskell 98 Natural Numbers
hmatrix-backprop - backprop primitives for hmatrix