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.
subMatrix :: Element a => (Int, Int) -> (Int, Int) -> Matrix a -> Matrix ahmatrix Numeric.LinearAlgebra.Data reference to a rectangular slice of a matrix (no data copy)
-
hmatrix Numeric.LinearAlgebra.Devel 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.Devel No documentation available.
-
hmatrix Numeric.LinearAlgebra.Devel No documentation available.
createMatrix :: Storable a => MatrixOrder -> Int -> Int -> IO (Matrix a)hmatrix Numeric.LinearAlgebra.Devel No documentation available.
extractMatrix :: Element a => STMatrix t a -> RowRange -> ColRange -> ST s (Matrix a)hmatrix Numeric.LinearAlgebra.Devel No documentation available.
freezeMatrix :: Element t => STMatrix s t -> ST s (Matrix t)hmatrix Numeric.LinearAlgebra.Devel No documentation available.
liftMatrix :: (Element a, Element b) => (Vector a -> Vector b) -> Matrix a -> Matrix bhmatrix Numeric.LinearAlgebra.Devel application of a vector function on the flattened matrix elements
-
hmatrix Numeric.LinearAlgebra.Devel application of a vector function on the flattened matrices elements
-
hmatrix Numeric.LinearAlgebra.Devel A version of liftMatrix2 which automatically adapt matrices with a single row or column to match the dimensions of the other matrix.