summaryrefslogtreecommitdiff
path: root/packages/base/src/Data/Packed
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-10-31 12:47:56 +0100
committerAlberto Ruiz <aruiz@um.es>2014-10-31 12:47:56 +0100
commit3494530a7906abddbac8ddb2cb3f18cde72c27d9 (patch)
treebdd5b2eb49f684564b93bd4ac1326c5515807aee /packages/base/src/Data/Packed
parent2239de02e2ea851dfb329de08d8ae54f1431d891 (diff)
doc typo (thanks suzumiyasmith)
Diffstat (limited to 'packages/base/src/Data/Packed')
-rw-r--r--packages/base/src/Data/Packed/Matrix.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/base/src/Data/Packed/Matrix.hs b/packages/base/src/Data/Packed/Matrix.hs
index 067bf76..70b9232 100644
--- a/packages/base/src/Data/Packed/Matrix.hs
+++ b/packages/base/src/Data/Packed/Matrix.hs
@@ -476,7 +476,7 @@ mapMatrixWithIndexM g m = liftM (reshape c) . mapVectorWithIndexM (mk c g) . fla
476 476
477{- | 477{- |
478 478
479>>> mapMatrixWithIndex (\\(i,j) v -> 100*v + 10*fromIntegral i + fromIntegral j) (ident 3:: Matrix Double) 479>>> mapMatrixWithIndex (\(i,j) v -> 100*v + 10*fromIntegral i + fromIntegral j) (ident 3:: Matrix Double)
480(3><3) 480(3><3)
481 [ 100.0, 1.0, 2.0 481 [ 100.0, 1.0, 2.0
482 , 10.0, 111.0, 12.0 482 , 10.0, 111.0, 12.0