![]() |
Project
|
#include <Chebyshev3DCalc.h>
Inherits TNamed.
Public Member Functions | |
| Chebyshev3DCalc () | |
| Default constructor. | |
| Chebyshev3DCalc (const Chebyshev3DCalc &src) | |
| Copy constructor. | |
| Chebyshev3DCalc (FILE *stream) | |
| Constructor from coefficients stream. | |
| ~Chebyshev3DCalc () override | |
| Default destructor. | |
| Chebyshev3DCalc & | operator= (const Chebyshev3DCalc &rhs) |
| Assignment operator. | |
| void | Print (const Option_t *opt="") const override |
| Prints info. | |
| void | loadData (FILE *stream) |
| Loads coefficients from the stream. | |
| Float_t | evaluateDerivative (int dim, const Float_t *par) const |
| Float_t | evaluateDerivative2 (int dim1, int dim2, const Float_t *par) const |
| void | saveData (const char *outfile, Bool_t append=kFALSE) const |
| Writes coefficients data to output text file, optionally appending on the end of existing file. | |
| void | saveData (FILE *stream=stdout) const |
| void | initializeRows (int nr) |
| Sets maximum number of significant rows in the coefficients matrix. | |
| void | initializeColumns (int nc) |
| Sets maximum number of significant columns in the coefficients matrix. | |
| Int_t | getNumberOfCoefficients () const |
| Int_t | getNumberOfColumns () const |
| Int_t | getNumberOfRows () const |
| Int_t | getNumberOfElementsBound2D () const |
| Int_t | getMaxColumnsAtRow () const |
| UShort_t * | getNumberOfColumnsAtRow () const |
| UShort_t * | getColAtRowBg () const |
| Float_t | getPrecision () const |
| void | setPrecision (Float_t prc=1e-6) |
| Sets requested precision. | |
| void | initializeElementBound2D (int ne) |
| Sets maximum number of significant coefficients for given row/column of coefficients 3D matrix. | |
| UShort_t * | getCoefficientBound2D0 () const |
| UShort_t * | getCoefficientBound2D1 () const |
| void | Clear (const Option_t *option="") override |
| Deletes all dynamically allocated structures. | |
| void | initializeCoefficients (int nc) |
| Sets total number of significant coefficients. | |
| Float_t * | getCoefficients () const |
| Float_t | Eval (const Float_t *par) const |
| Double_t | Eval (const Double_t *par) const |
Static Public Member Functions | |
| static Float_t | chebyshevEvaluation1D (Float_t x, const Float_t *array, int ncf) |
| Evaluates 1D Chebyshev parameterization. x is the argument mapped to [-1:1] interval. | |
| static Float_t | chebyshevEvaluation1Derivative (Float_t x, const Float_t *array, int ncf) |
| Evaluates 1D Chebyshev parameterization's derivative. x is the argument mapped to [-1:1] interval. | |
| static Float_t | chebyshevEvaluation1Derivative2 (Float_t x, const Float_t *array, int ncf) |
| Evaluates 1D Chebyshev parameterization's 2nd derivative. x is the argument mapped to [-1:1] interval. | |
| static void | readLine (TString &str, FILE *stream) |
| Reads single line from the stream, skipping empty and commented lines. EOF is not expected. | |
Definition at line 37 of file Chebyshev3DCalc.h.
| Chebyshev3DCalc::Chebyshev3DCalc | ( | ) |
Default constructor.
Definition at line 25 of file Chebyshev3DCalc.cxx.
| Chebyshev3DCalc::Chebyshev3DCalc | ( | const Chebyshev3DCalc & | src | ) |
Copy constructor.
Definition at line 41 of file Chebyshev3DCalc.cxx.
| Chebyshev3DCalc::Chebyshev3DCalc | ( | FILE * | stream | ) |
Constructor from coefficients stream.
Definition at line 94 of file Chebyshev3DCalc.cxx.
|
inlineoverride |
Default destructor.
Definition at line 51 of file Chebyshev3DCalc.h.
|
inlinestatic |
Evaluates 1D Chebyshev parameterization. x is the argument mapped to [-1:1] interval.
Definition at line 199 of file Chebyshev3DCalc.h.
|
static |
Evaluates 1D Chebyshev parameterization's derivative. x is the argument mapped to [-1:1] interval.
Definition at line 470 of file Chebyshev3DCalc.cxx.
|
static |
Evaluates 1D Chebyshev parameterization's 2nd derivative. x is the argument mapped to [-1:1] interval.
Definition at line 496 of file Chebyshev3DCalc.cxx.
|
override |
Deletes all dynamically allocated structures.
Definition at line 161 of file Chebyshev3DCalc.cxx.
|
inline |
Evaluates Chebyshev parameterization for 3D function. VERY IMPORTANT: par must contain the function arguments ALREADY MAPPED to [-1:1] interval
Definition at line 240 of file Chebyshev3DCalc.h.
Evaluates Chebyshev parameterization for 3D function. VERY IMPORTANT: par must contain the function arguments ALREADY MAPPED to [-1:1] interval
Definition at line 224 of file Chebyshev3DCalc.h.
Evaluates Chebyshev parameterization derivative in given dimension for 3D function. VERY IMPORTANT: par must contain the function arguments ALREADY MAPPED to [-1:1] interval
Definition at line 206 of file Chebyshev3DCalc.cxx.
Evaluates Chebyshev parameterization 2n derivative in given dimensions for 3D function. VERY IMPORTANT: par must contain the function arguments ALREADY MAPPED to [-1:1] interval
Definition at line 240 of file Chebyshev3DCalc.cxx.
|
inline |
Definition at line 137 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 142 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 161 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 118 of file Chebyshev3DCalc.h.
| Int_t Chebyshev3DCalc::getMaxColumnsAtRow | ( | ) | const |
Definition at line 533 of file Chebyshev3DCalc.cxx.
|
inline |
Definition at line 91 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 96 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 113 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 106 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 101 of file Chebyshev3DCalc.h.
|
inline |
Definition at line 123 of file Chebyshev3DCalc.h.
Sets total number of significant coefficients.
Definition at line 455 of file Chebyshev3DCalc.cxx.
Sets maximum number of significant columns in the coefficients matrix.
Definition at line 423 of file Chebyshev3DCalc.cxx.
Sets maximum number of significant coefficients for given row/column of coefficients 3D matrix.
Definition at line 435 of file Chebyshev3DCalc.cxx.
Sets maximum number of significant rows in the coefficients matrix.
Definition at line 398 of file Chebyshev3DCalc.cxx.
| void Chebyshev3DCalc::loadData | ( | FILE * | stream | ) |
Loads coefficients from the stream.
Definition at line 316 of file Chebyshev3DCalc.cxx.
| Chebyshev3DCalc & Chebyshev3DCalc::operator= | ( | const Chebyshev3DCalc & | rhs | ) |
Assignment operator.
Definition at line 111 of file Chebyshev3DCalc.cxx.
|
override |
Prints info.
Definition at line 193 of file Chebyshev3DCalc.cxx.
|
static |
Reads single line from the stream, skipping empty and commented lines. EOF is not expected.
Definition at line 385 of file Chebyshev3DCalc.cxx.
| void o2::math_utils::Chebyshev3DCalc::saveData | ( | const char * | outfile, |
| Bool_t | append = kFALSE |
||
| ) | const |
Writes coefficients data to output text file, optionally appending on the end of existing file.
| void o2::math_utils::Chebyshev3DCalc::saveData | ( | FILE * | stream = stdout | ) | const |
Sets requested precision.
Definition at line 129 of file Chebyshev3DCalc.h.