
Hi, It seems like Boost doesn't support eigen-analysis, is that true? I've been using VXL/VNL for eigenanalysis, but my project must get rid of dependencies on VXL/VNL, so I'm wondering what would be the easiest transition? By the way, the matrices I'm dealing with are of size 2x2 and 3x3. Thanks! -- View this message in context: http://www.nabble.com/Eigenvalues-tp20941764p20941764.html Sent from the Boost - Users mailing list archive at Nabble.com.

For such small matrices, why not simply use an analytic solution for eigenvalues? You could use the UBLAS interface in boost for holding the matrices if you need to.... On Dec 10, 2008, at 11:58 AM, r89 wrote:
Hi,
It seems like Boost doesn't support eigen-analysis, is that true? I've been using VXL/VNL for eigenanalysis, but my project must get rid of dependencies on VXL/VNL, so I'm wondering what would be the easiest transition? By the way, the matrices I'm dealing with are of size 2x2 and 3x3.
Thanks!
-- View this message in context: http://www.nabble.com/Eigenvalues-tp20941764p20941764.html Sent from the Boost - Users mailing list archive at Nabble.com.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

r89 wrote:
It seems like Boost doesn't support eigen-analysis, is that true?
I've been using VXL/VNL for eigenanalysis, but my project must get rid of dependencies on VXL/VNL, so I'm wondering what would be the easiest transition? By
Yes and no. Your described use case (2x2 and 3x3) is not well supported. However, there is the experimental "numeric-bindings" library in the boost-sandbox, that provides bindings against external libraries for eigenvalue computations like lapack, ACML or MKL. But honestly, I would try to avoid the dependence on such external libraries if all I want are the eigenvalues of 2x2 and 3x3 matrices. the
way, the matrices I'm dealing with are of size 2x2 and 3x3.
The library "eigen" (http://eigen.tuxfamily.org) may be for you, but you may have the same dependency problem with it as with VXL/VNL. (I have no idea why your project must get rid of dependencies on VXL/VNL, so I can't tell whether your project will have the same problems with "eigen".) Regards, Thomas

It seems like Boost doesn't support eigen-analysis, is that true?
Yes and no. Your described use case (2x2 and 3x3) is not well supported. However, there is the experimental "numeric-bindings" library in the boost-sandbox, that provides bindings against external libraries for eigenvalue computations like lapack, ACML or MKL. But honestly, I would try to avoid the dependence on such external libraries if all I want are the eigenvalues of 2x2 and 3x3 matrices.
Virtually all standard eigensolvers are designed for large matrices. For small, fixed size matrices, it is vastly more efficient in most cases to get eigenvalues/ vectors by direct solution of the characteristic polynomial (there are good algorithms for doing this in, e.g. NetLib). See, for example, this thread : http://www.groupsrv.com/science/about273201.html Matthias
participants (4)
-
James Sutherland
-
Matthias Schabel
-
r89
-
Thomas Klimpel