summaryrefslogtreecommitdiff
path: root/packages/base/src/Internal/Matrix.hs
diff options
context:
space:
mode:
authoridontgetoutmuch <dominic@steinitz.org>2018-05-20 17:42:34 +0200
committerGitHub <noreply@github.com>2018-05-20 17:42:34 +0200
commit2df73625b693b363f7ffc399b05aaae4cbef73cd (patch)
treec8d63ba30c730d02b979faa46856b0554d48948e /packages/base/src/Internal/Matrix.hs
parent41638b98b893777ab52ab155dcbf5f3df4a548f8 (diff)
parent39a702012eb990ec7e0074632821416669e47bab (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.hs3
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)
163fromList [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]
164it :: (Num t, Element t) => Vector t
164 165
165-} 166-}
166flatten :: Element t => Matrix t -> Vector t 167flatten :: Element t => Matrix t -> Vector t