packages feed

hmatrix-svdlibc-0.4.1: hmatrix-svdlibc.cabal

name:                hmatrix-svdlibc
version:             0.4.1
synopsis:            SVDLIBC bindings for HMatrix
description:
  Bindings for the sparse singular value decomposition
  provided by SVDLIBC.
homepage:            http://github.com/bgamari/hmatrix-svdlibc
license:             BSD3
license-file:        LICENSE
author:              Ben Gamari
maintainer:          ben@smart-cactus.org
copyright:           (c) 2014 Ben Gamari
category:            Math
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:  cbits/*.c, include/*.h, svdlibc/*.c, svdlibc/*.h, svdlibc/README.md
tested-with:         GHC ==7.10.3, GHC ==8.0.1

source-repository head
  type:                git
  location:            git://github.com/bgamari/hmatrix-svdlibc.git

library
  exposed-modules:     Numeric.LinearAlgebra.SVD.SVDLIBC
  C-sources:           cbits/glue.c, svdlibc/svdlib.c, svdlibc/svdutil.c, svdlibc/las2.c
  Include-dirs:        include, svdlibc
  Includes:            glue.h, svdlib.h
  build-depends:       base >=4.6 && <5.0,
                       hmatrix >=0.17 && <0.19,
                       vector >= 0.11
  default-language:    Haskell2010

test-suite svdlibc-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  c-sources:           cbits/glue.c, svdlibc/svdlib.c, svdlibc/svdutil.c, svdlibc/las2.c
  include-dirs:        include, svdlibc
  includes:            glue.h, svdlib.h
  main-is:             Numeric/LinearAlgebra/SVD/Spec.hs
  build-depends:       hmatrix-svdlibc,
                       base >=4.6 && <5.0,
                       hmatrix >=0.17 && <0.19,
                       vector >= 0.11,
                       hspec >= 2.2,
                       QuickCheck >= 2.8
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

benchmark svdlibc-benchmarks
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  c-sources:           cbits/glue.c, svdlibc/svdlib.c, svdlibc/svdutil.c, svdlibc/las2.c
  include-dirs:        include, svdlibc
  includes:            glue.h, svdlib.h
  main-is:             Numeric/LinearAlgebra/SVD/Benchmarks.hs
  build-depends:       hmatrix-svdlibc,
                       base >=4.6 && <5.0,
                       hmatrix >=0.17 && <0.19,
                       vector >= 0.11,
                       criterion >= 1.1
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010