Dummy Hessian. Has size zero and no logic in any call.
More...
#include <hessian.hpp>
|
size_t | getM () const |
| Get size of rows (output variables).
|
|
size_t | getN () const |
| Get size of columns (input variables).
|
|
DummyValue & | operator() (size_t const i, size_t const j, size_t const k) |
| Reference access.
|
|
DummyValue | 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.
|
|
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.
|
|
Dummy Hessian. Has size zero and no logic in any call.
◆ getM()
size_t codi::DummyHessian::getM |
( |
| ) |
const |
|
inline |
Get size of rows (output variables).
◆ getN()
size_t codi::DummyHessian::getN |
( |
| ) |
const |
|
inline |
Get size of columns (input variables).
◆ operator()() [1/2]
DummyValue & codi::DummyHessian::operator() |
( |
size_t const | i, |
|
|
size_t const | j, |
|
|
size_t const | k ) |
|
inline |
Reference access.
- Parameters
-
[in] | i | Output value of the function. Range: [0, m). |
[in] | j | Input value of the function. First derivative direction. Range: [0,n). |
[in] | k | Input value of the function. Second derivative direction. Range: [0,n). |
◆ operator()() [2/2]
DummyValue codi::DummyHessian::operator() |
( |
size_t const | i, |
|
|
size_t const | j, |
|
|
size_t const | k ) const |
|
inline |
Value access.
- Parameters
-
[in] | i | Output value of the function. Range: [0, m). |
[in] | j | Input value of the function. First derivative direction. Range: [0,n). |
[in] | k | Input value of the function. Second derivative direction. Range: [0,n). |
◆ resize()
void codi::DummyHessian::resize |
( |
size_t const | m, |
|
|
size_t const | n ) |
|
inline |
Resize to the new dimensions.
◆ size()
size_t codi::DummyHessian::size |
( |
| ) |
const |
|
inline |
The documentation for this struct was generated from the following file: