18 #ifndef itkCompensatedSummation_h
19 #define itkCompensatedSummation_h
65 template <
typename TFloat >
115 #ifdef ITK_USE_CONCEPT_CHECKING
117 #endif // ITK_USE_CONCEPT_CHECKING
125 #ifndef ITK_MANUAL_INSTANTIATION
126 #include "itkCompensatedSummation.hxx"
AccumulateType m_Compensation
Self & operator+=(const FloatType &rhs)
Self & operator/=(const FloatType &rhs)
NumericTraits< FloatType >::AccumulateType AccumulateType
void ITKCommon_EXPORT CompensatedSummationAddElement(float &compensation, float &sum, const float &element)
CompensatedSummation Self
Self & operator*=(const FloatType &rhs)
Self & operator=(const Self &rhs)
void AddElement(const FloatType &element)
Perform more precise accumulation of floating point numbers.
const AccumulateType & GetSum() const
Define additional traits for native types such as int or float.
#define itkConceptMacro(name, concept)
Self & operator-=(const FloatType &rhs)