CbmRoot
BilinearSplineFunction Class Reference

#include <CbmBilinearSplineFunction.h>

Public Member Functions

 BilinearSplineFunction (void)
 
 BilinearSplineFunction (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &vals)
 
void setData (const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &vals)
 
double Eval (double x, double y) const
 
 ~BilinearSplineFunction (void)
 

Private Attributes

std::vector< double > xs
 
std::vector< SplineFunctionxspls
 

Detailed Description

Definition at line 21 of file CbmBilinearSplineFunction.h.

Constructor & Destructor Documentation

◆ BilinearSplineFunction() [1/2]

BilinearSplineFunction::BilinearSplineFunction ( void  )
inline

Definition at line 26 of file CbmBilinearSplineFunction.h.

References xs, and xspls.

◆ BilinearSplineFunction() [2/2]

BilinearSplineFunction::BilinearSplineFunction ( const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  vals 
)
inline

Definition at line 30 of file CbmBilinearSplineFunction.h.

References setData(), x, and y.

◆ ~BilinearSplineFunction()

BilinearSplineFunction::~BilinearSplineFunction ( void  )
inline

Definition at line 76 of file CbmBilinearSplineFunction.h.

Member Function Documentation

◆ Eval()

double BilinearSplineFunction::Eval ( double  x,
double  y 
) const
inline

◆ setData()

void BilinearSplineFunction::setData ( const std::vector< double > &  x,
const std::vector< double > &  y,
const std::vector< double > &  vals 
)
inline

Member Data Documentation

◆ xs

std::vector<double> BilinearSplineFunction::xs
private

Definition at line 22 of file CbmBilinearSplineFunction.h.

Referenced by BilinearSplineFunction(), Eval(), and setData().

◆ xspls

std::vector<SplineFunction> BilinearSplineFunction::xspls
private

Definition at line 23 of file CbmBilinearSplineFunction.h.

Referenced by BilinearSplineFunction(), Eval(), and setData().


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