35 if (r.
object !=
object)
return false;
55 void SetRules(std::map<
int, std::vector<rule>>
const& rules) {
_rules = rules; }
90 void Print()
const { std::cout << *
this << std::endl; }
93 std::map<int, std::vector<rule>>
_rules;
The ConvolutionMap class encapsulates the set of rules to multiply a sets of operators with a set of ...
Definition convolutionmap.h:22
void Print() const
Print the Operator object.
Definition convolutionmap.h:90
matrix< std::vector< double > > const GetRuleMatrix() const
Retrieve the full set of rules for the multiplications in the form of a matrix.
ConvolutionMap(std::string const &name)
ConvolutionMap constructor.
std::string _name
the name of the derived class
Definition convolutionmap.h:94
std::map< int, std::vector< rule > > const & GetRules() const
Retrieve the full set of rules for the multiplications.
Definition convolutionmap.h:72
std::string const & GetName() const
Retrieve the name of the map.
Definition convolutionmap.h:66
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...
void SetRules(std::map< int, std::vector< rule > > const &rules)
Set the rule of the convolution map.
Definition convolutionmap.h:55
friend std::ostream & operator<<(std::ostream &os, ConvolutionMap const &cm)
Method which prints ConvolutionMap with cout <<.
std::map< int, std::vector< rule > > _rules
the map container
Definition convolutionmap.h:93
The matrix class is a simple implementation of 2d arrays based on a continous memory allocation....
Definition matrix.h:23
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14
std::ostream & operator<<(std::ostream &os, ConvolutionMap const &cm)
Method which prints ConvolutionMap with cout <<.
This structure contains the attribute of a single rule.
Definition convolutionmap.h:28
int object
Definition convolutionmap.h:30
bool operator==(rule const &r) const
Definition convolutionmap.h:32
double coefficient
Definition convolutionmap.h:31
int operand
Definition convolutionmap.h:29