STIR 6.4.0

Declaration of stir:index_at_maximum() and stir::indices_at_maximum() More...

Go to the source code of this file.

Namespaces

namespace  stir
 Namespace for the STIR library (and some/most of its applications)
 

Functions

template<class elemT>
int stir::index_at_maximum (const VectorWithOffset< elemT > &v)
 Finds the index where the maximum occurs in a (1-dimensional) vector.
 
template<class elemT>
BasicCoordinate< 3, int > stir::indices_at_maximum (const Array< 3, elemT > &input_array)
 Finds the first (3-dimensional) index where the maximum occurs in a (3-dimensional) array.
 

Detailed Description

Declaration of stir:index_at_maximum() and stir::indices_at_maximum()

Todo
move implementations to .cxx
Author
Kris Thielemans
Charalampos Tsoumpas