diff options
Diffstat (limited to 'packages/base/src/Data/Packed/Numeric.hs')
-rw-r--r-- | packages/base/src/Data/Packed/Numeric.hs | 8 |
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 | |||
84 | class Contraction a b c | a b -> c | 84 | class 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 | ||
89 | Examples: | 89 | Examples: |
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 | |||
228 | x25c7, white diamond | ||
229 | |||
230 | -} | ||
231 | (◇) :: Contraction a b c => a -> b -> c | 227 | (◇) :: Contraction a b c => a -> b -> c |
232 | infixl 7 ◇ | 228 | infixl 7 ◇ |
233 | (◇) = (<.>) | 229 | (◇) = (<.>) |