Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.RangeSpace.TwoD
Documentation
A wrapper for two-dimensional vector types.
Instances
(Eq a, Eq b) => Eq (D2V a b) | |
(Num a, Num b) => Num (D2V a b) | |
(Ord a, Ord b) => Ord (D2V a b) | |
(Show a, Show b) => Show (D2V a b) | |
(AffineSpace a, AffineSpace b) => AffineSpace (D2V a b) | |
(HasBasis a, HasBasis b, (~) * (Scalar a) (Scalar b)) => HasBasis (D2V a b) | |
(VectorSpace a, VectorSpace b, (~) * (Scalar a) (Scalar b)) => VectorSpace (D2V a b) | |
(AdditiveGroup a, AdditiveGroup b) => AdditiveGroup (D2V a b) | |
type Diff (D2V a b) = D2V (Diff a) (Diff b) | |
type Basis (D2V a b) = Either (Basis a) (Basis b) | |
type Scalar (D2V a b) = Scalar a |