The ConvolutionMap class encapsulates the set of rules to multiply a sets of operators with a set of distributions.
More...
#include <convolutionmap.h>
|
struct | rule |
| This structure contains the attribute of a single rule. More...
|
|
|
| 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.
|
|
|
std::map< int, std::vector< rule > > | _rules |
| the map container
|
|
std::string | _name |
| the name of the derived class
|
|
The ConvolutionMap class encapsulates the set of rules to multiply a sets of operators with a set of distributions.
◆ ConvolutionMap()
apfel::ConvolutionMap::ConvolutionMap |
( |
std::string const & | name | ) |
|
◆ GetName()
std::string const & apfel::ConvolutionMap::GetName |
( |
| ) |
const |
|
inline |
Retrieve the name of the map.
- Returns
- The name of the map
◆ GetRuleIndices()
matrix< std::vector< int > > const apfel::ConvolutionMap::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.
◆ GetRuleMatrix()
matrix< std::vector< double > > const apfel::ConvolutionMap::GetRuleMatrix |
( |
| ) |
const |
Retrieve the full set of rules for the multiplications in the form of a matrix.
◆ GetRules()
std::map< int, std::vector< rule > > const & apfel::ConvolutionMap::GetRules |
( |
| ) |
const |
|
inline |
Retrieve the full set of rules for the multiplications.
- Returns
- The multiplication rules
◆ Print()
void apfel::ConvolutionMap::Print |
( |
| ) |
const |
|
inline |
◆ SetRules()
void apfel::ConvolutionMap::SetRules |
( |
std::map< int, std::vector< rule > > const & | rules | ) |
|
|
inline |
Set the rule of the convolution map.
- Parameters
-
rules | the input set of rules |
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
ConvolutionMap const & | cm ) |
|
friend |
◆ _name
std::string apfel::ConvolutionMap::_name |
|
protected |
the name of the derived class
◆ _rules
std::map<int, std::vector<rule> > apfel::ConvolutionMap::_rules |
|
protected |
The documentation for this class was generated from the following file: