diff options
author | Kevin Slagle <kjslag@gmail.com> | 2016-12-19 09:49:19 -0500 |
---|---|---|
committer | Kevin Slagle <kjslag@gmail.com> | 2016-12-19 09:49:19 -0500 |
commit | e7843cb083316bc5b5a760f7c987671505c2e9d8 (patch) | |
tree | 8392b64b0d5b2da92b523cc8657921ce8ec1fee3 /packages | |
parent | 0431e82183a925e63472bbc9a17db4eb84f904a6 (diff) |
fix documentation typo
Diffstat (limited to 'packages')
-rw-r--r-- | packages/base/hmatrix.cabal | 2 | ||||
-rw-r--r-- | packages/base/src/Internal/Matrix.hs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/base/hmatrix.cabal b/packages/base/hmatrix.cabal index 89e5423..f1bc8e6 100644 --- a/packages/base/hmatrix.cabal +++ b/packages/base/hmatrix.cabal | |||
@@ -83,7 +83,7 @@ library | |||
83 | ghc-options: -Wall | 83 | ghc-options: -Wall |
84 | -fno-warn-missing-signatures | 84 | -fno-warn-missing-signatures |
85 | -fno-warn-orphans | 85 | -fno-warn-orphans |
86 | -fprof-auto | 86 | -fno-prof-auto |
87 | 87 | ||
88 | cc-options: -O4 -Wall | 88 | cc-options: -O4 -Wall |
89 | 89 | ||
diff --git a/packages/base/src/Internal/Matrix.hs b/packages/base/src/Internal/Matrix.hs index fbf8295..4905f61 100644 --- a/packages/base/src/Internal/Matrix.hs +++ b/packages/base/src/Internal/Matrix.hs | |||
@@ -604,7 +604,7 @@ foreign import ccall unsafe "reorderL" c_reorderL :: Reorder Z | |||
604 | 604 | ||
605 | -- | Transpose an array with dimensions @dims@ by making a copy using @strides@. For example, for an array with 3 indices, | 605 | -- | Transpose an array with dimensions @dims@ by making a copy using @strides@. For example, for an array with 3 indices, |
606 | -- @(reorderVector strides dims v) ! ((i * dims ! 1 + j) * dims ! 2 + k) == v ! (i * strides ! 0 + j * strides ! 1 + k * strides ! 2)@ | 606 | -- @(reorderVector strides dims v) ! ((i * dims ! 1 + j) * dims ! 2 + k) == v ! (i * strides ! 0 + j * strides ! 1 + k * strides ! 2)@ |
607 | -- This function is intended to be used internally by tensor libraries.. | 607 | -- This function is intended to be used internally by tensor libraries. |
608 | reorderVector :: Element a | 608 | reorderVector :: Element a |
609 | => Vector CInt -- ^ @strides@: array strides | 609 | => Vector CInt -- ^ @strides@: array strides |
610 | -> Vector CInt -- ^ @dims@: array dimensions of new array @v@ | 610 | -> Vector CInt -- ^ @dims@: array dimensions of new array @v@ |