summaryrefslogtreecommitdiff
path: root/packages/base/src/Data/Packed/Numeric.hs
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Data/Packed/Numeric.hs')
-rw-r--r--packages/base/src/Data/Packed/Numeric.hs8
1 files changed, 2 insertions, 6 deletions
diff --git a/packages/base/src/Data/Packed/Numeric.hs b/packages/base/src/Data/Packed/Numeric.hs
index 6036e8c..d130ecd 100644
--- a/packages/base/src/Data/Packed/Numeric.hs
+++ b/packages/base/src/Data/Packed/Numeric.hs
@@ -84,7 +84,7 @@ linspace n (a,b) = addConstant a $ scale s $ fromList $ map fromIntegral [0 .. n
84class Contraction a b c | a b -> c 84class Contraction a b c | a b -> c
85 where 85 where
86 infixl 7 <.> 86 infixl 7 <.>
87 {- | Matrix product, matrix vector product, and dot product 87 {- | Matrix product, matrix - vector product, and dot product
88 88
89Examples: 89Examples:
90 90
@@ -223,11 +223,7 @@ instance Container Matrix e => Build (Int,Int) (e -> e -> e) Matrix e
223 223
224-------------------------------------------------------------------------------- 224--------------------------------------------------------------------------------
225 225
226{- | alternative operator for '(\<.\>)' 226-- | alternative unicode symbol (25c7) for the contraction operator '(\<.\>)'
227
228x25c7, white diamond
229
230-}
231(◇) :: Contraction a b c => a -> b -> c 227(◇) :: Contraction a b c => a -> b -> c
232infixl 7 ◇ 228infixl 7 ◇
233(◇) = (<.>) 229(◇) = (<.>)