|
Public Member Functions |
| Sparsity (unsigned int N) |
| ~Sparsity () |
void | clear () |
| Clear sparsity (no dependencies).
|
void | clear (unsigned int i) |
| Clear sparsity for given component.
|
void | setsize (unsigned int i, unsigned int size) |
| Set sparsity (number of dependencies for component i).
|
void | set (unsigned int i, unsigned int j) |
| Set sparsity (component i depends on component j).
|
void | set (const Matrix &A) |
| Set sparsity defined by a sparse matrix.
|
void | transp (const Sparsity &sparsity) |
| Set sparsity to transpose of given sparsity.
|
void | detect (ODE &ode) |
| Automatically detect dependencies.
|
bool | sparse () const |
| Check if the dependency pattern is sparse (inline optimized).
|
NewArray< unsigned int > & | row (unsigned int i) |
| Get dependencies for given component.
|
const NewArray< unsigned int > & | row (unsigned int i) const |
| Get dependencies for given component.
|
void | show () const |
| Show sparsity (dependences).
|