-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 William Stein wrote: | On Thu, Apr 3, 2008 at 7:27 AM, Justin C. Walker <[EMAIL PROTECTED]> wrote: |> |> 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 |> | | +1 to everything Justin just said. | | William |
+1 as well. And while we're at it, if this gets voted in, we should change kernel to have a consistent behavior as well, i.e. have kernel(left=True, right=False) and get rid of left_kernel() and right_kernel(). Alex - -- Alexandru Ghitza Assistant Professor Department of Mathematics Colby College Waterville, ME 04901 http://bayes.colby.edu/~ghitza/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH9O89dZTaNFFPILgRAgTYAKCNa3phUJk0OPeE+8RGW76h0elJvACfdO/Z Bw2iHJ9tlSm5N3xa3O9w9aQ= =UB0u -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---