KASKADE 7 development version
Public Member Functions | List of all members
Kaskade::PenaltyFunction< Base > Class Template Reference

Sets a function to std::numeric_limits<double>::max() for negative arguments. More...

#include <elementary_functions.hh>

Detailed Description

template<class Base>
class Kaskade::PenaltyFunction< Base >

Sets a function to std::numeric_limits<double>::max() for negative arguments.

Definition at line 11 of file elementary_functions.hh.

Inheritance diagram for Kaskade::PenaltyFunction< Base >:

Public Member Functions

template<typename... Args>
 PenaltyFunction (const Args &... args)
 
 PenaltyFunction (PenaltyFunction const &)=default
 
PenaltyFunctionoperator= (PenaltyFunction const &)=default
 
double d0 (double const &x) const
 
double d1 (double const &x) const
 
double d2 (double const &x) const
 
double d3 (double const &x) const
 

Constructor & Destructor Documentation

◆ PenaltyFunction() [1/2]

template<class Base >
template<typename... Args>
Kaskade::PenaltyFunction< Base >::PenaltyFunction ( const Args &...  args)
inline

Definition at line 15 of file elementary_functions.hh.

◆ PenaltyFunction() [2/2]

template<class Base >
Kaskade::PenaltyFunction< Base >::PenaltyFunction ( PenaltyFunction< Base > const &  )
default

Member Function Documentation

◆ d0()

template<class Base >
double Kaskade::PenaltyFunction< Base >::d0 ( double const &  x) const
inline

Definition at line 20 of file elementary_functions.hh.

◆ d1()

template<class Base >
double Kaskade::PenaltyFunction< Base >::d1 ( double const &  x) const
inline

Definition at line 26 of file elementary_functions.hh.

◆ d2()

template<class Base >
double Kaskade::PenaltyFunction< Base >::d2 ( double const &  x) const
inline

Definition at line 32 of file elementary_functions.hh.

◆ d3()

template<class Base >
double Kaskade::PenaltyFunction< Base >::d3 ( double const &  x) const
inline

Definition at line 38 of file elementary_functions.hh.

◆ operator=()

template<class Base >
PenaltyFunction & Kaskade::PenaltyFunction< Base >::operator= ( PenaltyFunction< Base > const &  )
default

The documentation for this class was generated from the following file: