diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-03-31 17:00:30 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2009-03-31 17:00:30 +0000 |
commit | 8e2b191acf36429b968471bbd30dc803c616fd49 (patch) | |
tree | 187a34fa18ad5298d75b29b02338efaee09d234f /doc | |
parent | 1e6097a810f39afce7ea64880cdfcde079d8768a (diff) |
fix typo found by noir.sender from KDE forums
Diffstat (limited to 'doc')
-rw-r--r-- | doc/C05_TutorialLinearAlgebra.dox | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/C05_TutorialLinearAlgebra.dox b/doc/C05_TutorialLinearAlgebra.dox index 7ff0c048e..46333cb58 100644 --- a/doc/C05_TutorialLinearAlgebra.dox +++ b/doc/C05_TutorialLinearAlgebra.dox @@ -69,7 +69,7 @@ The latter avoids square roots and is therefore slightly more stable than the fo #include <Eigen/Cholesky> MatrixXf D = MatrixXf::Random(8,4); MatrixXf A = D.transpose() * D; -VectorXf b = D.transpose() * VectorXf::Random(4); +VectorXf b = A * VectorXf::Random(4); VectorXf x; A.llt().solve(b,&x); // using a LLT factorization A.ldlt().solve(b,&x); // using a LDLT factorization |