Skip to main content
Part of Statistics Computes the relative accuracy between two quantities given using \epsilon = \frac{x_{\mbox{other}}}{x_{\mbox{ref}}} If set, the relative error is computed using \epsilon = \frac{x_{\mbox{other}}-x_{\mbox{ref}}}{max_i |x_{\mbox{ref}}|_i }.

Public Types

Public Member Functions

Public Attributes

Detailed Description

template<dataobject_types TYPE> class ComputeRelativeError< TYPE >

Computes the relative accuracy between two quantities given using \epsilon = \frac{x_{\mbox{other}}}{x_{\mbox{ref}}} If set, the relative error is computed using \epsilon = \frac{x_{\mbox{other}}-x_{\mbox{ref}}}{max_i |x_{\mbox{ref}}|_i }. Template Parameters

Member Enumeration Documentation

eType

the type of error function

Constructor & Destructor Documentation

ComputeRelativeError() [1/2]

Collects all data to compute the relative accuracy between the objects reference and other. Parameters

ComputeRelativeError() [2/2]

Collects all data to compute the relative accuracy between the objects reference and other. Parameters