From af991a6bdb9147ecf3ec61598d466e49a8858d8b Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 15 Sep 2008 16:19:48 +0000 Subject: small dox fixes --- doc/QuickStartGuide.dox | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/QuickStartGuide.dox') diff --git a/doc/QuickStartGuide.dox b/doc/QuickStartGuide.dox index 64166f43d..b4f173285 100644 --- a/doc/QuickStartGuide.dox +++ b/doc/QuickStartGuide.dox @@ -17,7 +17,7 @@ namespace Eigen { - \ref TutorialCoreMatrixInitialization - \ref TutorialCoreArithmeticOperators - \ref TutorialCoreReductions - - \ref TutorialCoreSubMatrix + - \ref TutorialCoreMatrixBlocks - \ref TutorialCoreDiagonalMatrices - \ref TutorialCoreTransposeAdjoint - \ref TutorialCoreDotNorm @@ -379,7 +379,7 @@ Also note that maxCoeff and minCoeff can takes optional arguments returning the -top\section TutorialCoreSubMatrix Sub matrices +top\section TutorialCoreMatrixBlocks Matrix blocks Read-write access to a \link MatrixBase::col(int) column \endlink or a \link MatrixBase::row(int) row \endlink of a matrix: @@ -472,7 +472,7 @@ mat3 = mat1.adjoint() * mat2; \link MatrixBase::norm() norm \endlink of a vector \n \link MatrixBase::norm2() squared norm \endlink of a vector -\code vec.norm(); \n vec.norm2() \endcode +\code vec.norm(); \endcode \n \code vec.norm2() \endcode returns a \link MatrixBase::normalized() normalized \endlink vector \n @@ -493,7 +493,7 @@ When you write a line of code involving a complex expression such as \code mat1 = mat2 + mat3 * (mat4 + mat5); \endcode -Eigen tries to determine automatically whether to evaluate each sub-expression into temporary variables. Indeed, in certain cases it is better to evaluate immediately a sub-expression into a temporary variable, while in other cases it is better to avoid that. +Eigen determines automatically, for each sub-expression, whether to evaluate it into a temporary variable. Indeed, in certain cases it is better to evaluate immediately a sub-expression into a temporary variable, while in other cases it is better to avoid that. A traditional math library without expression templates always evaluates all sub-expressions into temporaries. So with this code, @@ -543,7 +543,7 @@ Again, \link MatrixBase::lazy() .lazy() \endlink can be used to force lazy evalu \code matrix1 = matrix2 * (matrix3 + matrix4); \endcode -Here, each coefficienct of the expression matrix3 + matrix4 is going to be used several times in the matrix product. Instead of computing the sum everytime, it is much better to compute it once and store it in a temporary variable. Eigen understands this and evaluates matrix3 + matrix4 into a temporary variable before evaluating the product. +Here, provided the matrices have at least 2 rows and 2 columns, each coefficienct of the expression matrix3 + matrix4 is going to be used several times in the matrix product. Instead of computing the sum everytime, it is much better to compute it once and store it in a temporary variable. Eigen understands this and evaluates matrix3 + matrix4 into a temporary variable before evaluating the product. */ -- cgit v1.2.3