18#ifndef itkNumericTraitsArrayPixel_h
19#define itkNumericTraitsArrayPixel_h
115 static constexpr bool IsSigned = std::is_signed_v<ValueType>;
116 static constexpr bool IsInteger = std::is_integral_v<ValueType>;
141 template <
typename TArray>
145 for (
unsigned int i = 0; i <
GetLength(v); ++i)
Array class with size defined at construction time.
SizeValueType Size() const
SizeValueType GetSize() const
void Fill(const TValue &v)
void SetSize(SizeValueType sz)
static constexpr bool IsSigned
typename NumericTraits< T >::RealType ElementRealType
Array< ElementAccumulateType > AccumulateType
static const Self NonpositiveMin(const Self &a)
typename NumericTraits< T >::AbsType ElementAbsType
static void SetLength(Array< T > &m, const unsigned int s)
ElementRealType ScalarRealType
Array< ElementPrintType > PrintType
static vcl_size_t GetLength(const Array< T > &m)
static const Self ZeroValue(const Self &a)
static constexpr bool IsInteger
Array< ElementAbsType > AbsType
Self MeasurementVectorType
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
typename NumericTraits< T >::PrintType ElementPrintType
static constexpr bool IsComplex
static void AssignToArray(const Self &v, TArray &mv)
Array< ElementFloatType > FloatType
static const Self max(const Self &a)
typename NumericTraits< T >::FloatType ElementFloatType
static const Self min(const Self &a)
Array< ElementRealType > RealType
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self OneValue(const Self &a)
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....