![]() |
APFEL 4.8.0
A PDF evolution library in C++
|
The DiagonalBasis class is the simplest derivation of ConvolutionMap meant to essentially perform a scalar product of two sets of objects. More...
#include <diagonalbasis.h>
Public Member Functions | |
DiagonalBasis (int const &nf, int const &offset=0) | |
The DiagonalBasis constructor. | |
![]() | |
ConvolutionMap (std::string const &name) | |
ConvolutionMap constructor. | |
void | SetRules (std::map< int, std::vector< rule > > const &rules) |
Set the rule of the convolution map. | |
std::string const & | GetName () const |
Retrieve the name of the map. | |
std::map< int, std::vector< rule > > const & | GetRules () const |
Retrieve the full set of rules for the multiplications. | |
matrix< std::vector< double > > const | GetRuleMatrix () const |
Retrieve the full set of rules for the multiplications in the form of a matrix. | |
matrix< std::vector< int > > const | GetRuleIndices () const |
Retrieve the operand indices of the full set of rules for the multiplications in the form of a matrix. Elements set to -1 correspond to empty slots. | |
void | Print () const |
Print the Operator object. | |
Additional Inherited Members | |
![]() | |
std::map< int, std::vector< rule > > | _rules |
the map container | |
std::string | _name |
the name of the derived class | |
The DiagonalBasis class is the simplest derivation of ConvolutionMap meant to essentially perform a scalar product of two sets of objects.
apfel::DiagonalBasis::DiagonalBasis | ( | int const & | nf, |
int const & | offset = 0 ) |
The DiagonalBasis constructor.
nf | number of elements |
offset | starting index for the enumeration on the distributions (default: 0) |