Safe Haskell | None |
---|

- type Hermitian sh = Array (Hermitian sh)
- data Transposition
- fromList :: (C sh, Storable a) => Order -> sh -> [a] -> Hermitian sh a
- autoFromList :: Storable a => Order -> [a] -> Hermitian ZeroInt a
- identity :: (C sh, Floating a) => Order -> sh -> Hermitian sh a
- diagonal :: (C sh, Floating a) => Order -> Vector sh (RealOf a) -> Hermitian sh a
- takeDiagonal :: (C sh, Floating a) => Hermitian sh a -> Vector sh (RealOf a)
- multiplyVector :: (C sh, Eq sh, Floating a) => Transposition -> Hermitian sh a -> Vector sh a -> Vector sh a
- square :: (C sh, Eq sh, Floating a) => Hermitian sh a -> Hermitian sh a
- multiplyFull :: (C vert, C horiz, C height, Eq height, C width, Floating a) => Transposition -> Hermitian height a -> Full vert horiz height width a -> Full vert horiz height width a
- outer :: (C sh, Floating a) => Order -> Vector sh a -> Hermitian sh a
- sumRank1 :: (C sh, Eq sh, Floating a) => Order -> sh -> [(RealOf a, Vector sh a)] -> Hermitian sh a
- sumRank1NonEmpty :: (C sh, Eq sh, Floating a) => Order -> T [] (RealOf a, Vector sh a) -> Hermitian sh a
- sumRank2 :: (C sh, Eq sh, Floating a) => Order -> sh -> [(a, (Vector sh a, Vector sh a))] -> Hermitian sh a
- sumRank2NonEmpty :: (C sh, Eq sh, Floating a) => Order -> T [] (a, (Vector sh a, Vector sh a)) -> Hermitian sh a
- toSquare :: (C sh, Floating a) => Hermitian sh a -> Square sh a
- covariance :: (C height, C width, Eq width, Floating a) => General height width a -> Hermitian width a
- addAdjoint :: (C sh, Floating a) => Square sh a -> Hermitian sh a
- solve :: (C vert, C horiz, C sh, Eq sh, C nrhs, Floating a) => Hermitian sh a -> Full vert horiz sh nrhs a -> Full vert horiz sh nrhs a
- inverse :: (C sh, Floating a) => Hermitian sh a -> Hermitian sh a
- determinant :: (C sh, Floating a) => Hermitian sh a -> RealOf a
- eigenvalues :: (C sh, Floating a) => Hermitian sh a -> Vector sh (RealOf a)
- eigensystem :: (C sh, Floating a) => Hermitian sh a -> (Square sh a, Vector sh (RealOf a))

# Documentation

data Transposition Source

multiplyVector :: (C sh, Eq sh, Floating a) => Transposition -> Hermitian sh a -> Vector sh a -> Vector sh aSource

multiplyFull :: (C vert, C horiz, C height, Eq height, C width, Floating a) => Transposition -> Hermitian height a -> Full vert horiz height width a -> Full vert horiz height width aSource

sumRank1 :: (C sh, Eq sh, Floating a) => Order -> sh -> [(RealOf a, Vector sh a)] -> Hermitian sh aSource

sumRank1NonEmpty :: (C sh, Eq sh, Floating a) => Order -> T [] (RealOf a, Vector sh a) -> Hermitian sh aSource

sumRank2 :: (C sh, Eq sh, Floating a) => Order -> sh -> [(a, (Vector sh a, Vector sh a))] -> Hermitian sh aSource

sumRank2NonEmpty :: (C sh, Eq sh, Floating a) => Order -> T [] (a, (Vector sh a, Vector sh a)) -> Hermitian sh aSource

covariance :: (C height, C width, Eq width, Floating a) => General height width a -> Hermitian width aSource

A^H * A