Mantid
|
Functor to accumulate a sum of squares. More...
#include <VectorHelper.h>
Public Member Functions | |
T | operator() (const T &r, const T &x) const |
Adds the square of the right-hand argument to the left hand one. More... | |
SumSquares ()=default | |
Functor to accumulate a sum of squares.
Definition at line 170 of file VectorHelper.h.
|
default |
|
inline |
Adds the square of the right-hand argument to the left hand one.
Definition at line 173 of file VectorHelper.h.
References Mantid::Geometry::x.