From 6f2ba1f52bdda2c477828a5ad00af75329d30ca2 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 28 Jan 2011 10:00:34 -0500 Subject: [PATCH] typo reported by Don Lorenzo --- doc/C05_TutorialAdvancedInitialization.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/C05_TutorialAdvancedInitialization.dox b/doc/C05_TutorialAdvancedInitialization.dox index cb8fb6633..b6293bef2 100644 --- a/doc/C05_TutorialAdvancedInitialization.dox +++ b/doc/C05_TutorialAdvancedInitialization.dox @@ -81,7 +81,7 @@ argument, as in MatrixXd::Constant(rows, cols, value). The method \link \endlink fills the matrix or array with random coefficients. The identity matrix can be obtained by calling \link MatrixBase::Identity() Identity()\endlink; this method is only available for Matrix, not for Array, because "identity matrix" is a linear algebra concept. The method -\link DenseBase::LinSpaced LinSpaced\endlink(low, high, size) is only available for vectors and +\link DenseBase::LinSpaced LinSpaced\endlink(size, low, high) is only available for vectors and one-dimensional arrays; it yields a vector of the specified size whose coefficients are equally spaced between \c low and \c high. The method \c LinSpaced() is illustrated in the following example, which prints a table with angles in degrees, the corresponding angle in radians, and their sine and cosine.