28 #ifndef SPARSELU_RELAX_SNODE_H 29 #define SPARSELU_RELAX_SNODE_H 46 template <
typename Scalar,
typename StorageIndex>
58 descendants(parent) += descendants(
j) + 1;
66 while ( parent != n && descendants(parent) < relax_columns )
72 relax_end(snode_start) = StorageIndex(
j);
75 while (descendants(
j) != 0 &&
j < n)
j++;
EIGEN_DEVICE_FUNC Derived & setZero(Index size)
void relax_snode(const Index n, IndexVector &et, const Index relax_columns, IndexVector &descendants, IndexVector &relax_end)
Identify the initial relaxed supernodes.
Namespace containing all symbols from the Eigen library.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
EIGEN_DEVICE_FUNC Derived & setConstant(Index size, const Scalar &val)
The matrix class, also used for vectors and row-vectors.