On Apr 3, 2008, at 03:38 , 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?
>
> 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.

+1 for the above.

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


I don't see the need, and I'm always leery of overpopulating the  
namespace :-}  You already have the functionality, and with '?', it is  
easily accessible.

Justin

--
They said it couldn't be done, but sometimes,
it doesn't work out that way.
   - Casey Stengel
--




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