Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Class implementing a simple linear spline. More...
#include <SplineFunction.h>
Public Member Functions | |
SplineFunction () | |
SplineFunction (std::vector< double > x, std::vector< double > y) | |
void | add_val (double x, double val) |
Adds a new pair of x,y values. More... | |
double | f (double arg) const |
Evaluates interpolated function at x = arg. More... | |
double | df (double arg) const |
Evaluates slope (derivative) at x = arg. More... | |
double | fsquare (double arg) |
Evaluates f(arg)^2. More... | |
void | clear () |
Clear all data and refill with zero function. More... | |
void | clearall () |
Just clear all data. More... | |
void | fill (std::vector< double > x, std::vector< double > y) |
Fill (x,y) pairs from provided vectors. More... | |
void | setConstant (double val) |
Models constnat f(x) == val function. More... | |
Class implementing a simple linear spline.
Definition at line 22 of file SplineFunction.h.
|
inline |
Definition at line 25 of file SplineFunction.h.
|
inline |
Definition at line 29 of file SplineFunction.h.
|
inline |
Adds a new pair of x,y values.
Definition at line 38 of file SplineFunction.h.
|
inline |
Clear all data and refill with zero function.
Definition at line 85 of file SplineFunction.h.
|
inline |
Just clear all data.
Definition at line 94 of file SplineFunction.h.
|
inline |
Evaluates slope (derivative) at x = arg.
Definition at line 66 of file SplineFunction.h.
|
inline |
Evaluates interpolated function at x = arg.
Definition at line 45 of file SplineFunction.h.
|
inline |
Fill (x,y) pairs from provided vectors.
Definition at line 99 of file SplineFunction.h.
|
inline |
Evaluates f(arg)^2.
Definition at line 79 of file SplineFunction.h.
|
inline |
Models constnat f(x) == val function.
Definition at line 109 of file SplineFunction.h.