![]() |
Garfield 0.3
Toolkit for the detailed simulation of particle detectors based on ionization measurement in gases and semiconductors
|
Collection of numerical routines. More...
Namespaces | |
| namespace | CERNLIB |
| Linear algebra routines from CERNLIB. | |
| namespace | QUADPACK |
| Functions for performing numerical integration (quadrature). | |
Functions | |
| constexpr std::array< double, 2 > | GaussLegendreNodes2 () |
| constexpr std::array< double, 2 > | GaussLegendreWeights2 () |
| constexpr std::array< double, 3 > | GaussLegendreNodes3 () |
| constexpr std::array< double, 3 > | GaussLegendreWeights3 () |
| constexpr std::array< double, 4 > | GaussLegendreNodes4 () |
| constexpr std::array< double, 4 > | GaussLegendreWeights4 () |
| constexpr std::array< double, 5 > | GaussLegendreNodes5 () |
| constexpr std::array< double, 5 > | GaussLegendreWeights5 () |
| constexpr std::array< double, 6 > | GaussLegendreNodes6 () |
| constexpr std::array< double, 6 > | GaussLegendreWeights6 () |
| double | Legendre (const unsigned int n, const double x) |
| Legendre polynomials. | |
| double | BesselI0S (const double xx) |
| Modified Bessel functions. | |
| double | BesselI1S (const double xx) |
| double | BesselK0S (const double xx) |
| double | BesselK0L (const double xx) |
| double | BesselK1S (const double xx) |
| double | BesselK1L (const double xx) |
| double | Divdif (const std::vector< double > &f, const std::vector< double > &a, int nn, double x, int mm) |
| C++ version of DIVDIF (CERN program library E105) which performs tabular interpolation using symmetrically placed argument points. | |
| double | LinearInterpolation (const std::vector< double > &ytab, const std::vector< double > &xtab, const double x) |
| bool | Boxin2 (const std::vector< std::vector< double > > &value, const std::vector< double > &xAxis, const std::vector< double > &yAxis, const int nx, const int ny, const double xx, const double yy, double &f, const int iOrder) |
| Interpolation of order 1 and 2 in an irregular rectangular two-dimensional grid. | |
| bool | Boxin3 (const std::vector< std::vector< std::vector< double > > > &value, const std::vector< double > &xAxis, const std::vector< double > &yAxis, const std::vector< double > &zAxis, const int nx, const int ny, const int nz, const double xx, const double yy, const double zz, double &f, const int iOrder) |
| Interpolation of order 1 and 2 in an irregular rectangular three-dimensional grid. | |
| bool | LeastSquaresFit (std::function< double(double, const std::vector< double > &)> f, std::vector< double > &par, std::vector< double > &epar, const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &ey, const unsigned int nMaxIter, const double diff, double &chi2, const double eps, const bool debug, const bool verbose) |
| Least-squares minimisation. | |
Collection of numerical routines.
|
inline |
Modified Bessel functions.
Series expansions from Abramowitz and Stegun.
Definition at line 174 of file Numerics.hh.
|
inline |
Definition at line 182 of file Numerics.hh.
|
inline |
Definition at line 199 of file Numerics.hh.
|
inline |
Definition at line 190 of file Numerics.hh.
|
inline |
Definition at line 216 of file Numerics.hh.
|
inline |
Definition at line 207 of file Numerics.hh.
| bool Garfield::Numerics::Boxin2 | ( | const std::vector< std::vector< double > > & | value, |
| const std::vector< double > & | xAxis, | ||
| const std::vector< double > & | yAxis, | ||
| const int | nx, | ||
| const int | ny, | ||
| const double | xx, | ||
| const double | yy, | ||
| double & | f, | ||
| const int | iOrder ) |
Interpolation of order 1 and 2 in an irregular rectangular two-dimensional grid.
| bool Garfield::Numerics::Boxin3 | ( | const std::vector< std::vector< std::vector< double > > > & | value, |
| const std::vector< double > & | xAxis, | ||
| const std::vector< double > & | yAxis, | ||
| const std::vector< double > & | zAxis, | ||
| const int | nx, | ||
| const int | ny, | ||
| const int | nz, | ||
| const double | xx, | ||
| const double | yy, | ||
| const double | zz, | ||
| double & | f, | ||
| const int | iOrder ) |
Interpolation of order 1 and 2 in an irregular rectangular three-dimensional grid.
| double Garfield::Numerics::Divdif | ( | const std::vector< double > & | f, |
| const std::vector< double > & | a, | ||
| int | nn, | ||
| double | x, | ||
| int | mm ) |
C++ version of DIVDIF (CERN program library E105) which performs tabular interpolation using symmetrically placed argument points.
|
constexpr |
Definition at line 16 of file Numerics.hh.
|
constexpr |
Definition at line 20 of file Numerics.hh.
|
constexpr |
Definition at line 26 of file Numerics.hh.
|
constexpr |
Definition at line 34 of file Numerics.hh.
|
constexpr |
Definition at line 42 of file Numerics.hh.
|
constexpr |
Definition at line 19 of file Numerics.hh.
|
constexpr |
Definition at line 23 of file Numerics.hh.
|
constexpr |
Definition at line 30 of file Numerics.hh.
|
constexpr |
Definition at line 38 of file Numerics.hh.
|
constexpr |
Definition at line 46 of file Numerics.hh.
| bool Garfield::Numerics::LeastSquaresFit | ( | std::function< double(double, const std::vector< double > &)> | f, |
| std::vector< double > & | par, | ||
| std::vector< double > & | epar, | ||
| const std::vector< double > & | x, | ||
| const std::vector< double > & | y, | ||
| const std::vector< double > & | ey, | ||
| const unsigned int | nMaxIter, | ||
| const double | diff, | ||
| double & | chi2, | ||
| const double | eps, | ||
| const bool | debug, | ||
| const bool | verbose ) |
Least-squares minimisation.
|
inline |
Legendre polynomials.
Definition at line 159 of file Numerics.hh.
| double Garfield::Numerics::LinearInterpolation | ( | const std::vector< double > & | ytab, |
| const std::vector< double > & | xtab, | ||
| const double | x ) |