Jpp  master_rocky-43-ge265d140c
the software that should make you happy
Public Member Functions | List of all members
JROOT::JF3::helper< JF3_t > Struct Template Reference

Helper. More...

#include <JRootfit.hh>

Inheritance diagram for JROOT::JF3::helper< JF3_t >:

Public Member Functions

 helper (const JF3_t &f3)
 Constructor. More...
 
double operator() (const double *x, const double *parameters)
 ROOT compatible function call. More...
 

Detailed Description

template<class JF3_t>
struct JROOT::JF3::helper< JF3_t >

Helper.

Definition at line 754 of file JRootfit.hh.

Constructor & Destructor Documentation

◆ helper()

template<class JF3_t >
JROOT::JF3::helper< JF3_t >::helper ( const JF3_t &  f3)
inline

Constructor.

Parameters
f3function

Definition at line 762 of file JRootfit.hh.

762  :
763  JF3_t(f3)
764  {}
double f3(const double x, const double y, const double z)
3D function.
Definition: JPolynome3D.cc:23

Member Function Documentation

◆ operator()()

template<class JF3_t >
double JROOT::JF3::helper< JF3_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 774 of file JRootfit.hh.

775  {
776  setParameters(this, parameters);
777 
778  return this->getValue(x[0], x[1], x[2]);
779  }
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
Definition: JScale.hh:47
void setParameters(JF1_t *f1, const double *values)
Set values of all parameters.
Definition: JMathlib.hh:182

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