summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra/Util.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-04-24 11:51:48 +0200
committerAlberto Ruiz <aruiz@um.es>2014-04-24 11:51:48 +0200
commit72030a99b1e668a0bc63a91da6d913479f8d9c20 (patch)
tree49ea68572c6d2df567967cd0b50557521d19dee0 /lib/Numeric/LinearAlgebra/Util.hs
parent8f840c450c66b25b4d2a7afb243830cc7aed400b (diff)
(<.>) renamed to (⋅)
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Util.hs')
-rw-r--r--lib/Numeric/LinearAlgebra/Util.hs10
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)
164mt :: Matrix Double -> Matrix Double 164mt :: Matrix Double -> Matrix Double
165mt = trans . inv 165mt = 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
169infixl 7 <.> 169infixl 7
170u <.> v = cdot u v 170u v = cdot u v
171 171
172---------------------------------------------------------------------- 172----------------------------------------------------------------------
173 173