On Apr 3, 2008, at 3:38 AM, Jason Grout 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?

+1 This has bothered me too.

> 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.
>
> *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.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to