|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNumericTraitsArrayPixel_h
19 #define itkNumericTraitsArrayPixel_h
141 template <
typename TArray>
145 for (
unsigned int i = 0; i <
GetLength(v); i++)
153 #endif // itkNumericTraitsArrayPixel_h
static const Self NonpositiveMin(const Self &a)
typename NumericTraits< T >::FloatType ElementFloatType
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static void AssignToArray(const Self &v, TArray &mv)
static constexpr bool IsSigned
static constexpr bool IsInteger
SizeValueType GetSize() const
static const Self OneValue(const Self &a)
ElementRealType ScalarRealType
Define additional traits for native types such as int or float.
typename NumericTraits< T >::AbsType ElementAbsType
typename NumericTraits< T >::PrintType ElementPrintType
typename NumericTraits< T >::RealType ElementRealType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static unsigned int GetLength()
static constexpr bool IsComplex
static const Self ZeroValue(const Self &a)
static void SetLength(Array< T > &m, const unsigned int s)
Array class with size defined at construction time.
SizeValueType Size() const
static const Self max(const Self &a)
static const Self min(const Self &a)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static std::vcl_size_t GetLength(const Array< T > &m)
void SetSize(SizeValueType sz)
void Fill(TValue const &v)