matrix-lens-0.1.0.0: Optics for the "matrix" package

Safe HaskellNone
LanguageHaskell2010

Data.Matrix.Lens

Documentation

col :: Int -> Lens' (Matrix a) [a] Source #

cols :: Lens' (Matrix a) [[a]] Source #

diag :: Lens' (Matrix a) [a] Source #

elemAt :: (Int, Int) -> Lens' (Matrix a) a Source #

minor :: (Int, Int) -> Lens' (Matrix a) (Matrix a) Source #

row :: Int -> Lens' (Matrix a) [a] Source #

rows :: Lens' (Matrix a) [[a]] Source #

scaled :: Num a => a -> Iso' (Matrix a) (Matrix a) Source #

scalingRow :: Num a => Int -> a -> Iso' (Matrix a) (Matrix a) Source #

sub :: (Int, Int) -> (Int, Int) -> Lens' (Matrix a) (Matrix a) Source #