PDFxTMDLib 2.0.0
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
PDFxTMD::IUncertainty Class Reference

Type-erased interface for PDF uncertainty calculations. More...

#include <IUncertainty.h>

Public Member Functions

template<typename UncertaintyApproachT >
 IUncertainty (UncertaintyApproachT uncertaintyApproach)
 
void Uncertainty (const std::vector< double > &values, const int numCoreErrMember, const double cl, PDFUncertainty &uncertainty) const
 Calculate uncertainty from values evaluated for all set members.
 
double Correlation (const std::vector< double > &valuesA, const std::vector< double > &valuesB, const int numCoreErrMember) const
 Calculate the correlation between two member-value series.
 
 IUncertainty (const IUncertainty &other)
 Copy constructor for ICPDF objects.
 
IUncertainty & operator= (IUncertainty const &other)
 Assignment operator for ICPDF objects.
 
 IUncertainty (IUncertainty &&other) noexcept=default
 
 ~IUncertainty ()=default
 
IUncertainty & operator= (IUncertainty &&other)=default
 

Detailed Description

Type-erased interface for PDF uncertainty calculations.

Constructor & Destructor Documentation

◆ IUncertainty() [1/3]

template<typename UncertaintyApproachT >
PDFxTMD::IUncertainty::IUncertainty ( UncertaintyApproachT  uncertaintyApproach)
inlineexplicit

◆ IUncertainty() [2/3]

PDFxTMD::IUncertainty::IUncertainty ( const IUncertainty &  other)
inline

Copy constructor for ICPDF objects.

This constructor creates a new ICPDF object as a copy of another ICPDF object.

Parameters
otherThe ICPDF object to copy.

◆ IUncertainty() [3/3]

PDFxTMD::IUncertainty::IUncertainty ( IUncertainty &&  other)
defaultnoexcept

◆ ~IUncertainty()

PDFxTMD::IUncertainty::~IUncertainty ( )
default

Member Function Documentation

◆ Correlation()

double PDFxTMD::IUncertainty::Correlation ( const std::vector< double > &  valuesA,
const std::vector< double > &  valuesB,
const int  numCoreErrMember 
) const
inline

Calculate the correlation between two member-value series.

◆ operator=() [1/2]

IUncertainty & PDFxTMD::IUncertainty::operator= ( IUncertainty &&  other)
default

◆ operator=() [2/2]

IUncertainty & PDFxTMD::IUncertainty::operator= ( IUncertainty const &  other)
inline

Assignment operator for ICPDF objects.

This operator assigns the value of another ICPDF object to the current ICPDF object.

Parameters
otherThe ICPDF object to assign from.
Returns
A reference to the current ICPDF object.

◆ Uncertainty()

void PDFxTMD::IUncertainty::Uncertainty ( const std::vector< double > &  values,
const int  numCoreErrMember,
const double  cl,
PDFUncertainty &  uncertainty 
) const
inline

Calculate uncertainty from values evaluated for all set members.


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