diff options
author | Alberto Ruiz <aruiz@um.es> | 2010-02-05 12:13:06 +0000 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2010-02-05 12:13:06 +0000 |
commit | 634683fcfab73a0bd830fef03fb9f4603ba837b6 (patch) | |
tree | 6f7165eae5d1f702efa34cfa8f5402e6d15802b5 /lib | |
parent | ce4a3244139bc645bda4b563e6b2be7c7304e911 (diff) |
deprecate <|> and <->
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Interface.hs | 4 |
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 | |||
75 | class Joinable a b where | 78 | class 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 |
110 | a <-> b = joinV a b | 113 | a <-> b = joinV a b |
114 | |||