Hessian Struct Reference
A type to describe the Hessian of an objective function. More...
#include <Hessian.hpp>
Public Types | |
enum | Mode { Dense, Diagonal, Inverse } |
An enumeration of possible modes for an Hessian representation. | |
Public Attributes | |
Mode | mode = Dense |
The mode of the Hessian. More... | |
Matrix | inverse |
The Hessian matrix represented through its inverse. | |
Matrix | dense |
The Hessian matrix represented as a dense matrix. | |
Vector | diagonal |
The Hessian matrix represented as a diagonal matrix. | |
Detailed Description
A type to describe the Hessian of an objective function.
Member Data Documentation
◆ mode
Mode mode = Dense |
The documentation for this struct was generated from the following file:
- Reaktoro/Optimization/Hessian.hpp
auto diag(const Eigen::MatrixBase< Derived > &vec) -> decltype(vec.asDiagonal())
Return a diagonal matrix representation of a vector.
Definition: Matrix.hxx:185