#include <itkMeasurementVectorTraits.h>
Public Types | |
typedef InstanceIdentifier | AbsoluteFrequencyType |
typedef vcl_size_t | InstanceIdentifier |
typedef unsigned int | MeasurementVectorLength |
typedef NumericTraits < AbsoluteFrequencyType > ::RealType | RelativeFrequencyType |
typedef NumericTraits < AbsoluteFrequencyType > ::AccumulateType | TotalAbsoluteFrequencyType |
typedef NumericTraits < RelativeFrequencyType > ::AccumulateType | TotalRelativeFrequencyType |
Static Public Member Functions | |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const std::vector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const std::vector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const Array< TValueType > *a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType > | |
static MeasurementVectorLength | Assert (const Array< TValueType > &a, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength> | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > *, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength> | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > &, const MeasurementVectorLength l, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > *, const std::vector< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > &, const std::vector< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > *, const VariableLengthVector< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > &, const VariableLengthVector< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > *, const Array< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 > | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > &, const Array< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const std::vector< TValueType1 > *a, const std::vector< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const std::vector< TValueType1 > &a, const std::vector< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValueType1 > *a, const VariableLengthVector< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const VariableLengthVector< TValueType1 > &a, const VariableLengthVector< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const Array< TValueType1 > *a, const Array< TValueType2 > *b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , class TValueType2 > | |
static MeasurementVectorLength | Assert (const Array< TValueType1 > &a, const Array< TValueType2 > &b, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2> | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > *, const FixedArray< TValueType2, VLength2 > *, const char *errMsg="Length Mismatch") |
template<class TValueType1 , unsigned int VLength, class TValueType2 , unsigned int VLength2> | |
static MeasurementVectorLength | Assert (const FixedArray< TValueType1, VLength > &, const FixedArray< TValueType2, VLength2 > &, const char *errMsg="Length Mismatch") |
template<class TValueType , unsigned int VLength> | |
static void | Assign (FixedArray< TValueType, VLength > &m, const TValueType &v) |
template<class TArrayType > | |
static void | Assign (TArrayType &m, const TArrayType &v) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const std::vector< TValueType > *m) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const std::vector< TValueType > &m) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const VariableLengthVector< TValueType > *m) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const VariableLengthVector< TValueType > &m) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const Array< TValueType > *m) |
template<class TValueType > | |
static MeasurementVectorLength | GetLength (const Array< TValueType > &m) |
template<class TValueType , unsigned int VLength> | |
static MeasurementVectorLength | GetLength (const FixedArray< TValueType, VLength > *) |
template<class TValueType , unsigned int VLength> | |
static MeasurementVectorLength | GetLength (const FixedArray< TValueType, VLength > &) |
template<class TVectorType > | |
static bool | IsResizable (const TVectorType &) |
template<class TValueType > | |
static void | SetLength (std::vector< TValueType > *m, const unsigned int s) |
template<class TValueType > | |
static void | SetLength (std::vector< TValueType > &m, const unsigned int s) |
template<class TValueType > | |
static void | SetLength (VariableLengthVector< TValueType > *m, const unsigned int s) |
template<class TValueType > | |
static void | SetLength (VariableLengthVector< TValueType > &m, const unsigned int s) |
template<class TValueType > | |
static void | SetLength (Array< TValueType > *m, const unsigned int s) |
template<class TValueType > | |
static void | SetLength (Array< TValueType > &m, const unsigned int s) |
template<class TValueType , unsigned int VLength> | |
static void | SetLength (FixedArray< TValueType, VLength > *m, const unsigned int s) |
template<class TValueType , unsigned int VLength> | |
static void | SetLength (FixedArray< TValueType, VLength > &m, const unsigned int s) |
Definition at line 46 of file Review/Statistics/itkMeasurementVectorTraits.h.
Type defined for representing the frequency of measurement vectors
Definition at line 59 of file Review/Statistics/itkMeasurementVectorTraits.h.
typedef vcl_size_t itk::Statistics::MeasurementVectorTraits::InstanceIdentifier |
In the old framework, the FrequencyType is set to float. The problem is for large histograms the total frequency can be more than 1e+7, than increasing the frequency by one does not change the total frequency (because of lack of precision). Using double type will also ultimately fall into the same problem. Hence in the new statistics framework, InstanceIdentifier/FrequencyTypes are set to the the largest possible integer on the machine
Definition at line 56 of file Review/Statistics/itkMeasurementVectorTraits.h.
typedef unsigned int itk::Statistics::MeasurementVectorTraits::MeasurementVectorLength |
Definition at line 64 of file Review/Statistics/itkMeasurementVectorTraits.h.
typedef NumericTraits< AbsoluteFrequencyType >::RealType itk::Statistics::MeasurementVectorTraits::RelativeFrequencyType |
Definition at line 60 of file Review/Statistics/itkMeasurementVectorTraits.h.
typedef NumericTraits< AbsoluteFrequencyType >::AccumulateType itk::Statistics::MeasurementVectorTraits::TotalAbsoluteFrequencyType |
Definition at line 61 of file Review/Statistics/itkMeasurementVectorTraits.h.
typedef NumericTraits< RelativeFrequencyType >::AccumulateType itk::Statistics::MeasurementVectorTraits::TotalRelativeFrequencyType |
Definition at line 62 of file Review/Statistics/itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType > * | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 497 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType > & | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 482 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const VariableLengthVector< TValueType > * | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 468 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const VariableLengthVector< TValueType > & | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 453 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const Array< TValueType > * | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 438 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const Array< TValueType > & | a, | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 423 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > * | , | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 407 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > & | , | |
const MeasurementVectorLength | l, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 391 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > * | , | |
const std::vector< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 374 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > & | , | |
const std::vector< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 355 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > * | , | |
const VariableLengthVector< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 339 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > & | , | |
const VariableLengthVector< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 320 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > * | , | |
const Array< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 304 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > & | , | |
const Array< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 285 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType1 > * | a, | |
const std::vector< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 272 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const std::vector< TValueType1 > & | a, | |
const std::vector< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 260 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const VariableLengthVector< TValueType1 > * | a, | |
const VariableLengthVector< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 247 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const VariableLengthVector< TValueType1 > & | a, | |
const VariableLengthVector< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 235 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::VariableLengthVector< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const Array< TValueType1 > * | a, | |
const Array< TValueType2 > * | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 222 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const Array< TValueType1 > & | a, | |
const Array< TValueType2 > & | b, | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 210 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro, and itk::Array< TValueType >::Size().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > * | , | |
const FixedArray< TValueType2, VLength2 > * | , | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 198 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::Assert | ( | const FixedArray< TValueType1, VLength > & | , | |
const FixedArray< TValueType2, VLength2 > & | , | |||
const char * | errMsg = "Length Mismatch" | |||
) | [inline, static] |
Definition at line 186 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itkGenericExceptionMacro.
Referenced by itk::Statistics::ListSampleToHistogramGenerator< TListSample, THistogramMeasurement, TFrequencyContainer, TMeasurementVectorLength >::SetHistogramMax(), itk::Statistics::ListSampleToHistogramGenerator< TListSample, THistogramMeasurement, TFrequencyContainer, TMeasurementVectorLength >::SetHistogramMin(), and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::SetMean().
static void itk::Statistics::MeasurementVectorTraits::Assign | ( | FixedArray< TValueType, VLength > & | m, | |
const TValueType & | v | |||
) | [inline, static] |
Definition at line 518 of file Review/Statistics/itkMeasurementVectorTraits.h.
static void itk::Statistics::MeasurementVectorTraits::Assign | ( | TArrayType & | m, | |
const TArrayType & | v | |||
) | [inline, static] |
Definition at line 512 of file Review/Statistics/itkMeasurementVectorTraits.h.
Referenced by itk::Statistics::ImageToListSampleAdaptor< TImage >::ConstIterator::GetMeasurementVector().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const std::vector< TValueType > * | m | ) | [inline, static] |
Definition at line 166 of file Review/Statistics/itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const std::vector< TValueType > & | m | ) | [inline, static] |
Definition at line 161 of file Review/Statistics/itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const VariableLengthVector< TValueType > * | m | ) | [inline, static] |
Definition at line 156 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::GetSize().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const VariableLengthVector< TValueType > & | m | ) | [inline, static] |
Definition at line 151 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::GetSize().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const Array< TValueType > * | m | ) | [inline, static] |
Definition at line 146 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::GetSize().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const Array< TValueType > & | m | ) | [inline, static] |
Definition at line 141 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::GetSize().
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const FixedArray< TValueType, VLength > * | ) | [inline, static] |
Definition at line 136 of file Review/Statistics/itkMeasurementVectorTraits.h.
static MeasurementVectorLength itk::Statistics::MeasurementVectorTraits::GetLength | ( | const FixedArray< TValueType, VLength > & | ) | [inline, static] |
Definition at line 131 of file Review/Statistics/itkMeasurementVectorTraits.h.
Referenced by itk::Statistics::ListSample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::GetMeasurementVectorSize(), IsResizable(), itk::Statistics::MembershipFunctionBase< TMeasurementVector >::MembershipFunctionBase(), itk::Statistics::MeanShiftModeCacheMethod< TMeasurementVector >::LessMeasurementVector::operator()(), itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::Sample(), itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::SetCentroids(), itk::Statistics::MembershipFunctionBase< TMeasurementVector >::SetMeasurementVectorSize(), itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::SetMeasurementVectorSize(), and itk::Statistics::DistanceMetric< ParameterType >::SetMeasurementVectorSize().
static bool itk::Statistics::MeasurementVectorTraits::IsResizable | ( | const TVectorType & | ) | [inline, static] |
Definition at line 171 of file Review/Statistics/itkMeasurementVectorTraits.h.
References GetLength().
Referenced by itk::Statistics::Sample< ImageJointDomainTraits< TImage >::MeasurementVectorType >::SetMeasurementVectorSize(), itk::Statistics::MembershipFunctionBase< TMeasurementVector >::SetMeasurementVectorSize(), and itk::Statistics::DistanceMetric< ParameterType >::SetMeasurementVectorSize().
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | std::vector< TValueType > * | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 123 of file Review/Statistics/itkMeasurementVectorTraits.h.
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | std::vector< TValueType > & | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 117 of file Review/Statistics/itkMeasurementVectorTraits.h.
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | VariableLengthVector< TValueType > * | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 110 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::SetSize().
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | VariableLengthVector< TValueType > & | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 103 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::VariableLengthVector< TValueType >::Fill(), and itk::VariableLengthVector< TValueType >::SetSize().
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | Array< TValueType > * | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 96 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::Fill(), and itk::Array< TValueType >::SetSize().
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | Array< TValueType > & | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 89 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::Array< TValueType >::Fill(), and itk::Array< TValueType >::SetSize().
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | FixedArray< TValueType, VLength > * | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 78 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::FixedArray< TValueType, VLength >::Fill(), and itkGenericExceptionMacro.
static void itk::Statistics::MeasurementVectorTraits::SetLength | ( | FixedArray< TValueType, VLength > & | m, | |
const unsigned int | s | |||
) | [inline, static] |
Definition at line 67 of file Review/Statistics/itkMeasurementVectorTraits.h.
References itk::FixedArray< TValueType, VLength >::Fill(), and itkGenericExceptionMacro.
Referenced by itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::CandidateVector::SetCentroids(), and itk::Statistics::KdTreeBasedKmeansEstimator< TKdTree >::SetKdTree().