diff options
Diffstat (limited to 'lib/Numeric')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Util.hs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Numeric/LinearAlgebra/Util.hs b/lib/Numeric/LinearAlgebra/Util.hs index f6aa7da..2c77d3a 100644 --- a/lib/Numeric/LinearAlgebra/Util.hs +++ b/lib/Numeric/LinearAlgebra/Util.hs | |||
@@ -23,7 +23,7 @@ module Numeric.LinearAlgebra.Util( | |||
23 | (?), (¿), | 23 | (?), (¿), |
24 | rand, randn, | 24 | rand, randn, |
25 | cross, | 25 | cross, |
26 | (<.>), | 26 | (⋅), |
27 | norm, | 27 | norm, |
28 | unitary, | 28 | unitary, |
29 | mt, | 29 | mt, |
@@ -164,10 +164,10 @@ size m = (rows m, cols m) | |||
164 | mt :: Matrix Double -> Matrix Double | 164 | mt :: Matrix Double -> Matrix Double |
165 | mt = trans . inv | 165 | mt = trans . inv |
166 | 166 | ||
167 | -- | dot product: @u \<.\> v = 'cdot' u v@ | 167 | -- | dot product (0x22C5): @u ⋅ v = 'cdot' u v@ |
168 | (<.>) :: (Container Vector t, Product t) => Vector t -> Vector t -> t | 168 | (⋅) :: (Container Vector t, Product t) => Vector t -> Vector t -> t |
169 | infixl 7 <.> | 169 | infixl 7 ⋅ |
170 | u <.> v = cdot u v | 170 | u ⋅ v = cdot u v |
171 | 171 | ||
172 | ---------------------------------------------------------------------- | 172 | ---------------------------------------------------------------------- |
173 | 173 | ||