From 102d6b19beadd76b28d32e1aa40844fad19af756 Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Mon, 18 Jan 2010 09:51:31 +0000 Subject: deprecate .* and */ --- lib/Numeric/LinearAlgebra/Interface.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Numeric/LinearAlgebra/Interface.hs') diff --git a/lib/Numeric/LinearAlgebra/Interface.hs b/lib/Numeric/LinearAlgebra/Interface.hs index 0ae9698..509b91c 100644 --- a/lib/Numeric/LinearAlgebra/Interface.hs +++ b/lib/Numeric/LinearAlgebra/Interface.hs @@ -49,6 +49,8 @@ infixl 7 <.> ---------------------------------------------------- +{-# DEPRECATED (.*) "use scale a x or scalar a * x" #-} + -- | @x .* a = scale x a@ (.*) :: (Linear c a) => a -> c a -> c a infixl 7 .* @@ -56,6 +58,8 @@ a .* x = scale a x ---------------------------------------------------- +{-# DEPRECATED (*/) "use scale (recip a) x or x / scalar a" #-} + -- | @a *\/ x = scale (recip x) a@ (*/) :: (Linear c a) => c a -> a -> c a infixl 7 */ -- cgit v1.2.3