hmatrix-svdlibc-0.4.1: SVDLIBC bindings for HMatrix
Numeric.LinearAlgebra.SVD.SVDLIBC
Synopsis
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.
svd rank a
a
sparsify :: Matrix Double -> CSR Source #
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