summaryrefslogtreecommitdiff
path: root/packages/base/src/Numeric
diff options
context:
space:
mode:
authorPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:09:35 +0200
committerPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:09:35 +0200
commit1286ae831088236213ea0ea94b0b288a2e0ce4bb (patch)
tree1e7117c4929a93af00e37ec7650c24613038492b /packages/base/src/Numeric
parentdd96a98207dbafbf81b4a5f02613963cf5bd4b4c (diff)
parent3ffea9114b573eb11e2e41ddfc6a8b69fdd6baed (diff)
Merge branch 'fix-vector-show-instance'
The show instance was changed in vector 0.11. The merged modifications adjust hmatrix/base to that change. That fixes issues #277 and #177.
Diffstat (limited to 'packages/base/src/Numeric')
-rw-r--r--packages/base/src/Numeric/LinearAlgebra.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra.hs b/packages/base/src/Numeric/LinearAlgebra.hs
index 970c77e..91923e9 100644
--- a/packages/base/src/Numeric/LinearAlgebra.hs
+++ b/packages/base/src/Numeric/LinearAlgebra.hs
@@ -29,7 +29,8 @@ module Numeric.LinearAlgebra (
29 -- as the Hadamard product or the Schur product): 29 -- as the Hadamard product or the Schur product):
30 -- 30 --
31 -- >>> vector [1,2,3] * vector [3,0,-2] 31 -- >>> vector [1,2,3] * vector [3,0,-2]
32 -- fromList [3.0,0.0,-6.0] 32 -- [3.0,0.0,-6.0]
33 -- it :: Vector R
33 -- 34 --
34 -- >>> matrix 3 [1..9] * ident 3 35 -- >>> matrix 3 [1..9] * ident 3
35 -- (3><3) 36 -- (3><3)