chrono::ChSparsityPatternLearner Class Reference

Description

Utility class for extracting sparsity patter from a sparse matrix.

Derived from ChSparseMatrix, ChSparsityPatternLearner does not allocate values, but only element indices. The sparsity pattern can then be applied to a given sparse matrix.

#include <ChSparsityPatternLearner.h>

Inherits SparseMatrix< double, Eigen::RowMajor, int >.

Public Member Functions

 ChSparsityPatternLearner (int nrows, int ncols)
 
virtual void SetElement (int row, int col, double val, bool overwrite=true) override
 
void Apply (ChSparseMatrix &mat)
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/core/ChSparsityPatternLearner.h