Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
PInfixApp :: l -> Pat l -> QName l -> Pat l -> Pat lhaskell-src-exts Language.Haskell.Exts.Syntax pattern with an infix data constructor
TyInfix :: l -> Type l -> MaybePromotedName l -> Type l -> Type lhaskell-src-exts Language.Haskell.Exts.Syntax infix type constructor
-
Numeric Linear Algebra Linear systems, matrix decompositions, and other numerical computations based on BLAS and LAPACK. Standard interface: Numeric.LinearAlgebra. Safer interface with statically checked dimensions: Numeric.LinearAlgebra.Static. Code examples: http://dis.um.es/~alberto/hmatrix/hmatrix.html
type
AssocMatrix = [(IndexOf Matrix, Double)]hmatrix Numeric.LinearAlgebra.Data No documentation available.
-
hmatrix Numeric.LinearAlgebra.Data General matrix with specialized internal representations for dense, sparse, diagonal, banded, and constant elements.
>>> let m = mkSparse [((0,999),1.0),((1,1999),2.0)] >>> m SparseR {gmCSR = CSR {csrVals = fromList [1.0,2.0], csrCols = fromList [1000,2000], csrRows = fromList [1,2,3], csrNRows = 2, csrNCols = 2000}, nRows = 2, nCols = 2000}>>> let m = mkDense (mat 2 [1..4]) >>> m Dense {gmDense = (2><2) [ 1.0, 2.0 , 3.0, 4.0 ], nRows = 2, nCols = 2} -
hmatrix Numeric.LinearAlgebra.Data Matrix representation suitable for BLAS/LAPACK computations.
loadMatrix :: FilePath -> IO (Matrix Double)hmatrix Numeric.LinearAlgebra.Data load a matrix from an ASCII file formatted as a 2D table.
loadMatrix' :: FilePath -> IO (Maybe (Matrix Double))hmatrix Numeric.LinearAlgebra.Data No documentation available.
matrix :: Int -> [R] -> Matrix Rhmatrix Numeric.LinearAlgebra.Data Create a real matrix.
>>> matrix 5 [1..15] (3><5) [ 1.0, 2.0, 3.0, 4.0, 5.0 , 6.0, 7.0, 8.0, 9.0, 10.0 , 11.0, 12.0, 13.0, 14.0, 15.0 ]
saveMatrix :: FilePath -> String -> Matrix Double -> IO ()hmatrix Numeric.LinearAlgebra.Data save a matrix as a 2D ASCII table