HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

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)).