comfort-array-0.1.1: Arrays where the index type is a function of the shape type
Data.Array.Comfort.Storable
data Array sh a Source #
Defined in Data.Array.Comfort.Storable.Internal
Methods
showsPrec :: Int -> Array sh a -> ShowS #
show :: Array sh a -> String #
showList :: [Array sh a] -> ShowS #
shape :: Array sh a -> sh Source #
(!) :: (Indexed sh, Storable a) => Array sh a -> Index sh -> a infixl 9 Source #
toList :: (C sh, Storable a) => Array sh a -> [a] Source #
fromList :: (C sh, Storable a) => sh -> [a] -> Array sh a Source #
vectorFromList :: Storable a => [a] -> Array (ZeroBased Int) a Source #
map :: (C sh, Storable a, Storable b) => (a -> b) -> Array sh a -> Array sh b Source #