|
Mantid
|
Represents taking the root-mean-square averaege. More...
Public Member Functions | |
| T | getAverage () const override |
| Retrieve the average of all included values. | |
| T | term (T const &x) const override |
| A function returning a "term" in the average. | |
Public Member Functions inherited from Mantid::Kernel::Smoothing::detail::Averager< T > | |
| virtual void | accumulate (T const &x) |
| Include values in the average. | |
| Averager () | |
| A small ABC to represent taking an average over a few values. | |
| virtual void | separate (T const &x) |
| Remove values from the average. | |
Additional Inherited Members | |
Protected Attributes inherited from Mantid::Kernel::Smoothing::detail::Averager< T > | |
| unsigned int | m_npts |
| T | m_total |
Represents taking the root-mean-square averaege.
Definition at line 68 of file Smoothing.cpp.
|
inlineoverridevirtual |
Retrieve the average of all included values.
Implements Mantid::Kernel::Smoothing::detail::Averager< T >.
Definition at line 70 of file Smoothing.cpp.
References Mantid::Kernel::Smoothing::detail::Averager< T >::m_npts, and Mantid::Kernel::Smoothing::detail::Averager< T >::m_total.
|
inlineoverridevirtual |
A function returning a "term" in the average.
| x | the input value, from which the term is computed |
Implements Mantid::Kernel::Smoothing::detail::Averager< T >.
Definition at line 69 of file Smoothing.cpp.
References Mantid::Geometry::x.