Open KrisThielemans opened 1 month ago
We currently implement our own max() functions etc. https://github.com/SyneRBI/SIRF/blob/63be16bef56da345407882507e21cfbc1f59f31d/src/xSTIR/cSTIR/stir_data_containers.cpp#L512-L515 However, STIR has equivalents (e.g. find_max() and will soon optimise these. It would therefore be better to call them instead.
max()
find_max()
This could maybe be done by moving some of the generic implementations to DataContainer, and overriding for the STIR data containers, although that might be more complicated.
DataContainer
We currently implement our own
max()
functions etc. https://github.com/SyneRBI/SIRF/blob/63be16bef56da345407882507e21cfbc1f59f31d/src/xSTIR/cSTIR/stir_data_containers.cpp#L512-L515 However, STIR has equivalents (e.g.find_max()
and will soon optimise these. It would therefore be better to call them instead.This could maybe be done by moving some of the generic implementations to
DataContainer
, and overriding for the STIR data containers, although that might be more complicated.