iota-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Graph.Dense

Documentation

data DenseGraph a Source #

Constructors

DenseGraph 

Fields

Instances

Instances details
(Unbox a, Show a) => Show (DenseGraph a) Source # 
Instance details

Defined in Data.Graph.Dense

indexDG :: Int -> Int -> Int -> Int Source #

matDG :: Unbox a => DenseGraph a -> Int -> Int -> a Source #

adjDG :: Unbox a => DenseGraph a -> Int -> Vector a Source #

createDenseGraph :: Unbox a => Int -> (forall s. MVector s a -> ST s ()) -> DenseGraph a Source #

fromListNDG :: Unbox a => Int -> [[a]] -> DenseGraph a Source #

fromListDG :: Unbox a => [[a]] -> DenseGraph a Source #

toListDG :: Unbox a => DenseGraph a -> [[a]] Source #