summaryrefslogtreecommitdiff
path: root/lib/Data/Packed/Matrix.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/Packed/Matrix.hs')
-rw-r--r--lib/Data/Packed/Matrix.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Data/Packed/Matrix.hs b/lib/Data/Packed/Matrix.hs
index 03e5889..af937f4 100644
--- a/lib/Data/Packed/Matrix.hs
+++ b/lib/Data/Packed/Matrix.hs
@@ -22,7 +22,7 @@ module Data.Packed.Matrix (
22 Element, 22 Element,
23 Matrix,rows,cols, 23 Matrix,rows,cols,
24 (><), 24 (><),
25 trans, 25 trans, ctrans,
26 reshape, flatten, 26 reshape, flatten,
27 fromLists, toLists, buildMatrix, 27 fromLists, toLists, buildMatrix,
28 (@@>), 28 (@@>),
@@ -268,6 +268,10 @@ asRow v = reshape (dim v) v
268asColumn :: Element a => Vector a -> Matrix a 268asColumn :: Element a => Vector a -> Matrix a
269asColumn v = reshape 1 v 269asColumn v = reshape 1 v
270 270
271-- | conjugate transpose
272ctrans :: Element e => Matrix e -> Matrix e
273ctrans = ctrans'
274
271 275
272{- | creates a Matrix of the specified size using the supplied function to 276{- | creates a Matrix of the specified size using the supplied function to
273 to map the row/column position to the value at that row/column position. 277 to map the row/column position to the value at that row/column position.