![]() |
Project
|
#include <MultivariatePolynomialHelper.h>
Inherits o2::gpu::MultivariatePolynomialParametersHelper.
Inherited by o2::gpu::MultivariatePolynomial< Dim, Degree, InteractionOnly >.
Public Member Functions | |
GPUd () static const expr float evalPol(GPUgeneric() const float par[] | |
GPUd () static const expr uint32_t getDim() | |
GPUd () static const expr uint32_t getDegree() | |
GPUd () static const expr bool isInteractionOnly() | |
![]() | |
template<uint32_t Degree, uint32_t Dim> | |
GPUd () static const expr uint32_t getNParametersAllTerms() | |
GPUd () static const expr uint32_t getNParametersAllTerms(uint32_t degree | |
Public Attributes | |
const float | x [] |
Helper struct for evaluating a multidimensional polynomial using compile time evaluated formula Compile time method to extract the formula is obtained from run time method (check combination_with_repetiton() and evalPol()) by performing all loops during compile time and replacing the array to keep track of the dimensions for given term (pos[FMaxdegree + 1]) to a simple uint32_t called Pos where each digit represents the dimension for a given term e.g. pos = 2234 -> x[2]*x[2]*x[3]*x[4]
Definition at line 164 of file MultivariatePolynomialHelper.h.
|
inline |
Definition at line 189 of file MultivariatePolynomialHelper.h.
o2::gpu::MultivariatePolynomialHelper< Dim, Degree, InteractionOnly >::GPUd | ( | ) | const |
evaluates the polynomial for given parameters and coordinates
par | parameters of the polynomials |
x | input coordinates |
|
inline |
Definition at line 186 of file MultivariatePolynomialHelper.h.
|
inline |
Definition at line 183 of file MultivariatePolynomialHelper.h.
const float o2::gpu::MultivariatePolynomialHelper< Dim, Degree, InteractionOnly >::x |
Definition at line 177 of file MultivariatePolynomialHelper.h.