![]() |
ATLAS Offline Software
|
#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | MuonCalib |
| CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO. | |
| namespace | MuonCalib::Legendre |
Macros | |
| #define | POLYSWITCH(order, x) |
| #define | DERIVPOLYSWITICH(l, d, x) |
| #define | DERIVORDERSWITCH(l, d, x) |
Functions | |
| constexpr unsigned long | MuonCalib::factorial (const int n) |
| Evaluated the n-th factorial at compile time. | |
| constexpr unsigned long | MuonCalib::binomial (const unsigned n, const unsigned k) |
| Calculates the binomial coefficient at compile time. | |
| template<int k> | |
| constexpr double | MuonCalib::pow (const double x) |
| Calculate the power of a variable x at compile time. | |
| constexpr double | MuonCalib::pow (double x, int power) |
| Calculate the power of a variable at run time. | |
| constexpr double | MuonCalib::Legendre::coeff (const unsigned l, const unsigned k) |
| Calculates the n-th coefficient of the legendre polynomial series. | |
| template<unsigned l, unsigned k> | |
| constexpr double | MuonCalib::Legendre::polySum (const double x) |
| Assembles the sum of the legendre monomials. | |
| template<unsigned l, unsigned k, unsigned d> | |
| constexpr double | MuonCalib::Legendre::derivativeSum (const double x) |
| Assembles the n-th derivative of the legendre polynomial. | |
| constexpr double | MuonCalib::Legendre::derivativeSum (const unsigned l, const unsigned d, const double x) |
| Assembles the n-th derivative of a legendre polynomial at run time. | |
| constexpr double | MuonCalib::Legendre::polySum (const unsigned l, const double x) |
| Assembles the legendre polynomial at run-time. | |
| template<unsigned l> | |
| constexpr double | MuonCalib::Legendre::poly (const double x) |
| Evaluates the n-th Legendre polynomial at x. | |
| template<unsigned l, unsigned d> | |
| constexpr double | MuonCalib::Legendre::derivative (const double x) |
| Evaluates the d-th derivative of the n-th Legendre polynomial at x. | |
| constexpr double | MuonCalib::legendrePoly (const unsigned l, const double x) |
| Calculates the legendre polynomial of rank l at x. | |
| constexpr double | MuonCalib::legendreDeriv (const unsigned l, const unsigned d, const double x) |
| Evaluates the n-th derivative of the l-th Legendre polynomial. | |
| #define DERIVORDERSWITCH | ( | l, | |
| d, | |||
| x ) |
Definition at line 21 of file LegendrePoly.h.
| #define DERIVPOLYSWITICH | ( | l, | |
| d, | |||
| x ) |
Definition at line 14 of file LegendrePoly.h.
| #define POLYSWITCH | ( | order, | |
| x ) |
Definition at line 9 of file LegendrePoly.h.