From f637161ac988979b35ab7254f753a67df8ec812a Mon Sep 17 00:00:00 2001 From: Alberto Ruiz Date: Wed, 31 Oct 2007 10:31:32 +0000 Subject: -norm, +rcond, +kronecker --- lib/Data/Packed/Internal/Matrix.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/Data') 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 p <- createVector (r*c) return (matrixFromVector order c p) -{- | Creates a matrix from a vector by grouping the elements in rows with the desired number of columns. +{- | 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@ +where r is the desired number of rows.) @\> reshape 4 ('fromList' [1..12]) (3><4) -- cgit v1.2.3