Loading...
Searching...
No Matches
gpr::EnergyAndGradient Struct Reference

Structure of energy and gradient stored in Eigen-compatible form. More...

#include <structures/Structures.h>

Public Member Functions

 EnergyAndGradient (double &e, Eigen::VectorXd &g)

Public Attributes

double & energy
Eigen::VectorXd & gradient

Detailed Description

Structure of energy and gradient stored in Eigen-compatible form.

Definition at line 359 of file Structures.h.

Constructor & Destructor Documentation

◆ EnergyAndGradient()

gpr::EnergyAndGradient::EnergyAndGradient ( double & e,
Eigen::VectorXd & g )
inline

Definition at line 362 of file Structures.h.

363 : energy(e), gradient(g) { }
Eigen::VectorXd & gradient
Definition Structures.h:361

Member Data Documentation

◆ energy

double& gpr::EnergyAndGradient::energy

Definition at line 360 of file Structures.h.

◆ gradient

Eigen::VectorXd& gpr::EnergyAndGradient::gradient

Definition at line 361 of file Structures.h.


The documentation for this struct was generated from the following file: