summaryrefslogtreecommitdiff
path: root/packages/base/src/Internal/Matrix.hs
diff options
context:
space:
mode:
authorPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:08:15 +0200
committerPeter Dobsan <pdobsan@gmail.com>2018-04-27 00:08:15 +0200
commit3ffea9114b573eb11e2e41ddfc6a8b69fdd6baed (patch)
tree71aaf81c11befe87189598d305330637599a80c3 /packages/base/src/Internal/Matrix.hs
parentd83b17190029c11e3ab8b504e5cdc917f5863120 (diff)
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 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)
154fromList [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]
155it :: (Num t, Element t) => Vector t
155 156
156-} 157-}
157flatten :: Element t => Matrix t -> Vector t 158flatten :: Element t => Matrix t -> Vector t