summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Internal
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2007-10-31 10:31:32 +0000
committerAlberto Ruiz <aruiz@um.es>2007-10-31 10:31:32 +0000
commitf637161ac988979b35ab7254f753a67df8ec812a (patch)
tree11291699868a50a8586ac97281ca26dc66209c28 /lib/Data/Packed/Internal
parent2facdf74f267ff81645336528a50696f61bb8670 (diff)
-norm, +rcond, +kronecker
Diffstat (limited to 'lib/Data/Packed/Internal')
-rw-r--r--lib/Data/Packed/Internal/Matrix.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs
index 605a6f3..f63ee52 100644
--- a/lib/Data/Packed/Internal/Matrix.hs
+++ b/lib/Data/Packed/Internal/Matrix.hs
@@ -142,7 +142,8 @@ createMatrix order r c = do
142 p <- createVector (r*c) 142 p <- createVector (r*c)
143 return (matrixFromVector order c p) 143 return (matrixFromVector order c p)
144 144
145{- | Creates a matrix from a vector by grouping the elements in rows with the desired number of columns. 145{- | Creates a matrix from a vector by grouping the elements in rows with the desired number of columns. (GNU-Octave groups by columns. To do it you can define @reshapeF r = trans . reshape r@
146where r is the desired number of rows.)
146 147
147@\> reshape 4 ('fromList' [1..12]) 148@\> reshape 4 ('fromList' [1..12])
148(3><4) 149(3><4)