packages feed

jacobi-roots-0.2.0.2: jacobi-roots.cabal

name:                jacobi-roots
version:             0.2.0.2
license:             GPL-3
license-file:        LICENSE
author:              Greg Horn
maintainer:          gregmainland@gmail.com
copyright:           (c) 2013 Greg Horn
category:            Math
homepage:            http://github.com/ghorn/jacobi-roots
bug-reports:         http://github.com/ghorn/jacobi-roots/issues
build-type:          Simple
cabal-version:       >=1.10
synopsis:            Roots of two shifted Jacobi polynomials (Legendre and Radau) to double precision
description:
    This package provides roots of shifted Radau and Legendre polynomials to double precision.
    .
    The roots are precomputed using a Mathematica script, and degrees of up to a few hundred are provided.
    .
    See the "JacobiRoots" module for documentation
    .
    To build this from scratch, first run @compute_roots.nb@ in Mathematica to generate @gen\/JacobiRootsRaw300.hs@. Then type @make@ to run @gen\/Convert.hs@, which creates @src\/JacobiRootsBinary.hs@. Then the normal @cabal configure; cabal build@

extra-source-files:  compute_roots.nb
                     gen/Convert.hs
--                     gen/JacobiRootsRaw300.hs
                     Makefile

library
  hs-source-dirs:      src
  exposed-modules:     JacobiRoots
  other-modules:       JacobiRootsBinary
  build-depends:       base >= 4 && < 5,
                       vector,
                       bytestring,
                       binary
  default-language:    Haskell2010
  ghc-options:         -O2

source-repository head
  type: git
  location: git://github.com/ghorn/jacobi-roots.git

test-suite doctests
  type:                exitcode-stdio-1.0
  main-is:             doctests.hs
  build-depends:       base >= 4 && < 5,
                       doctest >= 0.8
  default-language:    Haskell2010
  ghc-options:         -threaded
  hs-source-dirs:      tests