hmatrix 0.20.1 → 0.20.2
raw patch · 4 files changed
+8/−8 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- hmatrix.cabal +5/−5
- src/Internal/Sparse.hs +1/−1
- src/Internal/Util.hs +1/−1
- src/Numeric/LinearAlgebra/Static.hs +1/−1
hmatrix.cabal view
@@ -1,11 +1,11 @@ Name: hmatrix-Version: 0.20.1+Version: 0.20.2 License: BSD3 License-file: LICENSE Author: Alberto Ruiz-Maintainer: Alberto Ruiz+Maintainer: Dominic Steinitz Stability: provisional-Homepage: https://github.com/albertoruiz/hmatrix+Homepage: https://github.com/haskell-numerics/hmatrix Synopsis: Numeric Linear Algebra Description: Linear systems, matrix decompositions, and other numerical computations based on BLAS and LAPACK. .@@ -16,7 +16,7 @@ Code examples: <http://dis.um.es/~alberto/hmatrix/hmatrix.html> Category: Math-tested-with: GHC==8.2, GHC==8.4+tested-with: GHC==8.10 cabal-version: >=1.18 @@ -161,4 +161,4 @@ source-repository head type: git- location: https://github.com/albertoruiz/hmatrix+ location: https://github.com/haskell-numerics/hmatrix
src/Internal/Sparse.hs view
@@ -179,7 +179,7 @@ fromCSR :: CSR -> GMatrix fromCSR csr = SparseR {..} where- gmCSR @ CSR {..} = csr+ gmCSR@CSR {..} = csr nRows = csrNRows nCols = csrNCols
src/Internal/Util.hs view
@@ -632,7 +632,7 @@ y:ys = redu (pivot n xs) pivot k = (const k &&& id)- . sortBy (flip compare `on` (abs. (!k)))+ . sortBy (flip compare `on` (abs. (! k))) redu :: (Int, [Vector t]) -> [Vector t] redu (k,x:zs)
src/Numeric/LinearAlgebra/Static.hs view
@@ -415,7 +415,7 @@ headTail :: (KnownNat n, 1<=n) => R n -> (ℝ, R (n-1))-headTail = ((!0) . extract *** id) . split+headTail = ((! 0) . extract *** id) . split splitRows :: forall p m n . (KnownNat p, KnownNat m, KnownNat n, p<=m) => L m n -> (L p n, L (m-p) n)