Jpp 21.0.0-rc.1
the software that should make you happy
Loading...
Searching...
No Matches
JROOT::JF1::helper< JF1_t > Struct Template Reference

Helper. More...

#include <JRootfit.hh>

Inheritance diagram for JROOT::JF1::helper< JF1_t >:

Public Member Functions

 helper (const JF1_t &f1)
 Constructor.
 
double operator() (const double *x, const double *parameters)
 ROOT compatible function call.
 

Detailed Description

template<class JF1_t>
struct JROOT::JF1::helper< JF1_t >

Helper.

Definition at line 816 of file JRootfit.hh.

Constructor & Destructor Documentation

◆ helper()

template<class JF1_t >
JROOT::JF1::helper< JF1_t >::helper ( const JF1_t & f1)
inline

Constructor.

Parameters
f1function

Definition at line 824 of file JRootfit.hh.

824 :
825 JF1_t(f1)
826 {}

Member Function Documentation

◆ operator()()

template<class JF1_t >
double JROOT::JF1::helper< JF1_t >::operator() ( const double * x,
const double * parameters )
inline

ROOT compatible function call.

Parameters
xpointer to abscissa values
parameterspointer to parameter values
Returns
function value

Definition at line 836 of file JRootfit.hh.

837 {
838 setParameters(this, parameters);
839
840 return this->getValue(x[0]);
841 }
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
Definition JScale.hh:47

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