ROL
ROL_PositiveFunction.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_POSITIVEFUNCTION_HPP
11#define ROL_POSITIVEFUNCTION_HPP
12
13namespace ROL {
14
15template<class Real>
17public:
18 virtual ~PositiveFunction() {}
19 virtual Real evaluate(Real input, int deriv) = 0;
20};
21
22}
23
24#endif
virtual Real evaluate(Real input, int deriv)=0