[ITK] [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.
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list