Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
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.
 
double operator() (const double *x, const double *parameters)
 ROOT compatible function call.
 

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.

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

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