packages feed

vector-fftw-0.1: vector-fftw.cabal

Name:                vector-fftw

Version:             0.1
License:             BSD3
License-file:        LICENSE
Author:              Judah Jacobson
Maintainer:          Judah Jacobson <judah.jacobson@gmail.com>
Copyright:           (c) Judah Jacobson, 2010
Category:            Math
Build-type:          Simple
Cabal-version:       >=1.6
Synopsis:            A binding to the fftw library for one-dimensional vectors.
Description:         This package provides bindings to the fftw library for one-dimensional vectors.
                     It provides both high-level functions and more low-level manipulation of fftw plans.
                     .
                     We provide three different modules which wrap fftw's operations:
                     .
                      - "Numeric.FFT.Vector.Unnormalized" contains the raw transforms;
                     . 
                      - "Numeric.FFT.Vector.Invertible" scales the backwards transforms to be true inverses;
                     .
                      - "Numeric.FFT.Vector.Unitary" additionally scales all transforms to preserve the L2 (sum-of-squares) norm of the
                        input.
                     .
                     Note that this package is currently not thread-safe.


Library
  Exposed-modules:     
        Numeric.FFT.Vector.Unnormalized
        Numeric.FFT.Vector.Invertible
        Numeric.FFT.Vector.Unitary
        Numeric.FFT.Vector.Plan

  Other-modules:
        Numeric.FFT.Vector.Base
  
  Build-depends: base==4.* && < 4.4, vector==0.7.*, primitive==0.3.*,
                 storable-complex==0.2.*
  Extra-libraries: fftw3

  Extensions: ForeignFunctionInterface, RecordWildCards, BangPatterns, FlexibleInstances,
                ScopedTypeVariables
  ghc-options: -Wall

  Ghc-Options: -O2