diff options
author | idontgetoutmuch <dominic@steinitz.org> | 2018-05-20 17:42:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-20 17:42:34 +0200 |
commit | 2df73625b693b363f7ffc399b05aaae4cbef73cd (patch) | |
tree | c8d63ba30c730d02b979faa46856b0554d48948e /packages/base/src/Internal/Matrix.hs | |
parent | 41638b98b893777ab52ab155dcbf5f3df4a548f8 (diff) | |
parent | 39a702012eb990ec7e0074632821416669e47bab (diff) |
Merge pull request #270 from pdobsan/master
Fixed vector show instance and related haddock entries.
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 4bfa13d..5436e59 100644 --- a/packages/base/src/Internal/Matrix.hs +++ b/packages/base/src/Internal/Matrix.hs | |||
@@ -160,7 +160,8 @@ extractAll ord m = unsafePerformIO (copy ord m) | |||
160 | {- | Creates a vector by concatenation of rows. If the matrix is ColumnMajor, this operation requires a transpose. | 160 | {- | Creates a vector by concatenation of rows. If the matrix is ColumnMajor, this operation requires a transpose. |
161 | 161 | ||
162 | >>> flatten (ident 3) | 162 | >>> flatten (ident 3) |
163 | fromList [1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0] | 163 | [1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0] |
164 | it :: (Num t, Element t) => Vector t | ||
164 | 165 | ||
165 | -} | 166 | -} |
166 | flatten :: Element t => Matrix t -> Vector t | 167 | flatten :: Element t => Matrix t -> Vector t |