summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra/Interface.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-01-18 09:51:31 +0000
committerAlberto Ruiz <aruiz@um.es>2010-01-18 09:51:31 +0000
commit102d6b19beadd76b28d32e1aa40844fad19af756 (patch)
tree1b7736d5d392b0ef43e2e119fc2d1d1a91cd5831 /lib/Numeric/LinearAlgebra/Interface.hs
parent830164c7c34d874aa66754206be956f85456842f (diff)
deprecate .* and */
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Interface.hs')
-rw-r--r--lib/Numeric/LinearAlgebra/Interface.hs4
1 files changed, 4 insertions, 0 deletions
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 <.>
49 49
50---------------------------------------------------- 50----------------------------------------------------
51 51
52{-# DEPRECATED (.*) "use scale a x or scalar a * x" #-}
53
52-- | @x .* a = scale x a@ 54-- | @x .* a = scale x a@
53(.*) :: (Linear c a) => a -> c a -> c a 55(.*) :: (Linear c a) => a -> c a -> c a
54infixl 7 .* 56infixl 7 .*
@@ -56,6 +58,8 @@ a .* x = scale a x
56 58
57---------------------------------------------------- 59----------------------------------------------------
58 60
61{-# DEPRECATED (*/) "use scale (recip a) x or x / scalar a" #-}
62
59-- | @a *\/ x = scale (recip x) a@ 63-- | @a *\/ x = scale (recip x) a@
60(*/) :: (Linear c a) => c a -> a -> c a 64(*/) :: (Linear c a) => c a -> a -> c a
61infixl 7 */ 65infixl 7 */