ms alternatives and similar packages
Based on the "Math" category.
Alternatively, view ms 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 . -
statistics
A fast, high quality library for computing with statistics in Haskell. -
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. The main two focusses are: (1) Strong type safety, and (2) implementations of geometric algorithms and data structures that have good asymptotic running time guarantees. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
computational-algebra
General-Purpose Computer Algebra System as an EDSL in Haskell -
mwc-random
A very fast Haskell library for generating high quality pseudo-random numbers. -
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) -
safe-decimal
Safe and very efficient arithmetic operations on fixed decimal point numbers -
monoid-subclasses
Subclasses of Monoid with a solid theoretical foundation and practical purposes -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
Access the most powerful time series database as a service
* 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 ms or a related project?
README
ms - metric spaces
A metric space is a set together with some notion of distance function which obeys four laws. See the haddock for more information.
We implement these not using a typeclass, but using a simple datatype. This avoids needing to create newtypes for every metric implementation over a given type, meaning that we gain more code re-use and an easier-to-use API.
WARNING: The triangle-inequality law does not necessarily hold in the
presence of Floating a => a
, which we use. This is because Double
and
Float
both don't have arbitrary precision. However, some of our metrics, such
as that of euclidean
distance, require the use of the sqrt
function, which
requires a Floating
constraint.
Usage
dist levenshtein "foo" "bar" -- => 3.0
dist euclidean (V.fromList [3,2]) (V.fromList [2,3]) -- => 1.4142135623730951
License
[BSD-2](LICENSE).
*Note that all licence references and agreements mentioned in the ms README section above
are relevant to that project's source code only.