Safe Haskell | None |
---|---|
Language | Haskell98 |
- class Distinguished t where
- class Distinguished r => Complicated r where
- class Complicated t => Hamiltonian t where
- data QuaternionBasis'
- data Quaternion' a = Quaternion' a a a a
- complicate' :: Complicated c => QuaternionBasis' -> (c, c)
- vectorPart' :: (Representable f, Rep f ~ QuaternionBasis') => f r -> (r, r, r)
- scalarPart' :: (Representable f, Rep f ~ QuaternionBasis') => f r -> r
Documentation
class Distinguished t where Source #
Distinguished TrigBasis Source # | |
Distinguished QuaternionBasis' Source # | |
Distinguished DualBasis' Source # | |
Distinguished QuaternionBasis Source # | |
Distinguished DualBasis Source # | |
Distinguished ComplexBasis Source # | |
Rig r => Distinguished (Trig r) Source # | |
Rig r => Distinguished (Quaternion' r) Source # | |
Rig r => Distinguished (Dual' r) Source # | |
Rig r => Distinguished (Quaternion r) Source # | |
Rig r => Distinguished (Dual r) Source # | |
Rig r => Distinguished (Complex r) Source # | |
Rig r => Distinguished (TrigBasis -> r) Source # | |
Rig r => Distinguished (QuaternionBasis' -> r) Source # | |
Rig r => Distinguished (DualBasis' -> r) Source # | |
Rig r => Distinguished (QuaternionBasis -> r) Source # | |
Rig r => Distinguished (DualBasis -> r) Source # | |
Rig r => Distinguished (ComplexBasis -> r) Source # | |
Distinguished a => Distinguished (Covector r a) Source # | |
class Distinguished r => Complicated r where Source #
Complicated TrigBasis Source # | |
Complicated QuaternionBasis' Source # | |
Complicated QuaternionBasis Source # | |
Complicated ComplexBasis Source # | |
Rig r => Complicated (Trig r) Source # | |
Rig r => Complicated (Quaternion' r) Source # | |
Rig r => Complicated (Quaternion r) Source # | |
Rig r => Complicated (Complex r) Source # | |
Rig r => Complicated (TrigBasis -> r) Source # | |
Rig r => Complicated (QuaternionBasis' -> r) Source # | |
Rig r => Complicated (QuaternionBasis -> r) Source # | |
Rig r => Complicated (ComplexBasis -> r) Source # | |
Complicated a => Complicated (Covector r a) Source # | |
class Complicated t => Hamiltonian t where Source #
Hamiltonian QuaternionBasis' Source # | |
Hamiltonian QuaternionBasis Source # | |
Rig r => Hamiltonian (Quaternion' r) Source # | |
Rig r => Hamiltonian (Quaternion r) Source # | |
Rig r => Hamiltonian (QuaternionBasis' -> r) Source # | |
Rig r => Hamiltonian (QuaternionBasis -> r) Source # | |
Hamiltonian a => Hamiltonian (Covector r a) Source # | |
data QuaternionBasis' Source #
data Quaternion' a Source #
Quaternion' a a a a |
complicate' :: Complicated c => QuaternionBasis' -> (c, c) Source #
Cayley-Dickson quaternion isomorphism (one way)
vectorPart' :: (Representable f, Rep f ~ QuaternionBasis') => f r -> (r, r, r) Source #
scalarPart' :: (Representable f, Rep f ~ QuaternionBasis') => f r -> r Source #