Data.Array.Repa.Algorithms.Complex
Contents
Description
Strict complex doubles.
type Complex = (Double, Double) Source #
Complex doubles.
mag :: Complex -> Double Source #
Take the magnitude of a complex number.
arg :: Complex -> Double Source #
Take the argument (phase) of a complex number, in the range [-pi .. pi].
Methods
(/) :: Complex -> Complex -> Complex #
recip :: Complex -> Complex #
fromRational :: Rational -> Complex #
(+) :: Complex -> Complex -> Complex #
(-) :: Complex -> Complex -> Complex #
(*) :: Complex -> Complex -> Complex #
negate :: Complex -> Complex #
abs :: Complex -> Complex #
signum :: Complex -> Complex #
fromInteger :: Integer -> Complex #