Cartesian-0.1.0.0: Coordinate systems

LicenseMIT
MaintainerJonatan H Sundqvist
Stabilityexperimental|stable
PortabilityPOSIX (not sure)
Safe HaskellSafe
LanguageHaskell2010

Cartesian.Plane.Utilities

Description

 

Synopsis

Documentation

dotmap :: (a -> b) -> Complex a -> Complex b Source

Applies a function to each component in a vector

dotwise :: (a -> a -> b) -> Complex a -> Complex a -> Complex b Source

flipx :: Complex Double -> Complex Double Source

Negates the real component (X)

flipy :: Complex Double -> Complex Double Source

Negates the imaginary component (Y)

real :: Double -> Complex Double Source

Creates a number on the real line (where the imaginary part is 0)

imag :: Double -> Complex Double Source

Creates a number on the imaginary line (where the real part is 0)