packages feed

simple-vec3-0.1.0.0: simple-vec3.cabal

name:                simple-vec3
version:             0.1.0.0

synopsis:            Three-dimensional vectors of doubles with basic operations,
                     supporting Unbox and Storable class

description:         A class of 3-vectors with a set of basic methods for
                     geometry operations on vectors and an associated
                     matrix type. Several instances are provided for
                     use with "Data.Vector.Unboxed" and
                     "Data.Vector.Storable" as container types.

homepage:            http://github.com/dzhus/simple-vec3/
license:             BSD3
license-file:        LICENSE
author:              Dmitry Dzhus
maintainer:          <dima@dzhus.org>
category:            Math, Numerical

build-type:          Simple
cabal-version:       >=1.8
tested-with:         GHC == 7.6.1

source-repository head
  type:     git
  location: http://github.com/dzhus/simple-vec3/

library
  hs-source-dirs: src

  ghc-options: -Wall -O2 -fllvm

  exposed-modules:
    Data.Vec3
    Data.Vec3.Class
    Data.Vec3.Storable
    Data.Vec3.TUnboxed
    Data.Vec3.Unboxed

  build-depends:
    base        == 4.6.*,
    vector      == 0.10.*

executable simple-vec3-benchmark
   main-is: benchmark/Benchmark.hs

   ghc-options: -Wall -O2 -fllvm -rtsopts

   build-depends:
     base       == 4.6.*,
     criterion  == 0.6.*,
     simple-vec3,
     vector     == 0.10.*