hTensor 0.1.0 → 0.1.1
raw patch · 4 files changed
+5/−13 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- INSTALL +0/−3
- README +0/−0
- hTensor.cabal +3/−5
- lib/Numeric/LinearAlgebra/Array/Internal.hs +2/−5
− INSTALL
@@ -1,3 +0,0 @@-INSTALLATION--$ cabal install hTensor
− README
hTensor.cabal view
@@ -1,5 +1,5 @@ Name: hTensor-Version: 0.1.0+Version: 0.1.1 License: GPL License-file: LICENSE Author: Alberto Ruiz@@ -31,8 +31,6 @@ cabal-version: >=1.2 build-type: Simple -extra-source-files: README INSTALL- extra-source-files: examples/array.hs examples/exterior.hs examples/geom.hs@@ -49,14 +47,14 @@ Build-Depends: haskell98, hmatrix >= 0.5, containers hs-source-dirs: lib- Exposed-modules: Numeric.LinearAlgebra.Array.Simple- Numeric.LinearAlgebra.Array.Util+ Exposed-modules: Numeric.LinearAlgebra.Array.Util Numeric.LinearAlgebra.Array Numeric.LinearAlgebra.Tensor Numeric.LinearAlgebra.Exterior Numeric.LinearAlgebra.Multivector other-modules: Numeric.LinearAlgebra.Array.Internal+ Numeric.LinearAlgebra.Array.Simple ghc-prof-options: -auto-all
lib/Numeric/LinearAlgebra/Array/Internal.hs view
@@ -281,10 +281,7 @@ ------------------------------------------------------------- --- | Apply a function on vectors to conformant arrays. Two arrays are 'conformant' if--- the dimensional structure of one of them is contained in the other one. The smaller--- structure is replicated along the extra dimensions. The result has the same index--- order as the largest structure (or as the first argument, if they are equal).+-- | Apply an element-by-element binary function to the coordinates of two arrays. The arguments are automatically made conformant. zipArray :: (Coord a, Coord b, Compat i) => (Vector a -> Vector b -> Vector c) -- ^ transformation -> NArray i a@@ -514,7 +511,7 @@ ------------------------------------------------------------------------ --- | Select some parts of a tensor, taking into account position and value.+-- | Select some parts of an array, taking into account position and value. extract :: (Compat i, Coord t) => (Int -> NArray i t -> Bool) -> Name