singular-factory alternatives and similar packages
Based on the "Math" category.
Alternatively, view singular-factory alternatives based on common mentions on social networks and blogs.
-
vector
An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . -
hgeometry
HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of singular-factory or a related project?
README
Haskell bindings to the Singular-Factory multivariate polynomial factorization engine.
Singular is a computer algebra system developed at the University of Kaiserslautern, and Factory is the polynomial factorization engine of Singular.
It handles multivariate polynomials over the integers, rationals, and finite fields (and also algebraic and trancendental extensions of these).
Installation instructions
Currently the library works on macOS (tested with Homebrew), and on Linux (tested with Debian).
macOS
With Homebrew:
- Install Homebrew from https://brew.sh (if not already installed).
- Install pkg-config using homebrew (if not already installed):
$ brew install pkg-config
- Install singular:
$ brew install singular
- Install this library:
$ cabal update $ cabal install --lib singular-factory
Linux
On Debian:
- Install pkg-config (if not already installed):
$ sudo apt install pkg-config
- Install libgmp-dev (required for hgmp):
$ sudo apt install libgmp-dev
- Install singular:
$ sudo apt install libmpfr-dev libntl-dev libflint-dev $ sudo apt install singular libsingular4-dev
- Install this library:
$ cabal update $ cabal install --lib singular-factory
Other Linux distros:
It should be similar to the above: Install libsingular using your distro's package manager, and hope that pkg-config will give the necessary information to Cabal.
Windows
Unfortunately I couldn't make it work on Windows so far.
The primary problem is linking the cygwin-based Singular with the mingw-based GHC. If you have advice on how to achieve this, please contact me.