Mike Hansen wrote:
> Hi Jan,
> 
> On Thu, Dec 4, 2008 at 1:47 AM, Jan Groenewald <[EMAIL PROTECTED]> wrote:
>> If anyone has the time to look at and discuss some of these issues
>> that will be much appreciated, and assist in the growth of using SAGE
>> to teach in this institute!
> 
> I don't have a whole lot of time, but I put some improvements up at
> http://sagenb.org:8000/home/pub/94/ and included some timings there.
> h6.eigenvalues() took 0.11 seconds to run on my machine.  It looks
> like everything you're doing can be done with exact arithmetic so that
> you don't have to use CDF.  Most of the matrices are over QQ, and the
> ones that are complex are over QQ[sqrt(-1)].
> 

Nice.

If you use:

R.<j> = QQ.extension(x^2+1)

then the imaginary number prints as "j" instead of "I", which might make 
more sense.

Also, you can use eigenmatrix_right or eigenvectors_right to get the 
eigenvectors or a matrix with the columns as the eigenvectors.  See the 
help for both of those functions for examples.

One of my next projects is cleaning up the linear algebra interface and 
making it consistent across different types.  I've been frustrated too 
that there are different functions that work different ways for 
different types of matrices.

Jason


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to