Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
MathUtils::Exponential Class Reference

Exponential function functor: f(x) = a * exp(b*x) + c. More...

#include <MathUtils_FunctorScalar.hxx>

Public Member Functions

 Exponential (double theScale=1.0, double theRate=1.0, double theOffset=0.0)
 Constructor with full parameters.
 
bool Value (double theX, double &theY) const
 Evaluates exponential function.
 
bool Values (double theX, double &theY, double &theDY) const
 Evaluates exponential function and derivative.
 

Detailed Description

Exponential function functor: f(x) = a * exp(b*x) + c.

Constructor & Destructor Documentation

◆ Exponential()

MathUtils::Exponential::Exponential ( double theScale = 1.0,
double theRate = 1.0,
double theOffset = 0.0 )
inline

Constructor with full parameters.

Parameters
theScalescale factor a
theRaterate b
theOffsetvertical offset c

Member Function Documentation

◆ Value()

bool MathUtils::Exponential::Value ( double theX,
double & theY ) const
inline

Evaluates exponential function.

Parameters
[in]theXinput value
[out]theYfunction value
Returns
true (always succeeds)

◆ Values()

bool MathUtils::Exponential::Values ( double theX,
double & theY,
double & theDY ) const
inline

Evaluates exponential function and derivative.

Parameters
[in]theXinput value
[out]theYfunction value
[out]theDYderivative value
Returns
true (always succeeds)

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