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

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