diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-04-24 11:51:48 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-04-24 11:51:48 +0200 |
commit | 72030a99b1e668a0bc63a91da6d913479f8d9c20 (patch) | |
tree | 49ea68572c6d2df567967cd0b50557521d19dee0 | |
parent | 8f840c450c66b25b4d2a7afb243830cc7aed400b (diff) |
(<.>) renamed to (⋅)
-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 | ||