Mantid
|
A binary functor to compute the simple average of 2 numbers. More...
#include <VectorHelper.h>
Public Member Functions | |
T | operator() (const T &x, const T &y) const |
Return the average of the two arguments. More... | |
SimpleAverage ()=default | |
A binary functor to compute the simple average of 2 numbers.
Definition at line 221 of file VectorHelper.h.
|
default |
|
inline |
Return the average of the two arguments.
Definition at line 224 of file VectorHelper.h.
References Mantid::Geometry::x, and Mantid::Geometry::y.