Safe Haskell | None |
---|---|
Language | Haskell98 |
- newtype BasisCoblade m = BasisCoblade {}
- type Comultivector r m = Covector r (BasisCoblade m)
- class Eigenbasis m where
- class (Ring r, Eigenbasis m) => Eigenmetric r m where
- newtype Euclidean = Euclidean Int
- grade :: BasisCoblade m -> Int
- filterGrade :: Monoidal r => BasisCoblade m -> Int -> Comultivector r m
- reverse :: Group r => BasisCoblade m -> Comultivector r m
- gradeInversion :: Group r => BasisCoblade m -> Comultivector r m
- cliffordConjugate :: Group r => BasisCoblade m -> Comultivector r m
- geometric :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- outer :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- contractL :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- contractR :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- hestenes :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- dot :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m
- liftProduct :: (BasisCoblade m -> BasisCoblade m -> Comultivector r m) -> Comultivector r m -> Comultivector r m -> Comultivector r m
Geometric coalgebra primitives
newtype BasisCoblade m Source #
RightModule Natural (BasisCoblade m) Source # | |
LeftModule Natural (BasisCoblade m) Source # | |
Eigenmetric r m => Coalgebra r (BasisCoblade m) Source # | |
Eigenmetric r m => CounitalCoalgebra r (BasisCoblade m) Source # | |
Bounded (BasisCoblade m) Source # | |
Enum (BasisCoblade m) Source # | |
Eq (BasisCoblade m) Source # | |
Integral (BasisCoblade m) Source # | |
Num (BasisCoblade m) Source # | |
Ord (BasisCoblade m) Source # | |
Read (BasisCoblade m) Source # | |
Real (BasisCoblade m) Source # | |
Show (BasisCoblade m) Source # | |
Ix (BasisCoblade m) Source # | |
Bits (BasisCoblade m) Source # | |
Abelian (BasisCoblade m) Source # | |
Additive (BasisCoblade m) Source # | |
Monoidal (BasisCoblade m) Source # | |
Semiring (BasisCoblade m) Source # | |
Multiplicative (BasisCoblade m) Source # | |
Unital (BasisCoblade m) Source # | |
Commutative (BasisCoblade m) Source # | |
DecidableAssociates (BasisCoblade m) Source # | |
DecidableUnits (BasisCoblade m) Source # | |
DecidableZero (BasisCoblade m) Source # | |
Rig (BasisCoblade m) Source # | |
type Comultivector r m = Covector r (BasisCoblade m) Source #
Operations over an eigenbasis
class Eigenbasis m where Source #
euclidean, antiEuclidean, v, e
class (Ring r, Eigenbasis m) => Eigenmetric r m where Source #
Ring r => Eigenmetric r Euclidean Source # | |
Grade
grade :: BasisCoblade m -> Int Source #
filterGrade :: Monoidal r => BasisCoblade m -> Int -> Comultivector r m Source #
Inversions
reverse :: Group r => BasisCoblade m -> Comultivector r m Source #
gradeInversion :: Group r => BasisCoblade m -> Comultivector r m Source #
cliffordConjugate :: Group r => BasisCoblade m -> Comultivector r m Source #
Products
geometric :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
outer :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
Inner products
contractL :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
contractR :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
hestenes :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
dot :: Eigenmetric r m => BasisCoblade m -> BasisCoblade m -> Comultivector r m Source #
liftProduct :: (BasisCoblade m -> BasisCoblade m -> Comultivector r m) -> Comultivector r m -> Comultivector r m -> Comultivector r m Source #