28#ifndef SPARSELU_HEAP_RELAX_SNODE_H
29#define SPARSELU_HEAP_RELAX_SNODE_H
45template <
typename Scalar,
typename StorageIndex>
51 internal::treePostorder(StorageIndex(n),
et,
post);
53 for (StorageIndex i = 0; i < n+1; ++i)
inv_post(
post(i)) = i;
58 for (
Index i = 0; i < n; ++i)
69 for (j = 0; j < n; j++)
EIGEN_DEVICE_FUNC Derived & setConstant(const Scalar &value)
Sets all coefficients in this expression to value val.
Definition CwiseNullaryOp.h:345
EIGEN_DEVICE_FUNC Derived & setZero()
Sets all coefficients in this expression to zero.
Definition CwiseNullaryOp.h:546
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
void heap_relax_snode(const Index n, IndexVector &et, const Index relax_columns, IndexVector &descendants, IndexVector &relax_end)
Identify the initial relaxed supernodes.
Definition SparseLU_heap_relax_snode.h:46
Namespace containing all symbols from the Eigen library.
Definition LDLT.h:16
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74