[ITK-users] eigen vectors in SymmetricEigenAnalysis
samah
samah.bouzidi at gmail.com
Thu Apr 14 13:22:18 EDT 2016
hi ITK users,
When eigen values are ordered using SetOrderEigenMagnitudes ( |lambda_1| <
|lambda_2| < ..... ), are eigen vectors olso ordered ? so the first row of
the eigen vectors matrix is the eigen vector of lambda_1.
Here is the code :
typedef itk::SymmetricEigenAnalysis<
MatrixType,
VectorType,
MatrixType > SymmetricEigenAnalysisType;
SymmetricEigenAnalysisType symmetricEigenSystem(3);
SymmetricEigenAnalysisType.SetOrderEigenMagnitudes( true );
symmetricEigenSystem.ComputeEigenValuesAndVectors
( YourMatrix, eigenValues, eigenVectors );
Best regards,
--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/eigen-vectors-in-SymmetricEigenAnalysis-tp7588740.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.
More information about the Insight-users
mailing list