AC-Vector-2.4.0: Efficient geometric vectors and transformations.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Vector.Transform.T1

Description

1-dimensional linear transformations.

Synopsis

Documentation

data Transform1 Source #

The type of 1D linear transformations. Essentially, this is applying a linear function to a number.

Note the Monoid instance, which gives you access to the identity transform (mempty) and the ability to combine a series of transforms into a single transform (mappend).

Constructors

Transform1 

Fields

transformP1 :: Transform1 -> Vector1 -> Vector1 Source #

Apply a 1D transformation to a 1D point, yielding a new 1D point.