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