| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Linear.V3.Arbitrary
Contents
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
Constructors
| NonZeroV3 | |
Fields
| |
newtype CartesianUnitV3 a Source #
`Arbitrary CartesianUnitV3` is a unit vector along cartesian axis
Constructors
| CartesianUnitV3 | |
Fields
| |
Instances
| Show a => Show (CartesianUnitV3 a) Source # | |
Defined in Linear.V3.Arbitrary Methods 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 | |
`Aribtrary BasisV3` is a orthonormal set of vectors