STIR
6.2.0
|
implementation of stir::convert_array More...
Namespaces | |
stir | |
Namespace for the STIR library (and some/most of its applications) | |
Functions | |
template<int num_dimensions, class T1 , class T2 , class scaleT > | |
void | stir::find_scale_factor (scaleT &scale_factor, const Array< num_dimensions, T1 > &data_in, const NumericInfo< T2 > info_for_out_type) |
A function that finds a scale factor to use when converting data to a new type. More... | |
template<int num_dimensions, class T1 , class T2 , class scaleT > | |
Array< num_dimensions, T2 > | stir::convert_array (scaleT &scale_factor, const Array< num_dimensions, T1 > &data_in, const NumericInfo< T2 > info2) |
A function that returns a new Array (of the same dimension) with elements of type T2 . More... | |
template<int num_dimensions, class T1 , class T2 , class scaleT > | |
void | stir::convert_array (Array< num_dimensions, T2 > &data_out, scaleT &scale_factor, const Array< num_dimensions, T1 > &data_in) |
Converts the data_in Array to data_out (with elements of different types) such that data_in == data_out * scale_factor . More... | |
implementation of stir::convert_array