# Move Get Set Length Measurement Vector Traits

In an attempt to consolidate the numeric traits api, we are moving all functionality from Code/Numerics/Statistics/itkMeasurementVectorTraits.h into the individual NumericTraits files in Code/Common.
MeasurementVectorType mv; MeasurementVectorTraits::SetLength( mv, 3 ); unsigned int length = MeasurementVectorTraits::GetLength( mv );
MeasurementVectorType mv; NumericTraits<MeasurementVectorType>::SetLength( mv, 3 ); unsigned int length = NumericTraits<MeasurementVectorType>::GetLength( mv );
Ie78170c85c29a5d030e5ab605610878fe67d75c2
Code/Common/itkNumericTraitsArrayPixel.h Code/Common/itkNumericTraitsCovariantVectorPixel.h Code/Common/itkNumericTraitsDiffusionTensor3DPixel.h Code/Common/itkNumericTraitsFixedArrayPixel.h Code/Common/itkNumericTraitsPointPixel.h Code/Common/itkNumericTraitsRGBAPixel.h Code/Common/itkNumericTraitsRGBPixel.h Code/Common/itkNumericTraitsStdVector.h Code/Common/itkNumericTraitsTensorPixel.h Code/Common/itkNumericTraitsVariableLengthVectorPixel.h Code/Common/itkNumericTraitsVectorPixel.h Code/Numerics/Statistics/itkCovarianceSampleFilter.txx Code/Numerics/Statistics/itkDistanceMetric.h Code/Numerics/Statistics/itkDistanceMetric.txx Code/Numerics/Statistics/itkEuclideanDistanceMetric.txx Code/Numerics/Statistics/itkEuclideanSquareDistanceMetric.txx Code/Numerics/Statistics/itkExpectationMaximizationMixtureModelEstimator.txx Code/Numerics/Statistics/itkGaussianMembershipFunction.txx Code/Numerics/Statistics/itkGaussianMixtureModelComponent.txx Code/Numerics/Statistics/itkImageToListSampleFilter.txx Code/Numerics/Statistics/itkKdTree.txx Code/Numerics/Statistics/itkKdTreeBasedKmeansEstimator.h Code/Numerics/Statistics/itkKdTreeBasedKmeansEstimator.txx Code/Numerics/Statistics/itkKdTreeGenerator.txx Code/Numerics/Statistics/itkListSample.txx Code/Numerics/Statistics/itkMahalanobisDistanceMetric.txx Code/Numerics/Statistics/itkManhattanDistanceMetric.txx Code/Numerics/Statistics/itkMeasurementVectorTraits.h Code/Numerics/Statistics/itkMembershipFunctionBase.h Code/Numerics/Statistics/itkSample.h Code/Numerics/Statistics/itkSampleToHistogramFilter.txx Code/Numerics/Statistics/itkScalarImageToHistogramGenerator.txx Code/Numerics/Statistics/itkStandardDeviationPerComponentSampleFilter.txx Code/Numerics/Statistics/itkStatisticsAlgorithm.txx Code/Numerics/Statistics/itkWeightedCentroidKdTreeGenerator.txx Code/Numerics/Statistics/itkWeightedCovarianceSampleFilter.txx Testing/Code/Numerics/Statistics/CMakeLists.txt Testing/Code/Numerics/Statistics/itkDistanceToCentroidMembershipFunctionTest.cxx Testing/Code/Numerics/Statistics/itkEuclideanDistanceMetricTest.cxx Testing/Code/Numerics/Statistics/itkEuclideanSquareDistanceMetricTest.cxx Testing/Code/Numerics/Statistics/itkGaussianMembershipFunctionTest.cxx Testing/Code/Numerics/Statistics/itkListSampleTest.cxx Testing/Code/Numerics/Statistics/itkMahalanobisDistanceMetricTest.cxx Testing/Code/Numerics/Statistics/itkManhattanDistanceMetricTest.cxx Testing/Code/Numerics/Statistics/itkMembershipSampleTest1.cxx Testing/Code/Numerics/Statistics/itkMembershipSampleTest2.cxx Testing/Code/Numerics/Statistics/itkMembershipSampleTest3.cxx Testing/Code/Numerics/Statistics/itkMembershipSampleTest4.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest1.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest2.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest3.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest4.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest5.cxx Testing/Code/Numerics/Statistics/itkSampleClassifierFilterTest6.cxx Testing/Code/Numerics/Statistics/itkStatisticsTests.cxx Testing/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGeneratorTest8.cxx Testing/Code/Numerics/Statistics/itkWeightedCentroidKdTreeGeneratorTest9.cxx Testing/Code/Numerics/Statistics/itkWeightedCovarianceSampleFilterTest2.cxx
MeasurementVectorTraits::GetLength
MeasurementVectorTraits::SetLength