On Thu, Apr 3, 2008 at 6:38 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > Currently, depending on the matrix type, there are several different > ways to get eigenvalues and eigenvectors and it is hard to remember > which function goes with which type. > > How about we unify the interface? > > Proposal: > > eigenspaces: Return a list of tuples, the first element being an > eigenvalue and the second being the associated eigenspace. > > eigenvalues: Return a list of eigenvalues. > > eigenvectors(left=True, right=False): Return a list of eigenvalues and > an associated matrix (or matrices) containing associated eigenvectors.
I like your idea in general but what does eigenvectors(left=True, right=False) mean? > > *should we have the following?* > > eigenvectors_right, eigenvectors_left: Wrapper calls to eigenvalues > which return the eigenvalues and either the left or right eigenvalues. > The function here *starts* with eigen so that tab completion is helpful. +1 > > For comparison, Matlab does this with the eig and eigs functions. Mma > has Eigenvalues, Eigenvectors, and Eigensystem (which returns > eigenvalues and eigenvectors). > > Thoughts on keeping the current right_eigenvectors and left_eigenvectors? > > > Thanks, > > Jason > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---