18 #ifndef itkNumericTraitsArrayPixel_h 19 #define itkNumericTraitsArrayPixel_h 29 template<
typename T >
73 static const Self
max(
const Self & a)
81 static const Self
min(
const Self & a)
135 template<
typename TArray>
138 for(
unsigned int i=0; i<
GetLength(v); i++ )
144 #if !defined(ITK_LEGACY_REMOVE) 150 itkLegacyMacro(
static const Self
Zero(
const Self & a))
159 itkLegacyMacro(
static const Self
One(
const Self & a))
171 #endif // itkNumericTraitsArrayPixel_h static const Self OneValue(const Self &a)
Array class with size defined at construction time.
Array< ElementAccumulateType > AccumulateType
Array< ElementPrintType > PrintType
Array< ElementAbsType > AbsType
NumericTraits< T >::AccumulateType ElementAccumulateType
static ITK_CONSTEXPR bool IsComplex
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
NumericTraits< T >::RealType ElementRealType
static void SetLength(Array< T > &m, const unsigned int s)
static const Self ZeroValue(const Self &a)
static const Self min(const Self &a)
static const Self max(const Self &a)
void Fill(TValue const &v)
void SetSize(SizeValueType sz)
static const Self NonpositiveMin(const Self &a)
ElementRealType ScalarRealType
static unsigned int GetLength()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
SizeValueType GetSize(void) const
static void AssignToArray(const Self &v, TArray &mv)
static ITK_CONSTEXPR bool IsSigned
Array< ElementRealType > RealType
NumericTraits< T >::FloatType ElementFloatType
SizeValueType Size(void) const
NumericTraits< T >::PrintType ElementPrintType
Define additional traits for native types such as int or float.
NumericTraits< T >::AbsType ElementAbsType
static ITK_CONSTEXPR bool IsInteger
Array< ElementFloatType > FloatType
Self MeasurementVectorType
static unsigned int GetLength(const Array< T > &m)