Module
Matrix
- Package
- purescript-matrices
- Repository
- kritzcreek/purescript-matrices
#toIndexedArray Source
toIndexedArray :: forall a. Matrix a -> Array { value :: a, x :: Int, y :: Int }
Convert a Matrix
to an indexed Array
#indexedMap Source
indexedMap :: forall b a. (Int -> Int -> a -> b) -> Matrix a -> Matrix b
Apply a function to every element in the given Matrix taking its indices into account
- Modules
- Matrix