Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
MathUtils::Negated< F > Class Template Reference

Negated function functor: -f(x). More...

#include <MathUtils_FunctorScalar.hxx>

Public Member Functions

 Negated (F theF)
 Constructor from function.
 
bool Value (double theX, double &theY) const
 Evaluates negated function -f(theX).
 

Detailed Description

template<typename F>
class MathUtils::Negated< F >

Negated function functor: -f(x).

Template Parameters
Ffunction type

Constructor & Destructor Documentation

◆ Negated()

template<typename F >
MathUtils::Negated< F >::Negated ( F theF)
inlineexplicit

Constructor from function.

Parameters
theFfunction to negate

Member Function Documentation

◆ Value()

template<typename F >
bool MathUtils::Negated< F >::Value ( double theX,
double & theY ) const
inline

Evaluates negated function -f(theX).

Parameters
[in]theXinput value
[out]theYnegated value
Returns
false if evaluation fails

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