summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Numeric/LinearAlgebra/Real.hs14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Numeric/LinearAlgebra/Real.hs b/lib/Numeric/LinearAlgebra/Real.hs
index 08a218c..8478ee7 100644
--- a/lib/Numeric/LinearAlgebra/Real.hs
+++ b/lib/Numeric/LinearAlgebra/Real.hs
@@ -88,19 +88,19 @@ ones :: Int -- ^ rows
88ones r c = konst 1 (r,c) 88ones r c = konst 1 (r,c)
89 89
90-- | Concatenation of real vectors. 90-- | Concatenation of real vectors.
91infixl 9 # 91infixl 3 #
92(#) :: Vector Double -> Vector Double -> Vector Double 92(#) :: Vector Double -> Vector Double -> Vector Double
93a # b = join [a,b] 93a # b = join [a,b]
94 94
95-- | Horizontal concatenation of real matrices. 95-- | Horizontal concatenation of real matrices.
96infixl 8 & 96infixl 3 !
97(&) :: Matrix Double -> Matrix Double -> Matrix Double 97(!) :: Matrix Double -> Matrix Double -> Matrix Double
98a & b = fromBlocks [[a,b]] 98a ! b = fromBlocks [[a,b]]
99 99
100-- | Vertical concatenation of real matrices. 100-- | Vertical concatenation of real matrices.
101(//) :: Matrix Double -> Matrix Double -> Matrix Double 101(#) :: Matrix Double -> Matrix Double -> Matrix Double
102infixl 7 // 102infixl 2 #
103a // b = fromBlocks [[a],[b]] 103a # b = fromBlocks [[a],[b]]
104 104
105 105
106-- | Real block matrix from a rectangular list of lists. 106-- | Real block matrix from a rectangular list of lists.