diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-10-31 12:47:56 +0100 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-10-31 12:47:56 +0100 |
commit | 3494530a7906abddbac8ddb2cb3f18cde72c27d9 (patch) | |
tree | bdd5b2eb49f684564b93bd4ac1326c5515807aee /packages/base | |
parent | 2239de02e2ea851dfb329de08d8ae54f1431d891 (diff) |
doc typo (thanks suzumiyasmith)
Diffstat (limited to 'packages/base')
-rw-r--r-- | packages/base/src/Data/Packed/Matrix.hs | 2 |
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 |