|
| JacobianCountNonZerosRow (size_t m, size_t n) |
| m = rows (output variables), n = columns (input variables)
|
|
int & | nonZerosRow (size_t const i) |
| Reference to the number of nonzero entries for the specified row.
|
|
DelayAcc | operator() (size_t const i, size_t const j) |
| Reference access, i in [0, ..., m), j in [0, ..., n).
|
|
T | operator() (size_t const i, size_t const j) const |
| Value access, i in [0, ..., m), j in [0, ..., n).
|
|
void | resize (size_t const m, size_t const n) |
| Resize the Jacobian.
|
|
void | setLogic (size_t const i, size_t const j, T const &v) |
| Checks if the element is non zero and updates the counter.
|
|
size_t | getM () const |
| Get size of rows (output variables).
|
|
size_t | getN () const |
| Get size of columns (input variables).
|
|
| Jacobian (size_t const m, size_t const n) |
| m = rows (output variables), n = columns (input variables)
|
|
T & | operator() (size_t const i, size_t const j) |
| Reference access, i in [0, ..., m), j in [0, ..., n).
|
|
T | operator() (size_t const i, size_t const j) const |
| Value access, i in [0, ..., m), j in [0, ..., n).
|
|
void | resize (size_t const m, size_t const n) |
| Resize the Jacobian.
|
|
size_t | size () const |
| Get total size of the Jacobian.
|
|
size_t | getM () const |
| Get size of rows (output variables).
|
|
size_t | getN () const |
| Get size of columns (input variables).
|
|
T & | operator() (size_t const i, size_t const j) |
| Reference access, i in [0, ..., m), j in [0, ..., n).
|
|
T | operator() (size_t const i, size_t const j) const |
| Value access, i in [0, ..., m), j in [0, ..., n).
|
|
void | resize (size_t const m, size_t const n) |
| Resize the Jacobian.
|
|
void | setLogic (size_t const i, size_t const j, T const &v) |
| Interface for the JacobianDelayAccessor.
|
|
size_t | size () const |
| Get total size of the Jacobian.
|
|
template<typename T_T, typename T_Store = std::vector<T_T>>
struct codi::JacobianCountNonZerosRow< T_T, T_Store >
Adds counting of nonzero entries.
The user has to manually reset the count.
- Template Parameters
-
T_T | The data type in the Jacobian. |
T_Store | Storage allocator. Should implement the standard vector interface. |