Jpp 19.3.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 617 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 625 of file JRootfit.hh.

625 :
626 JF1_t(f1)
627 {}

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 637 of file JRootfit.hh.

638 {
639 setParameters(this, parameters);
640
641 return this->getValue(x[0]);
642 }
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: