summaryrefslogtreecommitdiff
path: root/packages/special/hmatrix-special.cabal
blob: 0890bc7bab9bf59970c31a9c3c999a2e12fb797c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Name:               hmatrix-special
Version:            0.19.0.0
License:            GPL-3
License-file:       LICENSE
Author:             Alberto Ruiz
Maintainer:         Alberto Ruiz <aruiz@um.es>
Stability:          experimental
Homepage:           https://github.com/albertoruiz/hmatrix
Synopsis:           Interface to GSL special functions
Description:
 Interface to GSL special functions.

Category:           Math
tested-with:        GHC ==7.4

cabal-version:      >=1.6
build-type:         Simple

extra-source-files: lib/Numeric/GSL/Special/auto.hs,
                    lib/Numeric/GSL/Special/autoall.sh,
                    lib/Numeric/GSL/Special/replace.hs,
                    CHANGES

flag safe-cheap
    description:    use slower non-blocking "safe" foreign calls
                    to GSL special functions.
    default:        False

library
    Build-Depends:  base <5, hmatrix>=0.17, hmatrix-gsl

    Extensions:     ForeignFunctionInterface

    hs-source-dirs:     lib

    Exposed-modules:    Numeric.GSL.Special,
                        Numeric.GSL.Special.Gamma,
                        Numeric.GSL.Special.Erf,
                        Numeric.GSL.Special.Airy,
                        Numeric.GSL.Special.Exp,
                        Numeric.GSL.Special.Bessel,
                        Numeric.GSL.Special.Clausen,
                        Numeric.GSL.Special.Coulomb,
                        Numeric.GSL.Special.Coupling,
                        Numeric.GSL.Special.Dawson,
                        Numeric.GSL.Special.Debye,
                        Numeric.GSL.Special.Dilog,
                        Numeric.GSL.Special.Elementary,
                        Numeric.GSL.Special.Ellint,
                        Numeric.GSL.Special.Elljac,
                        Numeric.GSL.Special.Expint,
                        Numeric.GSL.Special.Fermi_dirac,
                        Numeric.GSL.Special.Gegenbauer,
                        Numeric.GSL.Special.Hyperg,
                        Numeric.GSL.Special.Laguerre,
                        Numeric.GSL.Special.Lambert,
                        Numeric.GSL.Special.Legendre,
                        Numeric.GSL.Special.Log,
                        Numeric.GSL.Special.Pow_int,
                        Numeric.GSL.Special.Psi,
                        Numeric.GSL.Special.Synchrotron,
                        Numeric.GSL.Special.Transport,
                        Numeric.GSL.Special.Trig,
                        Numeric.GSL.Special.Zeta

    other-modules:      Numeric.GSL.Special.Internal

    ghc-options:  -Wall -fno-warn-unused-binds

    if flag(safe-cheap)
        cpp-options: -DSAFE_CHEAP=safe
    else
        cpp-options: -DSAFE_CHEAP=unsafe

source-repository head
    type:     git
    location: https://github.com/albertoruiz/hmatrix