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

Constructor & Destructor Documentation

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

Constructor.

Parameters
f3function

Definition at line 761 of file JRootfit.hh.

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

Member Function Documentation

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

774  {
775  setParameters(this, parameters);
776 
777  return this->getValue(x[0], x[1], x[2]);
778  }
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: