MINT2
Public Member Functions | Private Attributes | List of all members
RooCubicSplineKnot::S_edge Class Reference

#include <RooCubicSplineKnot.h>

Public Member Functions

 S_edge (double a, double b)
 
 S_edge (const S_edge &other, double offset=0)
 
double operator() (int j, int k) const
 

Private Attributes

double alpha
 
double beta
 

Detailed Description

Definition at line 153 of file RooCubicSplineKnot.h.

Constructor & Destructor Documentation

◆ S_edge() [1/2]

RooCubicSplineKnot::S_edge::S_edge ( double  a,
double  b 
)
inline

Definition at line 155 of file RooCubicSplineKnot.h.

◆ S_edge() [2/2]

RooCubicSplineKnot::S_edge::S_edge ( const S_edge other,
double  offset = 0 
)

Definition at line 276 of file RooCubicSplineKnot.cpp.

276  :
277  alpha(other.alpha), beta(other.beta + offset * other.alpha * 2)
278  {}

Member Function Documentation

◆ operator()()

double RooCubicSplineKnot::S_edge::operator() ( int  j,
int  k 
) const
inline

Definition at line 157 of file RooCubicSplineKnot.h.

157  {
158  assert(j==0||j==1);
159  assert(0<=(j+k) && (j+k)<2);
160  return ( j+k==0 ) ? beta : alpha ;
161  }

Member Data Documentation

◆ alpha

double RooCubicSplineKnot::S_edge::alpha
private

Definition at line 163 of file RooCubicSplineKnot.h.

◆ beta

double RooCubicSplineKnot::S_edge::beta
private

Definition at line 163 of file RooCubicSplineKnot.h.


The documentation for this class was generated from the following files: