|
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::Jacobian< T_T, T_Store >
Default implementation of the Jacobian interface.
Data is stored in a row-major format.
- Template Parameters
-
T_T | The data type in the Jacobian. |
T_Store | Storage allocator. Should implement the standard vector interface. |
template<typename T_T , typename T_Store = std::vector<T_T>>
T & codi::Jacobian< T_T, T_Store >::operator() |
( |
size_t const | i, |
|
|
size_t const | j ) |
|
inline |
Reference access, i in [0, ..., m), j in [0, ..., n).
template<typename T_T , typename T_Store = std::vector<T_T>>
T codi::Jacobian< T_T, T_Store >::operator() |
( |
size_t const | i, |
|
|
size_t const | j ) const |
|
inline |
Value access, i in [0, ..., m), j in [0, ..., n).