diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-11-24 13:40:43 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-11-24 13:40:43 +0000 |
commit | 00f89a8f37e2c7cd85ca235e7ef102e2b9d2e281 (patch) | |
tree | a9a15b112b91d6d01b91416c4d6002d920370ec9 /doc/tutorial.cpp | |
parent | 582c1f92c81b264f3eb52d745bf8e607bc9a6ee6 (diff) |
Update e-mail address
Diffstat (limited to 'doc/tutorial.cpp')
-rw-r--r-- | doc/tutorial.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |