ROL
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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::~PositiveFunction
virtual ~PositiveFunction()
Definition:
ROL_PositiveFunction.hpp:18
ROL::PositiveFunction::evaluate
virtual Real evaluate(Real input, int deriv)=0
ROL::PositiveFunction
Definition:
ROL_PositiveFunction.hpp:16
Generated by
1.8.5