Mantid
|
Functor to deal with the increase in the error when adding (or subtracting) a number of counts. More...
#include <VectorHelper.h>
Public Member Functions | |
AddVariance ()=default | |
T | operator() (const T &r, const T &x) const |
adds the square of the left-hand argument to the right hand argument and takes the square root More... | |
Functor to deal with the increase in the error when adding (or subtracting) a number of counts.
More generally add errors in quadrature using the square of one of the errors (variance = error^2)
Definition at line 162 of file VectorHelper.h.
|
default |
|
inline |
adds the square of the left-hand argument to the right hand argument and takes the square root
Definition at line 166 of file VectorHelper.h.
References Mantid::Geometry::x.