HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Moduledense-linear-algebra-0.1.0.0Haskell2010

Statistics.Matrix.Mutable

Basic mutable matrix operations.

  • 2 types
  • 10 values
valuebounds :: MMatrix s -> Int -> Int -> (MVector s -> Int -> r) -> r
#

Given row and column numbers, calculate the offset into the flat row-major vector.

valueunsafeNew
  1. :: Int

    Number of row

  2. -> Int

    Number of columns

  3. -> ST s (MMatrix s)
#

Allocate new matrix. Matrix content is not initialized hence unsafe.

valueunsafeBounds :: MMatrix s -> Int -> Int -> (MVector s -> Int -> r) -> r
#

Given row and column numbers, calculate the offset into the flat row-major vector, without checking.