summaryrefslogtreecommitdiff
path: root/lib/Numeric/Vector.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-09-09 07:55:32 +0000
committerAlberto Ruiz <aruiz@um.es>2010-09-09 07:55:32 +0000
commitc1441ca0451f34e5615b3861175f9eef312dfc62 (patch)
treee1c38a11c0111b21e1b17ef969700540d65af926 /lib/Numeric/Vector.hs
parent945ae28d720ab6367a293d8f6a5723b8f7bf835d (diff)
joined Vectors and Product
Diffstat (limited to 'lib/Numeric/Vector.hs')
-rw-r--r--lib/Numeric/Vector.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Numeric/Vector.hs b/lib/Numeric/Vector.hs
index 9427243..7ecd0eb 100644
--- a/lib/Numeric/Vector.hs
+++ b/lib/Numeric/Vector.hs
@@ -99,7 +99,7 @@ linspace n (a,b) = addConstant a $ scale s $ fromList [0 .. fromIntegral n-1]
99 where s = (b-a)/fromIntegral (n-1) 99 where s = (b-a)/fromIntegral (n-1)
100 100
101-- | Dot product: @u \<.\> v = dot u v@ 101-- | Dot product: @u \<.\> v = dot u v@
102(<.>) :: Vectors Vector t => Vector t -> Vector t -> t 102(<.>) :: Product t => Vector t -> Vector t -> t
103infixl 7 <.> 103infixl 7 <.>
104(<.>) = dot 104(<.>) = dot
105 105