|
| inlinesize_t | getM () const |
| | Get size of rows (output variables).
|
| |
| inlinesize_t | getN () const |
| | Get size of columns (input variables).
|
| |
|
| Hessian (size_t m, size_t n) |
| | Constructor.
|
| |
| inlineT & | operator() (size_t const i, size_t const j, size_t const k) |
| | Reference access.
|
| |
| inlineT | operator() (size_t const i, size_t const j, size_t const k) const |
| | Value access.
|
| |
| inlinevoid | resize (size_t const m, size_t const n) |
| | Resize to the new dimensions.
|
| |
| inlinesize_t | size () const |
| | Get total size of the Hessian.
|
| |
|
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, size_t const k) |
| | Reference access.
|
| |
| T | operator() (size_t const i, size_t const j, size_t const k) const |
| | Value access.
|
| |
|
void | resize (size_t const m, size_t const n) |
| | Resize to the new dimensions.
|
| |
|
size_t | size () const |
| | Get total size of the Hessian.
|
| |
|
virtual | ~HessianInterface () |
| | Destructor.
|
| |
template<typename T_T, typename T_Store = std::vector<T_T>>
struct codi::Hessian< T_T, T_Store >
Default implementation of the Hessian interface.
Running index speed: j (fastest), i, k (slowest).
Data is stored in an array of row-major matrices.
- Template Parameters
-
| T_T | Data type in the Hessian. |
| T_Store | Storage allocator. Should implement the standard vector interface. |