hep-mc
0.8
|
Class representing a function that can be integrated using the PLAIN-like algorithms, which currently are PLAIN and VEGAS.
Public Types | |
using | numeric_type = T |
using | function_type = F |
Public Member Functions | |
template<typename G > | |
integrand (G &&function, std::size_t dimensions, std::vector< distribution_parameters< T >> const ¶meters) | |
std::size_t | dimensions () const |
F & | function () |
std::vector< distribution_parameters< T > > const & | parameters () const |
Static Public Attributes | |
static constexpr bool | has_distributions = distributions |
using hep::integrand< T, F, distributions >::function_type = F |
The type of the integrand function that is integrated.
using hep::integrand< T, F, distributions >::numeric_type = T |
Numeric type of the integrand.
|
inline |
Constructor. Instead of using the constructor directly you should consider using one of the helper functions make_integrand.
|
inline |
Returns the dimension of the integrand.
|
inline |
Returns the integrand's function.
|
inline |
Returns the parameters of the distribution(s).
|
static |
Signals whether this integrand wants to generate distributions or not.