|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
19 #ifndef itkNumericTraitsStdVector_h
20 #define itkNumericTraitsStdVector_h
68 using Self = std::vector<T>;
71 using AbsType = std::vector<ElementAbsType>;
154 return itk::Math::CastWithRangeCheck<unsigned int>(m.size());
163 template <
typename TArray>
167 for (
unsigned int i = 0; i <
GetLength(v); i++)
175 #endif // itkNumericTraitsStdVector_h
std::vector< ElementFloatType > FloatType
typename NumericTraits< T >::AbsType ElementAbsType
std::vector< ElementRealType > RealType
std::vector< ElementAbsType > AbsType
static constexpr T NonpositiveMin()
std::vector< ElementAccumulateType > AccumulateType
static const Self OneValue(const Self &a)
static constexpr T min(const T &)
static const Self max(const Self &a)
static void SetLength(std::vector< T > &m, const unsigned int s)
static unsigned int GetLength(const std::vector< T > &m)
typename NumericTraits< T >::RealType ElementRealType
static constexpr bool IsSigned
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static constexpr bool IsInteger
static const Self NonpositiveMin(const Self &a)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
typename NumericTraits< T >::FloatType ElementFloatType
static const Self min(const Self &a)
typename NumericTraits< T >::PrintType ElementPrintType
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static unsigned int GetLength()
static void AssignToArray(const Self &v, TArray &mv)
static constexpr bool IsComplex
static const Self ZeroValue(const Self &a)
ElementRealType ScalarRealType
std::vector< ElementPrintType > PrintType
Self MeasurementVectorType