matrix-lens-0.1.0.0: Optics for the "matrix" package
Data.Matrix.Lens.Internal
isSquare :: Matrix a -> Bool Source #
getSize :: Matrix a -> (Int, Int) Source #
elemAt :: (Int, Int) -> Lens' (Matrix a) a Source #
row :: Int -> Lens' (Matrix a) [a] Source #
col :: Int -> Lens' (Matrix a) [a] Source #
rows :: Lens' (Matrix a) [[a]] Source #
switchingRows :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
switchingCols :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
slidingRows :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
slidingCols :: Int -> Int -> Iso' (Matrix a) (Matrix a) Source #
minor :: (Int, Int) -> Lens' (Matrix a) (Matrix a) Source #
getDeterminant :: Num a => Matrix a -> Maybe a Source #
twoByTwoDet :: Num a => Matrix a -> a Source #
laplace :: Num a => Matrix a -> Maybe a Source #
setRow :: Int -> Matrix a -> Vector a -> Matrix a Source #
setCol :: Int -> Matrix a -> Vector a -> Matrix a Source #
setMinorMatrix :: forall a. (Int, Int) -> Matrix a -> Matrix a -> Matrix a Source #
slideRows :: Int -> Int -> Matrix a -> Matrix a Source #
slideCols :: Int -> Int -> Matrix a -> Matrix a Source #