summaryrefslogtreecommitdiff
path: root/packages/base/src/Internal/Sparse.hs
diff options
context:
space:
mode:
authorPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:08:15 +0200
committerPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:08:15 +0200
commit3ffea9114b573eb11e2e41ddfc6a8b69fdd6baed (patch)
tree71aaf81c11befe87189598d305330637599a80c3 /packages/base/src/Internal/Sparse.hs
parentd83b17190029c11e3ab8b504e5cdc917f5863120 (diff)
Fixed vector show instance and related haddock entries.
Diffstat (limited to 'packages/base/src/Internal/Sparse.hs')
-rw-r--r--packages/base/src/Internal/Sparse.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/base/src/Internal/Sparse.hs b/packages/base/src/Internal/Sparse.hs
index 1ff3f57..a8a5fe0 100644
--- a/packages/base/src/Internal/Sparse.hs
+++ b/packages/base/src/Internal/Sparse.hs
@@ -170,8 +170,10 @@ gmXv Dense{..} v
170{- | general matrix - vector product 170{- | general matrix - vector product
171 171
172>>> let m = mkSparse [((0,999),1.0),((1,1999),2.0)] 172>>> let m = mkSparse [((0,999),1.0),((1,1999),2.0)]
173m :: GMatrix
173>>> m !#> vector [1..2000] 174>>> m !#> vector [1..2000]
174fromList [1000.0,4000.0] 175[1000.0,4000.0]
176it :: Vector Double
175 177
176-} 178-}
177infixr 8 !#> 179infixr 8 !#>