cabal-version:      2.2
name:               hypergeomatrix
version:            1.1.0.0
license:            BSD-3-Clause
license-file:       LICENSE
copyright:          2022 Stéphane Laurent
maintainer:         laurent_step@outlook.fr
author:             Stéphane Laurent
homepage:           https://github.com/stla/hypergeomatrix#readme
synopsis:           Hypergeometric function of a matrix argument
description:
    Evaluation of hypergeometric functions of a matrix argument,
    following Koev & Edelman's algorithm.

category:           Math, Numeric
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/stla/hypergeomatrix

library
    exposed-modules:  Math.HypergeoMatrix
    hs-source-dirs:   src
    other-modules:
        Math.HypergeoMatrix.HypergeoMatrix
        Math.HypergeoMatrix.Internal
        Math.HypergeoMatrix.Gaussian

    default-language: Haskell2010
    other-extensions:
        BangPatterns DefaultSignatures ScopedTypeVariables TypeFamilies
        TypeSynonymInstances

    ghc-options:      -Wall
    build-depends:
        base >=4.7 && <5,
        array >=0.5.4.0 && <0.6,
        containers >=0.6.5.1 && <0.7,
        cyclotomic >=1.1.1 && <1.2

test-suite unit-tests
    type:             exitcode-stdio-1.0
    main-is:          Main.hs
    hs-source-dirs:   tests/
    other-modules:    Approx
    default-language: Haskell2010
    build-depends:
        base >=4.7 && <5,
        tasty >=1.4.2.3 && <1.5,
        tasty-hunit >=0.10.0.3 && <0.11,
        hypergeomatrix -any