Jpp  18.6.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JROOT::JF2::helper< JF2_t > Struct Template Reference

Helper. More...

#include <JRootfit.hh>

Inheritance diagram for JROOT::JF2::helper< JF2_t >:

Public Member Functions

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

Detailed Description

template<class JF2_t>
struct JROOT::JF2::helper< JF2_t >

Helper.

Definition at line 682 of file JRootfit.hh.

Constructor & Destructor Documentation

template<class JF2_t >
JROOT::JF2::helper< JF2_t >::helper ( const JF2_t &  f2)
inline

Constructor.

Parameters
f2function

Definition at line 690 of file JRootfit.hh.

690  :
691  JF2_t(f2)
692  {}

Member Function Documentation

template<class JF2_t >
double JROOT::JF2::helper< JF2_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 702 of file JRootfit.hh.

703  {
704  setParameters(this, parameters);
705 
706  return this->getValue(x[0], x[1]);
707  }
double getValue(const JScale_t scale)
Get numerical value corresponding to scale.
Definition: JScale.hh:47
*fatal Wrong number of arguments esac JCookie sh typeset Z DETECTOR typeset Z SOURCE_RUN typeset Z TARGET_RUN set_variable PARAMETERS_FILE $WORKDIR parameters
Definition: diff-Tuna.sh:38
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: