Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- data Permutation sh
- data Inversion
- fromPivots :: C sh => Inversion -> sh -> Vector ZeroInt CInt -> Permutation sh
- toPivots :: C sh => Inversion -> Permutation sh -> Vector sh CInt
- toMatrix :: (C sh, Floating a) => Permutation sh -> Square sh a
- determinant :: C sh => Permutation sh -> Sign
- numberFromSign :: Floating a => Sign -> a
- transpose :: C sh => Permutation sh -> Permutation sh
- multiply :: (C sh, Eq sh) => Permutation sh -> Permutation sh -> Permutation sh
- apply :: (C vert, C horiz, C height, Eq height, C width, Floating a) => Bool -> Permutation height -> Full vert horiz height width a -> Full vert horiz height width a
Documentation
data Permutation sh Source #
Instances
(C sh, Show sh) => Show (Permutation sh) Source # | |
Defined in Numeric.LAPACK.Permutation.Private showsPrec :: Int -> Permutation sh -> ShowS # show :: Permutation sh -> String # showList :: [Permutation sh] -> ShowS # | |
C sh => Format (Permutation sh) Source # | |
Defined in Numeric.LAPACK.Permutation.Private |
Instances
Bounded Inversion Source # | |
Enum Inversion Source # | |
Defined in Numeric.LAPACK.Matrix.Private succ :: Inversion -> Inversion # pred :: Inversion -> Inversion # fromEnum :: Inversion -> Int # enumFrom :: Inversion -> [Inversion] # enumFromThen :: Inversion -> Inversion -> [Inversion] # enumFromTo :: Inversion -> Inversion -> [Inversion] # enumFromThenTo :: Inversion -> Inversion -> Inversion -> [Inversion] # | |
Eq Inversion Source # | |
Show Inversion Source # | |
fromPivots :: C sh => Inversion -> sh -> Vector ZeroInt CInt -> Permutation sh Source #
The pivot array must be at most as long as Shape.size sh
.
determinant :: C sh => Permutation sh -> Sign Source #
numberFromSign :: Floating a => Sign -> a Source #
transpose :: C sh => Permutation sh -> Permutation sh Source #
multiply :: (C sh, Eq sh) => Permutation sh -> Permutation sh -> Permutation sh Source #