Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- newtype UnitV3 a = UnitV3 {}
- newtype NonZeroV3 a = NonZeroV3 {
- unNonZeroV3 :: V3 a
- newtype CartesianUnitV3 a = CartesianUnitV3 {
- unCartesianUnitV3 :: V3 a
- newtype BasisV3 a = BasisV3 {}
Documentation
`Arbitrary UnitV3` always has norm 1
`Arbitrary NonZero` is never the zero vector
NonZeroV3 | |
|
newtype CartesianUnitV3 a Source #
`Arbitrary CartesianUnitV3` is a unit vector along cartesian axis
Instances
Show a => Show (CartesianUnitV3 a) Source # | |
Defined in Linear.V3.Arbitrary showsPrec :: Int -> CartesianUnitV3 a -> ShowS # show :: CartesianUnitV3 a -> String # showList :: [CartesianUnitV3 a] -> ShowS # | |
(Arbitrary a, Epsilon a, Floating a) => Arbitrary (CartesianUnitV3 a) Source # | |
Defined in Linear.V3.Arbitrary arbitrary :: Gen (CartesianUnitV3 a) # shrink :: CartesianUnitV3 a -> [CartesianUnitV3 a] # |
`Aribtrary BasisV3` is a orthonormal set of vectors