|
STIR 6.4.0
|
Implementation of the stir::norm(), stir::norm_squared() functions and stir::NormSquared unary function. More...
#include <functional>#include <cmath>Go to the source code of this file.
Namespaces | |
| namespace | 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. | |
| template<class Iter> | |
| double | stir::norm (Iter begin, Iter end) |
| Returns the l2-norm of a sequence. | |
| template<class elemT> | |
| double | stir::norm (const Array< 1, elemT > &v1) |
| l2 norm of a 1D array | |
| template<class elemT> | |
| double | stir::norm_squared (const Array< 1, elemT > &v1) |
| square of the l2 norm of a 1D array | |
Implementation of the stir::norm(), stir::norm_squared() functions and stir::NormSquared unary function.