|
AGX Dynamics
2.35.0.1
|
SparseInverse holds a subset of the columns of the inverse of a given sparse matrix. More...
#include <SparseInverse.h>
Inheritance diagram for agx::RealEntry:Public Member Functions | |
| RealEntry () | |
| RealEntry (const int &i, const Real &x) | |
| bool | operator< (const RealEntry &e) |
| bool | operator<= (const RealEntry &e) |
| bool | operator== (const RealEntry &e) |
SparseInverse holds a subset of the columns of the inverse of a given sparse matrix.
To compute these columns, we simply call the solve(x) method of the matrix object with x[i] = 0 for i!=j, and x[j] = 0.
The columns are stored as SparseVector so only nonzero elements are considered. In addition, only a subset of indices are considered at all, those contained in the SparseRangeReal object.
The columns are held in an std::map so they are sorted according to their index in increasing order. This makes it easy to find out if a given column is present or if need An entry associates a real value with an index.
Definition at line 58 of file SparseInverse.h.
|
inline |
Definition at line 60 of file SparseInverse.h.
|
inline |
Definition at line 61 of file SparseInverse.h.
|
inline |
Definition at line 62 of file SparseInverse.h.
|
inline |
Definition at line 64 of file SparseInverse.h.
|
inline |
Definition at line 63 of file SparseInverse.h.