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)
static bool IsNonpositive(const Self &a)
static bool IsPositive(const Self &a)
Self MeasurementVectorType
static unsigned int GetLength(const VariableLengthVector< T > &m)
VariableLengthVector< ElementFloatType > FloatType
typename NumericTraits< T >::AbsType ElementAbsType
VariableLengthVector< ElementAccumulateType > AccumulateType
static constexpr bool IsInteger
static constexpr bool IsComplex
static void AssignToArray(const Self &v, TArray &mv)
typename NumericTraits< T >::FloatType ElementFloatType
static bool IsNegative(const Self &a)
VariableLengthVector< ElementAbsType > AbsType
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static bool IsNonnegative(const Self &a)
VariableLengthVector< ElementRealType > RealType
static void SetLength(VariableLengthVector< T > &m, const unsigned int s)
static constexpr bool IsSigned
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)
VariableLengthVector< T > Self
static const Self NonpositiveMin(const Self &a)
static const Self min(const Self &a)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
VariableLengthVector< ElementPrintType > PrintType
ElementRealType ScalarRealType
Define additional traits for native types such as int or float.
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
static constexpr T min(const T &)
static unsigned int GetLength()
static constexpr bool IsComplex
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....