From 72030a99b1e668a0bc63a91da6d913479f8d9c20 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Thu, 24 Apr 2014 11:51:48 +0200 Subject: (<.>) renamed to (⋅) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Numeric/LinearAlgebra/Util.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib') 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( (?), (¿), rand, randn, cross, - (<.>), + (⋅), norm, unitary, mt, @@ -164,10 +164,10 @@ size m = (rows m, cols m) mt :: Matrix Double -> Matrix Double mt = trans . inv --- | dot product: @u \<.\> v = 'cdot' u v@ -(<.>) :: (Container Vector t, Product t) => Vector t -> Vector t -> t -infixl 7 <.> -u <.> v = cdot u v +-- | dot product (0x22C5): @u ⋅ v = 'cdot' u v@ +(⋅) :: (Container Vector t, Product t) => Vector t -> Vector t -> t +infixl 7 ⋅ +u ⋅ v = cdot u v ---------------------------------------------------------------------- -- cgit v1.2.3