diff options
Diffstat (limited to 'packages/base/src/Data/Packed')
-rw-r--r-- | packages/base/src/Data/Packed/Numeric.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/base/src/Data/Packed/Numeric.hs b/packages/base/src/Data/Packed/Numeric.hs index d2a20be..e59c1cd 100644 --- a/packages/base/src/Data/Packed/Numeric.hs +++ b/packages/base/src/Data/Packed/Numeric.hs | |||
@@ -106,7 +106,7 @@ infixr 8 <·>, #> | |||
106 | 106 | ||
107 | {- | dot product | 107 | {- | dot product |
108 | 108 | ||
109 | >>> vect [1,2,3,4] <·> vect [-2,0,1,1] | 109 | >>> vector [1,2,3,4] <·> vector [-2,0,1,1] |
110 | 5.0 | 110 | 5.0 |
111 | 111 | ||
112 | >>> let 𝑖 = 0:+1 :: ℂ | 112 | >>> let 𝑖 = 0:+1 :: ℂ |
@@ -128,7 +128,7 @@ infixr 8 <·>, #> | |||
128 | [ 1.0, 2.0, 3.0 | 128 | [ 1.0, 2.0, 3.0 |
129 | , 4.0, 5.0, 6.0 ] | 129 | , 4.0, 5.0, 6.0 ] |
130 | 130 | ||
131 | >>> let v = vect [10,20,30] | 131 | >>> let v = vector [10,20,30] |
132 | 132 | ||
133 | >>> m #> v | 133 | >>> m #> v |
134 | fromList [140.0,320.0] | 134 | fromList [140.0,320.0] |