18 #ifndef itkCompensatedSummation_h
19 #define itkCompensatedSummation_h
65 template <
typename TFloat >
87 Self & operator=(
const Self & rhs );
90 void AddElement(
const FloatType & element );
92 Self & operator+=(
const Self & rhs );
121 #ifdef ITK_USE_CONCEPT_CHECKING
123 #endif // ITK_USE_CONCEPT_CHECKING
131 #ifndef ITK_MANUAL_INSTANTIATION
132 #include "itkCompensatedSummation.hxx"
AccumulateType m_Compensation
Define numeric traits for std::vector.
typename NumericTraits< FloatType >::AccumulateType AccumulateType
void ITKCommon_EXPORT CompensatedSummationAddElement(float &compensation, float &sum, const float &element)
Perform more precise accumulation of floating point numbers.
#define itkConceptMacro(name, concept)