Skip to content

Commit

Permalink
move Data.Complex instance to the base package
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcdonell committed Sep 8, 2014
1 parent 7924c8a commit cfd6138
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 148 deletions.
142 changes: 0 additions & 142 deletions Data/Array/Accelerate/Math/Complex.hs

This file was deleted.

2 changes: 1 addition & 1 deletion Data/Array/Accelerate/Math/DFT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module Data.Array.Accelerate.Math.DFT (
import Prelude as P hiding ((!!))
import Data.Array.Accelerate as A
import Data.Array.Accelerate.Math.DFT.Roots
import Data.Array.Accelerate.Math.Complex
import Data.Array.Accelerate.Data.Complex


-- | Compute the DFT along the low order dimension of an array
Expand Down
2 changes: 1 addition & 1 deletion Data/Array/Accelerate/Math/DFT/Centre.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module Data.Array.Accelerate.Math.DFT.Centre (

import Prelude as P
import Data.Array.Accelerate as A
import Data.Array.Accelerate.Math.Complex
import Data.Array.Accelerate.Data.Complex


-- | Apply the centring transform to a vector
Expand Down
2 changes: 1 addition & 1 deletion Data/Array/Accelerate/Math/DFT/Roots.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module Data.Array.Accelerate.Math.DFT.Roots (

import Prelude as P
import Data.Array.Accelerate as A
import Data.Array.Accelerate.Math.Complex
import Data.Array.Accelerate.Data.Complex


-- | Calculate the roots of unity for the forward transform
Expand Down
2 changes: 1 addition & 1 deletion Data/Array/Accelerate/Math/FFT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module Data.Array.Accelerate.Math.FFT (
import Prelude as P
import Data.Array.Accelerate as A
import Data.Array.Accelerate.Array.Sugar ( showShape )
import Data.Array.Accelerate.Math.Complex
import Data.Array.Accelerate.Data.Complex

#ifdef ACCELERATE_CUDA_BACKEND
import Data.Array.Accelerate.CUDA.Foreign
Expand Down
3 changes: 1 addition & 2 deletions accelerate-fft.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ Library
Build-depends: accelerate == 0.15.*,
base >= 4.6 && < 4.8

Exposed-modules: Data.Array.Accelerate.Math.Complex
Data.Array.Accelerate.Math.FFT
Exposed-modules: Data.Array.Accelerate.Math.FFT
Data.Array.Accelerate.Math.DFT
Data.Array.Accelerate.Math.DFT.Centre
Data.Array.Accelerate.Math.DFT.Roots
Expand Down

0 comments on commit cfd6138

Please sign in to comment.