summaryrefslogtreecommitdiff
path: root/lib/Numeric/LinearAlgebra
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2010-02-05 12:13:06 +0000
committerAlberto Ruiz <aruiz@um.es>2010-02-05 12:13:06 +0000
commit634683fcfab73a0bd830fef03fb9f4603ba837b6 (patch)
tree6f7165eae5d1f702efa34cfa8f5402e6d15802b5 /lib/Numeric/LinearAlgebra
parentce4a3244139bc645bda4b563e6b2be7c7304e911 (diff)
deprecate <|> and <->
Diffstat (limited to 'lib/Numeric/LinearAlgebra')
-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 509b91c..b74180f 100644
--- a/lib/Numeric/LinearAlgebra/Interface.hs
+++ b/lib/Numeric/LinearAlgebra/Interface.hs
@@ -72,6 +72,9 @@ m <\> v = flatten (linearSolveSVD m (reshape 1 v))
72 72
73------------------------------------------------ 73------------------------------------------------
74 74
75{-# DEPRECATED (<|>) "define operator a & b = fromBlocks[[a,b]] and use asRow/asColumn to join vectors" #-}
76{-# DEPRECATED (<->) "define operator a // b = fromBlocks[[a],[b]] and use asRow/asColumn to join vectors" #-}
77
75class Joinable a b where 78class Joinable a b where
76 joinH :: Element t => a t -> b t -> Matrix t 79 joinH :: Element t => a t -> b t -> Matrix t
77 joinV :: Element t => a t -> b t -> Matrix t 80 joinV :: Element t => a t -> b t -> Matrix t
@@ -108,3 +111,4 @@ a <|> b = joinH a b
108-- | Vertical concatenation of matrices and vectors. 111-- | Vertical concatenation of matrices and vectors.
109(<->) :: (Element t, Joinable a b) => a t -> b t -> Matrix t 112(<->) :: (Element t, Joinable a b) => a t -> b t -> Matrix t
110a <-> b = joinV a b 113a <-> b = joinV a b
114