Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype CartesianQuaternion a = CartesianQuaternion {}
Documentation
newtype CartesianQuaternion a Source #
Arbitrary instances of this type are restricted to increment of 90 degrees along cartesian axis
Instances
Show a => Show (CartesianQuaternion a) Source # | |
Defined in Linear.Quaternion.Arbitrary showsPrec :: Int -> CartesianQuaternion a -> ShowS # show :: CartesianQuaternion a -> String # showList :: [CartesianQuaternion a] -> ShowS # | |
(Arbitrary a, Epsilon a, Floating a) => Arbitrary (CartesianQuaternion a) Source # | |
Defined in Linear.Quaternion.Arbitrary arbitrary :: Gen (CartesianQuaternion a) # shrink :: CartesianQuaternion a -> [CartesianQuaternion a] # |
Orphan instances
(Arbitrary a, Epsilon a, Floating a) => Arbitrary (Quaternion a) Source # | `Arbitrary Quaternion` instance |
arbitrary :: Gen (Quaternion a) # shrink :: Quaternion a -> [Quaternion a] # |