STIR
6.2.0
|
Declaration of the stir::round functions. More...
Go to the source code of this file.
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
Functions for rounding floating point numbers | |
int | stir::round (const float x) |
Implements rounding of floating point numbers. More... | |
int | stir::round (const double x) |
Implements rounding of double numbers. More... | |
template<int num_dimensions, class elemT > | |
BasicCoordinate< num_dimensions, int > | stir::round (const BasicCoordinate< num_dimensions, elemT > &x) |
Implements rounding of a BasicCoordinate object. More... | |
template<typename integerT > | |
void | stir::round_to (integerT &result, const float x) |
Implements rounding of floating point numbers to other integer types. More... | |
template<int num_dimensions, class integerT , class elemT > | |
void | stir::round_to (BasicCoordinate< num_dimensions, integerT > &result, const BasicCoordinate< num_dimensions, elemT > &x) |
Implements rounding of a BasicCoordinate object to other integer types. More... | |
Declaration of the stir::round functions.