Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Kernel::VectorHelper::SumSquares< T > Struct Template Reference

Functor to accumulate a sum of squares. More...

#include <VectorHelper.h>

Public Member Functions

operator() (const T &r, const T &x) const
 Adds the square of the right-hand argument to the left hand one. More...
 
 SumSquares ()=default
 

Detailed Description

template<class T>
struct Mantid::Kernel::VectorHelper::SumSquares< T >

Functor to accumulate a sum of squares.

Definition at line 170 of file VectorHelper.h.

Constructor & Destructor Documentation

◆ SumSquares()

template<class T >
Mantid::Kernel::VectorHelper::SumSquares< T >::SumSquares ( )
default

Member Function Documentation

◆ operator()()

template<class T >
T Mantid::Kernel::VectorHelper::SumSquares< T >::operator() ( const T &  r,
const T &  x 
) const
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.


The documentation for this struct was generated from the following file: