ROL
ROL_ProxObjective.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_PROXOBJECTIVE_HPP
11#define ROL_PROXOBJECTIVE_HPP
12
13#include "ROL_Objective.hpp"
14
15namespace ROL {
16
17template<typename Real>
18class ProxObjective : public Objective<Real> {
19public:
20 virtual void prox(Vector<Real> &x, Real gamma) = 0;
21};
22
23}
24
25#endif
Provides the interface to evaluate objective functions.
virtual void prox(Vector< Real > &x, Real gamma)=0
Defines the linear algebra or vector space interface.