hmatrix is a linear algebra library and matrix computations.

Example code:


-- Creating matrices
r <- randn 2 2
r -- [  0.7668461757288327, 0.5573308002071669
  -- , -0.7412791132378888,  1.001032678483079 ]

-- SVD
(u, s, v) = svd r
(u, s, v) = thinSVD r

eigenvalues r

singularValues r

nullspace r
orthogonal r

determinant r

Benchmarks

Notes:

Links: Hackage . GitHub . Homepage