#include <functions.h>
Inheritance diagram for mimas::_sumsquares< T >:
Public Member Functions | |
T | operator() (const T &x, const T &y) const |
Compute sum of squares. |
The sum of squares can be computed with the multiplication- and plus-operator as well, but it would require allocation of one temporary array.
Definition at line 170 of file functions.h.
T mimas::_sumsquares< T >::operator() | ( | const T & | x, | |
const T & | y | |||
) | const [inline] |
Compute sum of squares.
x | First value. | |
y | Second value. |
Definition at line 175 of file functions.h.