Safe Haskell | None |
---|
- class Distinguished t where
- e :: t
- class Distinguished r => Complicated r where
- i :: r
- data ComplexBasis
- data Complex a = Complex a a
- realPart :: (Representable f, Key f ~ ComplexBasis) => f a -> a
- imagPart :: (Representable f, Key f ~ ComplexBasis) => f a -> a
- uncomplicate :: Hamiltonian q => ComplexBasis -> ComplexBasis -> q
Documentation
class Distinguished t whereSource
Distinguished ComplexBasis | |
Distinguished QuaternionBasis | |
Distinguished DualBasis | |
Distinguished DualBasis' | |
Distinguished QuaternionBasis' | |
Distinguished TrigBasis | |
Rig r => Distinguished (Complex r) | |
Rig r => Distinguished (Quaternion r) | |
Rig r => Distinguished (Dual r) | |
Rig r => Distinguished (Dual' r) | |
Rig r => Distinguished (Quaternion' r) | |
Rig r => Distinguished (Trig r) | |
Rig r => Distinguished (ComplexBasis -> r) | |
Rig r => Distinguished (QuaternionBasis -> r) | |
Rig r => Distinguished (DualBasis -> r) | |
Rig r => Distinguished (DualBasis' -> r) | |
Rig r => Distinguished (QuaternionBasis' -> r) | |
Rig r => Distinguished (TrigBasis -> r) | |
Rig r => Distinguished (:->: ComplexBasis r) | |
Rig r => Distinguished (:->: QuaternionBasis r) | |
Rig r => Distinguished (:->: QuaternionBasis' r) | |
Rig r => Distinguished (:->: TrigBasis r) | |
Distinguished a => Distinguished (Covector r a) |
class Distinguished r => Complicated r whereSource
data ComplexBasis Source
Complex a a |
realPart :: (Representable f, Key f ~ ComplexBasis) => f a -> aSource
imagPart :: (Representable f, Key f ~ ComplexBasis) => f a -> aSource
uncomplicate :: Hamiltonian q => ComplexBasis -> ComplexBasis -> qSource
half of the Cayley-Dickson quaternion isomorphism