PDFxTMDLib 2.0.0
Loading...
Searching...
No Matches
IcPDFExtrapolator.h
Go to the documentation of this file.
1#pragma once
2#include "../IExtrapolator.h"
3
4namespace PDFxTMD
5{
6template <typename Derived> class IcPDFExtrapolator : public IExtrapolator<Derived, X_T, MU_T>
7{
8 double extrapolate(X_T x, MU_T mu, std::array<double, DEFAULT_TOTAL_PDFS> &output) const
9 {
10 return this->derived().extrapolate(x, mu, output);
11 }
12};
13
14template <typename Derived>
15class IcAdvancedPDFExtrapolator : public IAdvancedExtrapolator<Derived, X_T, MU_T>
16{
17 double extrapolate(X_T x, MU_T mu, std::array<double, DEFAULT_TOTAL_PDFS> &output) const
18 {
19 return this->derived().extrapolate(x, mu, output);
20 }
21};
22} // namespace PDFxTMD
Definition IExtrapolator.h:22
Definition IExtrapolator.h:10
double extrapolate(Flavors... partons, ExtrapolateArgs... args) const
Forward an out-of-range evaluation to the concrete extrapolator.
Definition IExtrapolator.h:14
Definition IcPDFExtrapolator.h:16
Definition IcPDFExtrapolator.h:7
Definition Factory.h:9