matrix-lens-0.1.0.0: Optics for the "matrix" package
Data.Matrix.Lens
flattened :: Traversal' (Matrix a) a Source #
col :: Int -> Lens' (Matrix a) [a] Source #
cols :: Lens' (Matrix a) [[a]] Source #
determinant :: Num a => Getter (Matrix a) (Maybe a) Source #
diag :: Lens' (Matrix a) [a] Source #
elemAt :: (Int, Int) -> Lens' (Matrix a) a Source #
inverted :: (Eq a, Fractional a) => Prism' (Matrix a) (Matrix a) Source #
isSquare :: Matrix a -> Bool 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 #
size :: Getter (Matrix a) (Int, Int) Source #
slidingCols :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
slidingRows :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
switchingCols :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
switchingRows :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
transposed :: Iso' (Matrix a) (Matrix a) Source #