Exponent of function.  
 More...
#include <JMathlib.hh>
template<class JF1_t>
struct JMATH::JExp< JF1_t >
Exponent of function. 
Definition at line 2403 of file JMathlib.hh.
 
◆ JExp() [1/2]
◆ JExp() [2/2]
Constructor. 
- Parameters
 - 
  
  
 
Definition at line 2423 of file JMathlib.hh.
const JPolynome f1(1.0, 2.0, 3.0)
Function.
 
 
 
 
◆ getValue()
template<class JF1_t > 
  
  
      
        
          | double JMATH::JExp< JF1_t >::getValue  | 
          ( | 
          const double  | 
          x | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Function value. 
- Parameters
 - 
  
  
 
- Returns
 - function value 
 
Definition at line 2434 of file JMathlib.hh.
 2436       return exp(
static_cast<const JF1_t&
>(*this).getValue(
x));
 
 
 
 
◆ getDerivative()
template<class JF1_t > 
  
  
      
        
          | double JMATH::JExp< JF1_t >::getDerivative  | 
          ( | 
          const double  | 
          x | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Derivative value. 
- Parameters
 - 
  
  
 
- Returns
 - derivative value 
 
Definition at line 2446 of file JMathlib.hh.
 2448       return static_cast<const JF1_t&
>(*this).getDerivative(
x) * 
getValue(
x);
 
double getValue(const double x) const
Function value.
 
 
 
 
◆ getGradient()
Get gradient. 
- Parameters
 - 
  
  
 
- Returns
 - gradient 
 
Definition at line 2458 of file JMathlib.hh.
 2460       static JExp gradient;
 
 2462       gradient  = 
static_cast<const JF1_t&
>(*this).
getGradient(
x);
 
const JExp & getGradient(const double x) const
Get gradient.
 
 
 
 
◆ operator()()
Function value. 
- Parameters
 - 
  
  
 
- Returns
 - function value 
 
Definition at line 362 of file JMathlib.hh.
  364       return static_cast<const JF1_t&
>(*this).getValue(
args...);
 
 
 
 
The documentation for this struct was generated from the following file: