packages feed

matrices-0.4.2: matrices.cabal

-- Initial matrices.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

name:                matrices
version:             0.4.2
synopsis:            native matrix based on vector
description:         This library provide the APIs for creating, indexing,
                     modifying matrices (2d arrays), including dense and
                     sparse representations. The underling data
                     structure is vector.
license:             BSD3
license-file:        LICENSE
author:              Kai Zhang
maintainer:          kai@kzhang.org
copyright:           (c) 2015 Kai Zhang
category:            Data
build-type:          Simple
-- extra-source-files:
cabal-version:       >=1.10

library
  exposed-modules:
    Data.Matrix
    Data.Matrix.Mutable
    Data.Matrix.Storable
    Data.Matrix.Storable.Mutable
    Data.Matrix.Unboxed
    Data.Matrix.Unboxed.Mutable
    Data.Matrix.Generic
    Data.Matrix.Generic.Mutable
    Data.Matrix.Dense.Generic
    Data.Matrix.Dense.Generic.Mutable
    Data.Matrix.Sparse.Generic
    Data.Matrix.Symmetric
    Data.Matrix.Symmetric.Mutable

  ghc-options: -Wall -fwarn-tabs -funbox-strict-fields

  -- other-modules:

  build-depends:
      base >=4.0 && <5
    , vector >=0.9
    , primitive

  hs-source-dirs:      src
  default-language:    Haskell2010

benchmark benchmarks
  type:           exitcode-stdio-1.0
  main-is:        benchmarks.hs
  hs-source-dirs: benchmarks
  build-depends:
      base
    , matrices
    , vector
    , criterion
  default-language:    Haskell2010

source-repository head
  type: git
  location: https://github.com/kaizhang/matrices.git

test-suite test
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is: test.hs
  other-modules:

  default-language:    Haskell2010
  build-depends: 
      base
    , matrices
    , vector
    , tasty
    , tasty-hunit
    , tasty-quickcheck