From 3ffea9114b573eb11e2e41ddfc6a8b69fdd6baed Mon Sep 17 00:00:00 2001 From: Peter Dobsan Date: Fri, 27 Apr 2018 00:08:15 +0200 Subject: Fixed vector show instance and related haddock entries. --- packages/base/src/Internal/Sparse.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/base/src/Internal/Sparse.hs') 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 {- | general matrix - vector product >>> let m = mkSparse [((0,999),1.0),((1,1999),2.0)] +m :: GMatrix >>> m !#> vector [1..2000] -fromList [1000.0,4000.0] +[1000.0,4000.0] +it :: Vector Double -} infixr 8 !#> -- cgit v1.2.3