STIR  6.2.0
Namespaces | Functions
index_at_maximum.h File Reference

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

#include "stir/VectorWithOffset.h"
#include "stir/BasicCoordinate.h"
#include "stir/Array.h"

Go to the source code of this file.

Namespaces

 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. More...
 
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. More...
 

Detailed Description

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

Todo:
move implementations to .cxx
Author
Kris Thielemans
Charalampos Tsoumpas