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

Square functor. More...

#include <VectorHelper.h>

Public Member Functions

operator() (const T &x) const
 Returns the square of the argument. More...
 
 Squares ()=default
 

Detailed Description

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

Square functor.

Definition at line 184 of file VectorHelper.h.

Constructor & Destructor Documentation

◆ Squares()

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

Member Function Documentation

◆ operator()()

template<class T >
T Mantid::Kernel::VectorHelper::Squares< T >::operator() ( const T &  x) const
inline

Returns the square of the argument.

Definition at line 187 of file VectorHelper.h.

References Mantid::Geometry::x.


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