comfort-array-0.1.2: Arrays where the index type is a function of the shape type
Data.Array.Comfort.Boxed
data Array sh a Source #
shape :: Array sh a -> sh Source #
(!) :: Indexed sh => Array sh a -> Index sh -> a infixl 9 Source #
toList :: C sh => Array sh a -> [a] Source #
fromList :: C sh => sh -> [a] -> Array sh a Source #
vectorFromList :: [a] -> Array (ZeroBased Int) a Source #
map :: C sh => (a -> b) -> Array sh a -> Array sh b Source #