ROL
ROL_Objective_FSsolver.hpp
Go to the documentation of this file.
1// @HEADER
2// *****************************************************************************
3// Rapid Optimization Library (ROL) Package
4//
5// Copyright 2014 NTESS and the ROL contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef ROL_OBJECTIVE_FSSOLVER_H
11#define ROL_OBJECTIVE_FSSOLVER_H
12
13#include "ROL_Objective.hpp"
14
15namespace ROL {
16
17template<typename Real>
18class Objective_FSsolver : public Objective<Real> {
19public:
20 Real value( const Vector<Real> &u, Real &tol ) override;
21 void gradient( Vector<Real> &g, const Vector<Real> &u, Real &tol ) override;
22 void hessVec( Vector<Real> &hv, const Vector<Real> &v, const Vector<Real> &u, Real &tol ) override;
23
24}; // class Objective_FSsolver
25
26} // namespace ROL
27
29
30#endif
Real value(const Vector< Real > &u, Real &tol) override
Compute value.
void hessVec(Vector< Real > &hv, const Vector< Real > &v, const Vector< Real > &u, Real &tol) override
Apply Hessian approximation to vector.
void gradient(Vector< Real > &g, const Vector< Real > &u, Real &tol) override
Compute gradient.
Provides the interface to evaluate objective functions.
Defines the linear algebra or vector space interface.