typelevel-tensor 0.1.0.2 → 0.1.0.3
raw patch · 2 files changed
+8/−12 lines, 2 filesdep +arraydep ~numeric-prelude
Dependencies added: array
Dependency ranges changed: numeric-prelude
Files
Data/Tensor/TypeLevel/Axis.hs view
@@ -4,7 +4,7 @@ -- > import qualified Language.Paraiso.Axis as Axis module Data.Tensor.TypeLevel.Axis- (dimension, next, prev, all, allFrom, others, fromVector)+ (dimension, next, prev, all, allFrom, others) where import Data.Tensor.TypeLevel hiding (dimension)@@ -39,7 +39,3 @@ others :: (Vector v) => Axis v -> [Axis v] others axis = let dim = dimension axis in map head [[Axis $ (axisIndex axis+i) `mod` dim, axis] | i<-[1..dim-1]]---- | All the axes belonging to the vector.-fromVector :: (Vector v) => v a -> [Axis v]-fromVector x = let dim = T.dimension x in [Axis i | i<-[0..dim-1]]
typelevel-tensor.cabal view
@@ -16,7 +16,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version: 0.1.0.2+Version: 0.1.0.3 -- A short (one-line) description of the package. Synopsis: Tensors whose ranks and dimensions type-inferred and type-checked.@@ -44,9 +44,9 @@ -- Copyright: Category: Data-+Tested-With: GHC==7.0.3, GHC==7.4.1 Build-type: Simple-Tested-With: GHC==7.0.3+ -- Extra files to be distributed with the package, such as examples or -- a README. -- Extra-source-files: @@ -67,7 +67,7 @@ -- Packages needed in order to build this package. Build-depends: base == 4.*, control-monad-failure >= 0.7.0 && < 0.8,- numeric-prelude >= 0.2.1 && < 0.3+ numeric-prelude >= 0.3 -- Modules not exported by this package. -- Other-modules: @@ -87,10 +87,10 @@ test-suite runtests type: exitcode-stdio-1.0- Build-depends: base == 4.* ,+ Build-depends: array >= 0.4,+ base == 4.* , control-monad-failure >= 0.7.0 && < 0.8 ,- numeric-prelude >= 0.2.1 && < 0.3 ,-+ numeric-prelude >= 0.3 , test-framework , test-framework-quickcheck2 , test-framework-hunit ,