repa-algorithms-3.4.1.2: Algorithms using the Repa array library.

Safe HaskellSafe
LanguageHaskell98

Data.Array.Repa.Algorithms.Complex

Contents

Description

Strict complex doubles.

Synopsis

Documentation

type Complex = (Double, Double) #

Complex doubles.

mag :: Complex -> Double #

Take the magnitude of a complex number.

arg :: Complex -> Double #

Take the argument (phase) of a complex number, in the range [-pi .. pi].

Orphan instances