STIR
6.2.0
|
Implementation of the stir::norm(), stir::norm_squared() functions and stir::NormSquared unary function. More...
#include <functional>
#include <cmath>
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
Functions to compute the norm | |
template<class Iter > | |
double | stir::norm_squared (Iter begin, Iter end) |
Returns the square of the l2-norm of a sequence. More... | |
template<class Iter > | |
double | stir::norm (Iter begin, Iter end) |
Returns the l2-norm of a sequence. More... | |
template<class elemT > | |
double | stir::norm (const Array< 1, elemT > &v1) |
l2 norm of a 1D array More... | |
template<class elemT > | |
double | stir::norm_squared (const Array< 1, elemT > &v1) |
square of the l2 norm of a 1D array More... | |
Implementation of the stir::norm(), stir::norm_squared() functions and stir::NormSquared unary function.