HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

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.