Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IParameterProxy.h
Go to the documentation of this file.
1#ifndef IPARAM_PROXY_H
2#define IPARAM_PROXY_H
3
4#include "scalar.h"
5
38template<typename T, typename V>
40public:
48 virtual scalar_t operator()(const T& x, const V& y) const = 0;
49
57 virtual bool exist(const T& block, const V& id) const = 0;
58
67 virtual double get_scale(const T& block) const = 0;
68};
69
70#endif // IPARAM_PROXY_H
Abstract interface for reading parameters and basic metadata.
virtual double get_scale(const T &block) const =0
Returns the scale associated to a block.
virtual scalar_t operator()(const T &x, const V &y) const =0
Retrieves the scalar value for (block, id).
virtual bool exist(const T &block, const V &id) const =0
Checks if a parameter exists for (block, id).
double T(double x)
Wilson coefficient T(x).