From 00f89a8f37e2c7cd85ca235e7ef102e2b9d2e281 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 24 Nov 2008 13:40:43 +0000 Subject: Update e-mail address --- doc/tutorial.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/tutorial.cpp') diff --git a/doc/tutorial.cpp b/doc/tutorial.cpp index 6d3eb8bc2..62be7c270 100644 --- a/doc/tutorial.cpp +++ b/doc/tutorial.cpp @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) m4 = -m4 + m4 + 5 * m4; // same here, Eigen chooses lazy evaluation for all that. m4 = m4 * (m4 + m4); // here Eigen chooses to first evaluate m4 + m4 into a temporary. // indeed, here it is an optimization to cache this intermediate result. - m3 = m3 * m4.block<3,3>(1,1); // here Eigen chooses NOT to evaluate transpose() into a temporary + m3 = m3 * m4.block<3,3>(1,1); // here Eigen chooses NOT to evaluate block() into a temporary // because accessing coefficients of that block expression is not more costly than accessing // coefficients of a plain matrix. m4 = m4 * m4.transpose(); // same here, lazy evaluation of the transpose. -- cgit v1.2.3