Cartesian-0.1.0.0: Coordinate systems
Cartesian.Plane.Utilities
Description
Synopsis
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)