diff options
Diffstat (limited to 'packages/base/src/Internal/Matrix.hs')
-rw-r--r-- | packages/base/src/Internal/Matrix.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/base/src/Internal/Matrix.hs b/packages/base/src/Internal/Matrix.hs index 4905f61..2856ec2 100644 --- a/packages/base/src/Internal/Matrix.hs +++ b/packages/base/src/Internal/Matrix.hs | |||
@@ -151,7 +151,8 @@ extractAll ord m = unsafePerformIO (copy ord m) | |||
151 | {- | Creates a vector by concatenation of rows. If the matrix is ColumnMajor, this operation requires a transpose. | 151 | {- | Creates a vector by concatenation of rows. If the matrix is ColumnMajor, this operation requires a transpose. |
152 | 152 | ||
153 | >>> flatten (ident 3) | 153 | >>> flatten (ident 3) |
154 | fromList [1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0] | 154 | [1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0] |
155 | it :: (Num t, Element t) => Vector t | ||
155 | 156 | ||
156 | -} | 157 | -} |
157 | flatten :: Element t => Matrix t -> Vector t | 158 | flatten :: Element t => Matrix t -> Vector t |