Path Tracer
|
a class to manipulate the L supernodal factor from the SparseLU factorization More...
#include <SparseLU_SupernodalMatrix.h>
Classes | |
class | InnerIterator |
InnerIterator class to iterate over nonzero values of the current column in the supernodal matrix L. More... | |
Public Types | |
typedef _Scalar | Scalar |
typedef _StorageIndex | StorageIndex |
typedef Matrix< StorageIndex, Dynamic, 1 > | IndexVector |
typedef Matrix< Scalar, Dynamic, 1 > | ScalarVector |
Public Member Functions | |
MappedSuperNodalMatrix (Index m, Index n, ScalarVector &nzval, IndexVector &nzval_colptr, IndexVector &rowind, IndexVector &rowind_colptr, IndexVector &col_to_sup, IndexVector &sup_to_col) | |
void | setInfos (Index m, Index n, ScalarVector &nzval, IndexVector &nzval_colptr, IndexVector &rowind, IndexVector &rowind_colptr, IndexVector &col_to_sup, IndexVector &sup_to_col) |
Index | rows () const |
Index | cols () const |
Scalar * | valuePtr () |
const Scalar * | valuePtr () const |
StorageIndex * | colIndexPtr () |
const StorageIndex * | colIndexPtr () const |
StorageIndex * | rowIndex () |
const StorageIndex * | rowIndex () const |
StorageIndex * | rowIndexPtr () |
const StorageIndex * | rowIndexPtr () const |
StorageIndex * | colToSup () |
const StorageIndex * | colToSup () const |
StorageIndex * | supToCol () |
const StorageIndex * | supToCol () const |
Index | nsuper () const |
template<typename Dest > | |
void | solveInPlace (MatrixBase< Dest > &X) const |
Solve with the supernode triangular matrix. More... | |
Protected Attributes | |
Index | m_row |
Index | m_col |
Index | m_nsuper |
Scalar * | m_nzval |
StorageIndex * | m_nzval_colptr |
StorageIndex * | m_rowind |
StorageIndex * | m_rowind_colptr |
StorageIndex * | m_col_to_sup |
StorageIndex * | m_sup_to_col |
a class to manipulate the L supernodal factor from the SparseLU factorization
This class contain the data to easily store and manipulate the supernodes during the factorization and solution phase of Sparse LU. Only the lower triangular matrix has supernodes.
NOTE : This class corresponds to the SCformat structure in SuperLU
|
inline |
Return the pointers to the beginning of each column in valuePtr()
|
inline |
Number of columns
|
inline |
Return the array of column-to-supernode mapping
|
inline |
Return the number of supernodes
|
inline |
Return the array of compressed row indices of all supernodes
|
inline |
Return the location in rowvaluePtr() which starts each column
|
inline |
Number of rows
|
inline |
Set appropriate pointers for the lower triangular supernodal matrix These infos are available at the end of the numerical factorization FIXME This class will be modified such that it can be use in the course of the factorization.
void Eigen::internal::MappedSuperNodalMatrix< Scalar, Index_ >::solveInPlace | ( | MatrixBase< Dest > & | X | ) | const |
Solve with the supernode triangular matrix.
|
inline |
Return the array of supernode-to-column mapping
|
inline |
Return the array of nonzero values packed by column
The size is nnz