diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-04-23 14:19:34 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-04-23 14:19:34 +0200 |
commit | 7c5adb83c9cb632c39eb2d844a1496e2a7a23e8b (patch) | |
tree | ec80d2d2533fcf1a2c1f1f021bc0669767ec7817 /lib/Numeric/LinearAlgebra/Util.hs | |
parent | eaa21e363a62274b3b457556d8f41b10cc335513 (diff) |
join -> vjoin
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Util.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Util.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Numeric/LinearAlgebra/Util.hs b/lib/Numeric/LinearAlgebra/Util.hs index 532556e..f7c40d7 100644 --- a/lib/Numeric/LinearAlgebra/Util.hs +++ b/lib/Numeric/LinearAlgebra/Util.hs | |||
@@ -97,7 +97,7 @@ ones r c = konst 1 (r,c) | |||
97 | -- | concatenation of real vectors | 97 | -- | concatenation of real vectors |
98 | infixl 3 & | 98 | infixl 3 & |
99 | (&) :: Vector Double -> Vector Double -> Vector Double | 99 | (&) :: Vector Double -> Vector Double -> Vector Double |
100 | a & b = Numeric.Container.join [a,b] | 100 | a & b = vjoin [a,b] |
101 | 101 | ||
102 | -- | horizontal concatenation of real matrices | 102 | -- | horizontal concatenation of real matrices |
103 | infixl 3 ! | 103 | infixl 3 ! |
@@ -206,7 +206,7 @@ vec = flatten . trans | |||
206 | 206 | ||
207 | vech :: Element t => Matrix t -> Vector t | 207 | vech :: Element t => Matrix t -> Vector t |
208 | -- ^ half-vectorization (of the lower triangular part) | 208 | -- ^ half-vectorization (of the lower triangular part) |
209 | vech m = Numeric.Container.join . zipWith f [0..] . toColumns $ m | 209 | vech m = vjoin . zipWith f [0..] . toColumns $ m |
210 | where | 210 | where |
211 | f k v = subVector k (dim v - k) v | 211 | f k v = subVector k (dim v - k) v |
212 | 212 | ||