repa-algorithms-3.4.1.4: Algorithms using the Repa array library.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Array.Repa.Algorithms.Complex

Description

Strict complex doubles.

Synopsis

Documentation

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].

Orphan instances