Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Looking into the source code I found /Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sage-main/sage/matrix/matrix2.c

and

/Applications/Sage-4.7.2-OSX-64bit-10.6.app/Contents/Resources/sage/devel/sage-main/sage/matrix/matrix2.pyx

both files contain references to eigenvectors_right(), so it may be safe to assume that somehow I can embed one of these header files and the respective library in my C program and compute the eigenvectors for a Stochastic matrix.

Would you know what is the library that goes with matrix2.c? Also, any suggestion in the best way to use it from my C program?

Thank you,

Dalmo