STIR  6.2.0
divide.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2000 PARAPET partners
5  Copyright (C) 2000- 2007, Hammersmith Imanet Ltd
6  This file is part of STIR.
7 
8  SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
9 
10  See STIR/LICENSE.txt for details
11 */
12 #ifndef __stir_divide_H__
13 #define __stir_divide_H__
14 
25 START_NAMESPACE_STIR
26 
28 
41 template <class NumeratorIterT, class DenominatorIterT, class small_numT>
42 inline void divide(const NumeratorIterT& numerator_begin,
43  const NumeratorIterT& numerator_end,
44  const DenominatorIterT& denominator_begin,
45  const small_numT small_num);
46 
47 END_NAMESPACE_STIR
48 
49 #include "stir/numerics/divide.inl"
50 
51 #endif
void divide(const NumeratorIterT &numerator_begin, const NumeratorIterT &numerator_end, const DenominatorIterT &denominator_begin, const small_numT small_num)
division of two ranges, 0/0 = 0
Definition: divide.inl:28
implementation of stir::divide