sparse-lin-alg-0.4: Effective linear algebra on sparse matrices

Safe HaskellSafe-Infered

Math.LinearAlgebra.Sparse.Algorithms.SolveLinear

Synopsis

Documentation

solveLinear :: Integral α => SparseMatrix α -> SparseVector α -> Maybe (SparseVector α)Source

Just solves system of linear equations in matrix form for given left-side matrix and right-side vector

solveLinSystemsSource

Arguments

:: Integral α 
=> SparseMatrix α

left-side matrix

-> SparseVector (SparseVector α)

right-side vectors

-> Maybe (SparseVector (SparseVector α))

if one of systems has no solution Nothing is returned

Solves a set of systems for given left-side matrix and each right-side vector of given set (sparse vector)