APFEL 4.8.0
A PDF evolution library in C++
Loading...
Searching...
No Matches
Public Member Functions | List of all members
apfel::DiagonalBasis Class Reference

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>

Inheritance diagram for apfel::DiagonalBasis:
apfel::ConvolutionMap

Public Member Functions

 DiagonalBasis (int const &nf, int const &offset=0)
 The DiagonalBasis constructor.
 
- Public Member Functions inherited from apfel::ConvolutionMap
 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

- Protected Attributes inherited from apfel::ConvolutionMap
std::map< int, std::vector< rule > > _rules
 the map container
 
std::string _name
 the name of the derived class
 

Detailed Description

The DiagonalBasis class is the simplest derivation of ConvolutionMap meant to essentially perform a scalar product of two sets of objects.

Constructor & Destructor Documentation

◆ DiagonalBasis()

apfel::DiagonalBasis::DiagonalBasis ( int const & nf,
int const & offset = 0 )

The DiagonalBasis constructor.

Parameters
nfnumber of elements
offsetstarting index for the enumeration on the distributions (default: 0)

The documentation for this class was generated from the following file: