ROL
src
sol
function
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
13
namespace
ROL
{
14
15
template
<
class
Real>
16
class
PositiveFunction
{
17
public
:
18
virtual
~PositiveFunction
() {}
19
virtual
Real
evaluate
(Real input,
int
deriv) = 0;
20
};
21
22
}
23
24
#endif
ROL::PositiveFunction
Definition
ROL_PositiveFunction.hpp:16
ROL::PositiveFunction::evaluate
virtual Real evaluate(Real input, int deriv)=0
ROL::PositiveFunction::~PositiveFunction
virtual ~PositiveFunction()
Definition
ROL_PositiveFunction.hpp:18
ROL
Definition
ROL_ElementwiseVector.hpp:27
Generated by
1.9.8