diff options
Diffstat (limited to 'lib/Data/Packed/Internal/Matrix.hs')
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index ba32a67..2db4838 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -9,9 +9,10 @@ | |||
9 | -- Stability : provisional | 9 | -- Stability : provisional |
10 | -- Portability : portable (uses FFI) | 10 | -- Portability : portable (uses FFI) |
11 | -- | 11 | -- |
12 | -- Fundamental types | 12 | -- Internal matrix representation |
13 | -- | 13 | -- |
14 | ----------------------------------------------------------------------------- | 14 | ----------------------------------------------------------------------------- |
15 | -- --#hide | ||
15 | 16 | ||
16 | module Data.Packed.Internal.Matrix where | 17 | module Data.Packed.Internal.Matrix where |
17 | 18 | ||
@@ -74,7 +75,7 @@ type Mt t s = Int -> Int -> Ptr t -> s | |||
74 | -- infixr 6 ::> | 75 | -- infixr 6 ::> |
75 | -- type t ::> s = Mt t s | 76 | -- type t ::> s = Mt t s |
76 | 77 | ||
77 | -- | the inverse of 'fromLists' | 78 | -- | the inverse of 'Data.Packed.Matrix.fromLists' |
78 | toLists :: (Field t) => Matrix t -> [[t]] | 79 | toLists :: (Field t) => Matrix t -> [[t]] |
79 | toLists m = partit (cols m) . toList . cdat $ m | 80 | toLists m = partit (cols m) . toList . cdat $ m |
80 | 81 | ||