ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Member Functions | Static Public Attributes | Private Types | List of all members
itk::NumericTraits< Array< T > > Class Template Reference

#include <itkNumericTraitsArrayPixel.h>

Detailed Description

template<typename T>
class itk::NumericTraits< Array< T > >

NumericTraits for Array.

Template Parameters
Ttype of the array component

Definition at line 30 of file itkNumericTraitsArrayPixel.h.

Public Types

using AbsType = Array< ElementAbsType >
 
using AccumulateType = Array< ElementAccumulateType >
 
using FloatType = Array< ElementFloatType >
 
using MeasurementVectorType = Self
 
using PrintType = Array< ElementPrintType >
 
using RealType = Array< ElementRealType >
 
using ScalarRealType = ElementRealType
 
using Self = Array< T >
 
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 (const Array< T > &m)
 
static const Self max (const Self &a)
 
static const Self min (const Self &a)
 
static const Self NonpositiveMin (const Self &a)
 
static const Self OneValue (const Self &a)
 
static const Self ZeroValue (const Self &a)
 
static void SetLength (Array< T > &m, const unsigned int s)
 

Static Public Attributes

static constexpr bool IsComplex = NumericTraits< ValueType >::IsComplex
 
static constexpr bool IsInteger = NumericTraits< ValueType >::IsInteger
 
static constexpr bool IsSigned = NumericTraits< ValueType >::IsSigned
 

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
 

Member Typedef Documentation

template<typename T >
using itk::NumericTraits< Array< T > >::AbsType = Array< ElementAbsType >

Unsigned component type

Definition at line 47 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::AccumulateType = Array< ElementAccumulateType >

Accumulation of addition and multiplication.

Definition at line 50 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ElementAbsType = typename NumericTraits< T >::AbsType
private

Definition at line 34 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ElementAccumulateType = typename NumericTraits< T >::AccumulateType
private

Definition at line 35 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ElementFloatType = typename NumericTraits< T >::FloatType
private

Definition at line 36 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ElementPrintType = typename NumericTraits< T >::PrintType
private

Definition at line 37 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ElementRealType = typename NumericTraits< T >::RealType
private

Definition at line 38 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::FloatType = Array< ElementFloatType >

Typedef for operations that use floating point instead of real precision

Definition at line 54 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::MeasurementVectorType = Self

Measurement vector type

Definition at line 66 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::PrintType = Array< ElementPrintType >

Return the type that can be printed.

Definition at line 57 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::RealType = Array< ElementRealType >

Type for real-valued scalar operations.

Definition at line 60 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ScalarRealType = ElementRealType

Type for real-valued scalar operations.

Definition at line 63 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::Self = Array< T >

Definition at line 44 of file itkNumericTraitsArrayPixel.h.

template<typename T >
using itk::NumericTraits< Array< T > >::ValueType = T

Return the type of the native component type.

Definition at line 43 of file itkNumericTraitsArrayPixel.h.

Member Function Documentation

template<typename T >
static void itk::NumericTraits< Array< T > >::AssignToArray ( const Self v,
MeasurementVectorType mv 
)
inlinestatic

Definition at line 130 of file itkNumericTraitsArrayPixel.h.

template<typename T >
template<typename TArray >
static void itk::NumericTraits< Array< T > >::AssignToArray ( const Self v,
TArray &  mv 
)
inlinestatic

Definition at line 136 of file itkNumericTraitsArrayPixel.h.

template<typename T >
static unsigned int itk::NumericTraits< Array< T > >::GetLength ( const Array< T > &  m)
inlinestatic

Get the length of the input array.

Definition at line 125 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::GetSize().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::max ( const Self a)
inlinestatic

Component wise defined element

Note
minimum value for floating pointer types is defined as minimum positive normalize value.

Definition at line 73 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::Fill(), and itk::Array< TValue >::Size().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::min ( const Self a)
inlinestatic
template<typename T >
static const Self itk::NumericTraits< Array< T > >::NonpositiveMin ( const Self a)
inlinestatic
template<typename T >
static const Self itk::NumericTraits< Array< T > >::OneValue ( const Self a)
inlinestatic
template<typename T >
static void itk::NumericTraits< Array< T > >::SetLength ( Array< T > &  m,
const unsigned int  s 
)
inlinestatic

Set the length of the input array and fill it with zeros.

Definition at line 117 of file itkNumericTraitsArrayPixel.h.

References itk::Array< TValue >::Fill(), and itk::Array< TValue >::SetSize().

template<typename T >
static const Self itk::NumericTraits< Array< T > >::ZeroValue ( const Self a)
inlinestatic

Member Data Documentation

template<typename T >
constexpr bool itk::NumericTraits< Array< T > >::IsComplex = NumericTraits< ValueType >::IsComplex
static

Definition at line 114 of file itkNumericTraitsArrayPixel.h.

template<typename T >
constexpr bool itk::NumericTraits< Array< T > >::IsInteger = NumericTraits< ValueType >::IsInteger
static

Definition at line 113 of file itkNumericTraitsArrayPixel.h.

template<typename T >
constexpr bool itk::NumericTraits< Array< T > >::IsSigned = NumericTraits< ValueType >::IsSigned
static

Definition at line 112 of file itkNumericTraitsArrayPixel.h.


The documentation for this class was generated from the following file: