28 #ifndef SPARSELU_RELAX_SNODE_H 29 #define SPARSELU_RELAX_SNODE_H 46 template <
typename Scalar,
typename Index>
54 for (j = 0; j < n; j++)
58 descendants(parent) += descendants(j) + 1;
66 while ( parent != n && descendants(parent) < relax_columns )
72 relax_end(snode_start) = j;
75 while (descendants(j) != 0 && j < n) j++;
iterative scaling algorithm to equilibrate rows and column norms in matrices
Definition: TestIMU_Common.h:87
Derived & setZero(Index size)
Resizes to the given size, and sets all coefficients in this expression to zero.
Definition: CwiseNullaryOp.h:515
Derived & setConstant(Index size, const Scalar &value)
Resizes to the given size, and sets all coefficients in this expression to the given value...
Definition: CwiseNullaryOp.h:348
void relax_snode(const Index n, IndexVector &et, const Index relax_columns, IndexVector &descendants, IndexVector &relax_end)
Identify the initial relaxed supernodes.
Definition: SparseLU_relax_snode.h:47
Definition: BandTriangularSolver.h:13
The matrix class, also used for vectors and row-vectors.
Definition: Matrix.h:127