diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-06-10 13:08:17 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-06-10 13:08:17 +0200 |
commit | a928a3a1713704cf3d5148bedc7ff8acb1347599 (patch) | |
tree | 8843ac9f0f323ef8666b0fee9044d5a506348cdc /packages/base/src/Data/Packed/Numeric.hs | |
parent | b165193b98f143445fc20be64ce19bc0a570b1bf (diff) |
module and function names
Diffstat (limited to 'packages/base/src/Data/Packed/Numeric.hs')
-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] |