packages feed

hspray-0.5.2.0: hspray.cabal

name:                hspray
version:             0.5.2.0
synopsis:            Multivariate polynomials and fractions of multivariate polynomials.
description:         Manipulation of multivariate polynomials over a commutative ring and fractions of multivariate polynomials over a commutative field, Gröbner bases, resultant, subresultants, Sturm-Habicht sequence, and greatest common divisor. It is possible to deal with multivariate polynomials whose coefficients are fractions of multivariate polynomials, and they can be interpreted as parametric polynomials with symbolic parameters.
homepage:            https://github.com/stla/hspray#readme
license:             GPL-3
license-file:        LICENSE
author:              Stéphane Laurent
maintainer:          laurent_step@outlook.fr
copyright:           2022-2024 Stéphane Laurent
category:            Math, Algebra
build-type:          Simple
extra-source-files:  README.md
                     CHANGELOG.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     Math.Algebra.Hspray
  build-depends:       base >= 4.7 && < 5
                     , containers >= 0.6.4.1 && < 0.8
                     , hashable >= 1.3.4.0 && < 1.5
                     , unordered-containers >= 0.2.17.0 && < 0.3
                     , numeric-prelude >= 0.4.4 && < 0.5
                     , text >= 1.2.5.0 && < 2.2
                     , matrix >= 0.3.6.0 && < 0.4
                     , extra >= 1.7 && < 1.8
  other-extensions:    FlexibleInstances
                     , FlexibleContexts
                     , MultiParamTypeClasses
                     , InstanceSigs
                     , ScopedTypeVariables
                     , GeneralizedNewtypeDeriving
                     , BangPatterns
                     , TypeFamilies
  default-language:    Haskell2010
  ghc-options:         -Wall
                       -Wcompat
                       -Widentities
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wmissing-export-lists
                       -Wmissing-home-modules
                       -Wpartial-fields
                       -Wredundant-constraints

test-suite unit-tests
  type:                 exitcode-stdio-1.0
  main-is:              Main.hs
  hs-source-dirs:       tests/
  other-modules:        Approx
  Build-Depends:        base >= 4.7 && < 5
                      , tasty >= 1.4 && < 1.6
                      , tasty-hunit >= 0.10 && < 0.11
                      , numeric-prelude >= 0.4.4 && < 0.5
                      , matrix >= 0.3.6.0 && < 0.4
                      , unordered-containers >= 0.2.17.0 && < 0.3
                      , hspray
  Default-Language:     Haskell2010
  ghc-options:         -Wall
                       -Wcompat
                       -Widentities
                       -Wincomplete-record-updates
                       -Wincomplete-uni-patterns
                       -Wmissing-export-lists
                       -Wmissing-home-modules
                       -Wpartial-fields
                       -Wredundant-constraints

benchmark benchmarks
  type:                 exitcode-stdio-1.0
  main-is:              Main.hs
  hs-source-dirs:       benchmarks/
  Build-Depends:        base >= 4.7 && < 5
                      , tasty-bench >= 0.3 && < 0.4
                      , numeric-prelude >= 0.4.4 && < 0.5
                      , hspray
  ghc-options:          "-with-rtsopts=-A32m"
  if impl(ghc >= 8.6)
    ghc-options:        -fproc-alignment=64
  default-language:     Haskell2010

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