ITK
6.0.0
Insight Toolkit
|
#include <itkNumericTraitsVectorPixel.h>
NumericTraits for Vector.
Definition at line 31 of file itkNumericTraitsVectorPixel.h.
Public Types | |
using | AbsType = Vector< ElementAbsType, D > |
using | AccumulateType = Vector< ElementAccumulateType, D > |
using | FloatType = Vector< ElementFloatType, D > |
using | MeasurementVectorType = Self |
using | PrintType = Vector< ElementPrintType, D > |
using | RealType = Vector< ElementRealType, D > |
using | ScalarRealType = ElementRealType |
using | Self = Vector< T, D > |
using | ValueType = T |
Static Public Member Functions | |
static void | AssignToArray (const Self &v, MeasurementVectorType &mv) |
template<typename TArray > | |
static void | AssignToArray (const Self &v, TArray &mv) |
static unsigned int | GetLength () |
static unsigned int | GetLength (const Vector< T, D > &) |
static bool | IsNegative (const Self &a) |
static bool | IsNonnegative (const Self &a) |
static bool | IsNonpositive (const Self &a) |
static bool | IsPositive (const Self &a) |
static const Self | max () |
static const Self | max (const Self &) |
static const Self | min () |
static const Self | min (const Self &) |
static const Self | NonpositiveMin () |
static const Self | NonpositiveMin (const Self &) |
static const Self | OneValue () |
static const Self | OneValue (const Self &) |
static const Self | ZeroValue () |
static const Self | ZeroValue (const Self &) |
static void | SetLength (Vector< T, D > &m, const unsigned int s) |
Static Public Attributes | |
static constexpr bool | IsComplex = NumericTraits<ValueType>::IsComplex |
static constexpr bool | IsInteger = std::is_integral_v<ValueType> |
static constexpr bool | IsSigned = std::is_signed_v<ValueType> |
static const Self ITKCommon_EXPORT | One |
static const Self ITKCommon_EXPORT | Zero |
Private Types | |
using | ElementAbsType = typename NumericTraits< T >::AbsType |
using | ElementAccumulateType = typename NumericTraits< T >::AccumulateType |
using | ElementFloatType = typename NumericTraits< T >::FloatType |
using | ElementPrintType = typename NumericTraits< T >::PrintType |
using | ElementRealType = typename NumericTraits< T >::RealType |
using itk::NumericTraits< Vector< T, D > >::AbsType = Vector<ElementAbsType, D> |
Unsigned component type
Definition at line 46 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::AccumulateType = Vector<ElementAccumulateType, D> |
Accumulation of addition and multiplication.
Definition at line 49 of file itkNumericTraitsVectorPixel.h.
|
private |
Definition at line 34 of file itkNumericTraitsVectorPixel.h.
|
private |
Definition at line 35 of file itkNumericTraitsVectorPixel.h.
|
private |
Definition at line 36 of file itkNumericTraitsVectorPixel.h.
|
private |
Definition at line 37 of file itkNumericTraitsVectorPixel.h.
|
private |
Definition at line 38 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::FloatType = Vector<ElementFloatType, D> |
Typedef for operations that use floating point instead of real precision
Definition at line 53 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::MeasurementVectorType = Self |
Measurement vector type
Definition at line 65 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::PrintType = Vector<ElementPrintType, D> |
Return the type that can be printed.
Definition at line 56 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::RealType = Vector<ElementRealType, D> |
Type for real-valued scalar operations.
Definition at line 59 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::ScalarRealType = ElementRealType |
Type for real-valued scalar operations.
Definition at line 62 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::Self = Vector<T, D> |
Definition at line 43 of file itkNumericTraitsVectorPixel.h.
using itk::NumericTraits< Vector< T, D > >::ValueType = T |
Return the type of the native component type.
Definition at line 42 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 221 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 228 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Return the size of the vector.
Definition at line 215 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Return the size of the vector.
Definition at line 208 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 161 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 175 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 147 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 133 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::GetLength().
|
inlinestatic |
Definition at line 85 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Component wise defined element
Definition at line 73 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 91 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 79 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 97 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 115 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::NonpositiveMin().
|
inlinestatic |
Definition at line 109 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 127 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::OneValue().
|
inlinestatic |
Fixed length vectors cannot be resized, so an exception will be thrown if the input size is not valid. If the size is valid the vector will be filled with zeros.
Definition at line 196 of file itkNumericTraitsVectorPixel.h.
References itk::FixedArray< T, VVectorDimension >::Fill().
|
inlinestatic |
Definition at line 103 of file itkNumericTraitsVectorPixel.h.
|
inlinestatic |
Definition at line 121 of file itkNumericTraitsVectorPixel.h.
References itk::NumericTraits< T >::ZeroValue().
|
staticconstexpr |
Definition at line 190 of file itkNumericTraitsVectorPixel.h.
|
staticconstexpr |
Definition at line 189 of file itkNumericTraitsVectorPixel.h.
|
staticconstexpr |
Definition at line 188 of file itkNumericTraitsVectorPixel.h.
|
static |
Definition at line 240 of file itkNumericTraitsVectorPixel.h.
|
static |
Definition at line 239 of file itkNumericTraitsVectorPixel.h.