|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
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)
234 #endif // itkNumericTraitsVariableLengthVector_h
void Fill(TValue const &v)
typename NumericTraits< T >::AbsType ElementAbsType
static bool IsNegative(const Self &a)
typename NumericTraits< T >::FloatType ElementFloatType
void SetSize(unsigned int sz, TReallocatePolicy reallocatePolicy, TKeepValuesPolicy keepValues)
unsigned int GetSize() const
static const Self OneValue(const Self &a)
static const Self ZeroValue(const Self &a)
static bool IsNonnegative(const Self &a)
static constexpr bool IsSigned
static unsigned int GetLength(const VariableLengthVector< T > &m)
static constexpr bool IsInteger
unsigned int Size() const
Represents an array whose length can be defined at run-time.
static const Self min(const Self &a)
Define additional traits for native types such as int or float.
static void SetLength(VariableLengthVector< T > &m, const unsigned int s)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static unsigned int GetLength()
static constexpr bool IsComplex
typename NumericTraits< T >::RealType ElementRealType
static void AssignToArray(const Self &v, TArray &mv)
ElementRealType ScalarRealType
static const Self NonpositiveMin(const Self &a)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static const Self max(const Self &a)
typename NumericTraits< T >::PrintType ElementPrintType
static bool IsPositive(const Self &a)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static bool IsNonpositive(const Self &a)