hmatrix-svdlibc-0.4.1: SVDLIBC bindings for HMatrix

Safe HaskellNone
LanguageHaskell2010

Numeric.LinearAlgebra.SVD.SVDLIBC

Synopsis

Documentation

svd :: Int -> Matrix Double -> (Matrix Double, Vector Double, Matrix Double) Source #

svd rank a is the sparse SVD of matrix a with the given rank This function handles the conversion to svdlibc's sparse representation.

sparseSvd :: Int -> CSR -> (Matrix Double, Vector Double, Matrix Double) Source #

svd rank a is the sparse SVD of matrix a with the given rank This function handles the conversion to svdlibc's sparse representation, but does not require making the whole matrix dense first