|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNumericTraitsCovariantVectorPixel_h
19 #define itkNumericTraitsCovariantVectorPixel_h
43 template <
typename T,
unsigned int D>
146 static constexpr
bool IsSigned = std::is_signed_v<ValueType>;
147 static constexpr
bool IsInteger = std::is_integral_v<ValueType>;
158 itkGenericExceptionMacro(
"Cannot set the size of a CovariantVector of length " << D <<
" to " << s);
184 template <
typename TArray>
188 for (
unsigned int i = 0; i < D; ++i)
202 #endif // itkNumericTraitsCovariantVectorPixel_h
static const Self ZeroValue()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static void AssignToArray(const Self &v, TArray &mv)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self max(const Self &)
typename NumericTraits< T >::FloatType ElementFloatType
static constexpr T NonpositiveMin()
static const Self OneValue(const Self &)
static const Self ZeroValue(const Self &)
static void SetLength(CovariantVector< T, D > &m, const unsigned int s)
static const Self ITKCommon_EXPORT Zero
static const Self NonpositiveMin(const Self &)
static constexpr bool IsSigned
static unsigned int GetLength()
static constexpr bool IsInteger
static const Self NonpositiveMin()
typename NumericTraits< T >::AbsType ElementAbsType
static unsigned int GetLength(const CovariantVector< T, D > &)
static const Self min(const Self &)
static const Self OneValue()
Define additional traits for native types such as int or float.
A templated class holding a n-Dimensional covariant vector.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static constexpr bool IsComplex
static const Self ITKCommon_EXPORT One
typename NumericTraits< T >::PrintType ElementPrintType
ElementRealType ScalarRealType
typename NumericTraits< T >::RealType ElementRealType
void Fill(const ValueType &)