summaryrefslogtreecommitdiff
path: root/packages/base/src
diff options
context:
space:
mode:
authorKevin Slagle <kjslag@gmail.com>2016-12-19 09:49:19 -0500
committerKevin Slagle <kjslag@gmail.com>2016-12-19 09:49:19 -0500
commite7843cb083316bc5b5a760f7c987671505c2e9d8 (patch)
tree8392b64b0d5b2da92b523cc8657921ce8ec1fee3 /packages/base/src
parent0431e82183a925e63472bbc9a17db4eb84f904a6 (diff)
fix documentation typo
Diffstat (limited to 'packages/base/src')
-rw-r--r--packages/base/src/Internal/Matrix.hs2
1 files changed, 1 insertions, 1 deletions
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.
608reorderVector :: Element a 608reorderVector :: 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@