Added triangular assignement, e.g.:

m.upper() = a+b;
only updates the upper triangular part of m.
Note that:
 m = (a+b).upper();
updates all coefficients of m (but half of the additions
will be skiped)

Updated back/forward substitution to better use Eigen's capability.
This commit is contained in:
Gael Guennebaud
2008-04-26 19:20:26 +00:00
parent 4c92150676
commit b4c974d059
4 changed files with 120 additions and 59 deletions

View File

@@ -52,6 +52,7 @@ namespace Eigen {
#include "src/Core/Swap.h"
#include "src/Core/CommaInitializer.h"
#include "src/Core/Triangular.h"
#include "src/Core/TriangularAssign.h"
} // namespace Eigen