18#ifndef itkNumericTraitsVariableLengthVectorPixel_h
19#define itkNumericTraitsVariableLengthVectorPixel_h
143 for (
unsigned int i = 0; i <
GetLength(a); ++i)
157 for (
unsigned int i = 0; i <
GetLength(a); ++i)
171 for (
unsigned int i = 0; i <
GetLength(a); ++i)
185 for (
unsigned int i = 0; i <
GetLength(a); ++i)
195 static constexpr bool IsSigned = std::is_signed_v<ValueType>;
196 static constexpr bool IsInteger = std::is_integral_v<ValueType>;
222 template <
typename TArray>
226 for (
unsigned int i = 0; i <
GetLength(v); ++i)
Pixel-wise addition of two images.
static bool IsNonpositive(const Self &a)
static bool IsPositive(const Self &a)
static unsigned int GetLength(const VariableLengthVector< T > &m)
typename NumericTraits< T >::AbsType ElementAbsType
static void AssignToArray(const Self &v, TArray &mv)
typename NumericTraits< T >::FloatType ElementFloatType
static bool IsNegative(const Self &a)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static bool IsNonnegative(const Self &a)
static void SetLength(VariableLengthVector< T > &m, const unsigned int s)
static const Self max(const Self &a)
static const Self OneValue(const Self &a)
typename NumericTraits< T >::RealType ElementRealType
typename NumericTraits< T >::PrintType ElementPrintType
static const Self ZeroValue(const Self &a)
static const Self NonpositiveMin(const Self &a)
static const Self min(const Self &a)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
ElementRealType ScalarRealType
Define additional traits for native types such as int or float.
static constexpr bool IsInteger
static constexpr bool IsSigned
static unsigned int GetLength()
static constexpr bool IsComplex
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....