HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulematrices-0.5.0Haskell2010

Data.Matrix.Symmetric.Generic

  • 1 type
  • 10 values
  • Packagematrices-0.5.0
  • Exports19
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceGeneric.hs
datadata SymMatrix (v :: Type -> Type) a
#

Symmetric square matrix

Constructors

Instances7Matrix, Eq, Read, Show, Generic, Rep, …
valuerows :: Matrix m v a => m v a -> Int
#

Derived methods

Return the number of rows

valuecols :: Matrix m v a => m v a -> Int
#

Return the number of columns

methodflatten :: m v a -> v a
#

Default algorithm is O((m*n) * O(unsafeIndex)).