summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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