comfort-array-0.0: Arrays where the index type is a function of the shape type
Data.Array.Comfort.Storable
data Array sh a Source #
Instances
Methods
showsPrec :: Int -> Array sh a -> ShowS #
show :: Array sh a -> String #
showList :: [Array sh a] -> ShowS #
shape :: Array sh a -> sh Source #
(!) :: (C 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 #