rsagl-0.2.2: The RogueStar Animation and Graphics LibrarySource codeContentsIndex
RSAGL.AbstractVector
Documentation
class (AbstractZero v, AbstractAdd v v, AbstractSubtract v v, AbstractScale v) => AbstractVector v Source
show/hide Instances
class AbstractZero a whereSource
Methods
zero :: aSource
show/hide Instances
class AbstractAdd p v | p -> v whereSource
Methods
add :: p -> v -> pSource
show/hide Instances
class AbstractSubtract p v | p -> v whereSource
Methods
sub :: p -> p -> vSource
show/hide Instances
class AbstractScale v whereSource
Methods
scalarMultiply :: Double -> v -> vSource
show/hide Instances
class AbstractMagnitude v whereSource
Methods
magnitude :: v -> DoubleSource
show/hide Instances
abstractScaleTo :: (AbstractScale v, AbstractMagnitude v) => Double -> v -> vSource
abstractSum :: (AbstractAdd p v, AbstractZero p) => [v] -> pSource
abstractAverage :: (AbstractAdd p v, AbstractSubtract p v, AbstractVector v) => [p] -> pSource
abstractDistance :: (AbstractMagnitude v, AbstractSubtract p v) => p -> p -> DoubleSource
Produced by Haddock version 2.3.0