BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
Rosenbrock Class Reference
Inheritance diagram for Rosenbrock:
[legend]
Collaboration diagram for Rosenbrock:
[legend]

Public Member Functions

 Rosenbrock ()
real compute_objective (const Vector< real > &aX, Vector< real > &aGradient) override
 evaluate the objective at the design point aX.
Public Member Functions inherited from belfem::opt::Objective
 Objective (const uint aDimension)
virtual ~Objective ()=default
uint dimension () const
 return the number of design variables

Constructor & Destructor Documentation

◆ Rosenbrock()

Rosenbrock::Rosenbrock ( )
inline

Member Function Documentation

◆ compute_objective()

real Rosenbrock::compute_objective ( const Vector< real > & aX,
Vector< real > & aGradient )
inlineoverridevirtual

evaluate the objective at the design point aX.

Parameters
aXdesign vector, length dimension()
aGradientgradient output. For derivative-free algorithms this vector has length zero and must be ignored. For gradient-based algorithms it has length dimension() and the implementation must fill it with d(objective)/d(aX).
Returns
the scalar objective value at aX

Implements belfem::opt::Objective.


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