[sage-support] How to approximate eigenvalues of matrix? n() does not work in this case.

2009-10-14 Thread ma...@mendelu.cz
Hello all trying approximate numerically eigenvalues of a matrix I get Error sage: A=matrix(((0,1),(-1,0))) sage: B=A.eigenvalues()[0] sage: n(B) Traceback (click to the left for traceback) ... ValueError: Cannot coerce algebraic number with non-zero imaginary part to algebraic real I guess, I

[sage-support] Naming Conventions for Mac PPC binaries

2009-10-14 Thread davidgal...@gmail.com
I know this is small potatoes, but could you be a bit more clear in the naming conventions for the Mac PPC binaries that you publish (and a blessing upon you for that). There are two binaries named sage-4.1.1-OSX10.4-32bit-G4-PowerMacintosh-Darwin and sage-4.1.1-OSX10.5-PPC-PowerMacintosh-Darwi

[sage-support] Re: Naming Conventions for Mac PPC binaries

2009-10-14 Thread kcrisman
On Oct 14, 4:53 am, "davidgal...@gmail.com" wrote: > I know this is small potatoes, but could you be a bit more clear in > the naming conventions for the Mac PPC binaries that you publish (and > a blessing upon you for that). There are two binaries named > > sage-4.1.1-OSX10.4-32bit-G4-PowerMac

[sage-support] Re: implicit plotting

2009-10-14 Thread kcrisman
On Oct 14, 12:19 am, Jason Grout wrote: > ma...@mendelu.cz wrote: > > > On 14 říj, 05:51, Jason Grout wrote: > >> implicit_plot(x^2+y^2==1, (x,-2, 2), (y,-2, 2), cmap=["red"]) > > > Thanks, I missed this example. > > I tried rgbcolor and color option and then tried blindly various > > predefin

[sage-support] Re: implicit plotting

2009-10-14 Thread kcrisman
On Oct 13, 10:44 pm, Jason Grout wrote: > kcrisman wrote: > > > On Oct 13, 6:05 pm, "ma...@mendelu.cz" wrote: > >> Hello all, is there any other possibility how to plot implicit > >> function than implicitplot? > > >> I do not like implicitplot too much, since it is in fact countourplot > >> a

[sage-support] Re: implicit plotting

2009-10-14 Thread Jason Grout
kcrisman wrote: > > > On Oct 13, 10:44 pm, Jason Grout wrote: >> kcrisman wrote: >> >>> On Oct 13, 6:05 pm, "ma...@mendelu.cz" wrote: Hello all, is there any other possibility how to plot implicit function than implicitplot? I do not like implicitplot too much, since it is in fa

[sage-support] Re: How to approximate eigenvalues of matrix? n() does not work in this case.

2009-10-14 Thread Jason Grout
ma...@mendelu.cz wrote: > Hello all > > trying approximate numerically eigenvalues of a matrix I get Error > > sage: A=matrix(((0,1),(-1,0))) > sage: B=A.eigenvalues()[0] > sage: n(B) > Traceback (click to the left for traceback) > ... > ValueError: Cannot coerce algebraic number with non-zero i

[sage-support] Re: A fairly basic question about functions and matrices

2009-10-14 Thread kcrisman
On Oct 14, 1:37 am, Dan Drake wrote: > On Tue, 13 Oct 2009 at 10:04PM -0700, Andrew.algebra wrote: > > Hi there, I've only just started using sage and I'm still very much > > the beginner. > > > I'd like to be able to evaluate a number of functions, and have their > > output display as a tuple.

[sage-support] Re: Naming Conventions for Mac PPC binaries

2009-10-14 Thread William Stein
On Wed, Oct 14, 2009 at 6:18 AM, kcrisman wrote: > > > > On Oct 14, 4:53 am, "davidgal...@gmail.com" > wrote: >> I know this is small potatoes, but could you be a bit more clear in >> the naming conventions for the Mac PPC binaries that you publish (and >> a blessing upon you for that). There ar

[sage-support] Re: Naming Conventions for Mac PPC binaries

2009-10-14 Thread kcrisman
> > PS to those who wanted to drop PPC support because of some weird > > failures - clearly, we still have potential users who aren't buying a > > new computer soon! > > I suggested dropping support in the sense that I didn't want to have > to do all the work to maintain support.  When I mentione

[sage-support] What is wrong with this code?

2009-10-14 Thread Simon King
Hi! The following happens on Intel(R) Core(TM)2 CPU, openSUSE 11.0 (X86-64), sage 4.1. It does not happen on sage.math. Consider the following code in listtext.pyx: def ListTest(int n): cdef dict D = dict(zip(range(1,n+1),range(n))) cdef list L = n*[0] cdef int i for i from 0()

[sage-support] Steenrod algebra multiplication KeyError

2009-10-14 Thread mrotsliah
I have Sage 4.1.1 install on a server, and I run the following code, which outputs the following error: sage: A3=SteenrodAlgebra(3) sage: A3.P(36,6)*A3.P(27,9,81) --- KeyError Traceback (most

[sage-support] Re: fipy

2009-10-14 Thread Ondrej Certik
On Tue, Oct 13, 2009 at 5:35 PM, Robert Bradshaw wrote: > > On Oct 13, 2009, at 7:14 AM, Ajay Rawat wrote: > >> >> My question is can fipy run on sage? >> -- > > I don't see any reason why not (though you would have to install it to > see). Here is the spkg: ht

[sage-support] Re: implicit plotting

2009-10-14 Thread kcrisman
On Oct 14, 9:45 am, Jason Grout wrote: > kcrisman wrote: > > > On Oct 13, 10:44 pm, Jason Grout wrote: > >> kcrisman wrote: > > >>> On Oct 13, 6:05 pm, "ma...@mendelu.cz" wrote: > Hello all, is there any other possibility how to plot implicit > function than implicitplot? > I d

[sage-support] Re: What is wrong with this code?

2009-10-14 Thread Simon King
Sorry for the noise: On 14 Okt., 19:19, Simon King wrote: > The following happens on Intel(R) Core(TM)2 CPU, openSUSE 11.0 > (X86-64), sage 4.1. > It does not happen on sage.math. ... and the reason is that sage 4.1.1 is running on sage.math. In other words, after upgrading, the problem vanish

[sage-support] Re: Steenrod algebra multiplication KeyError

2009-10-14 Thread John H Palmieri
On Oct 14, 10:54 am, mrotsliah wrote: > I have Sage 4.1.1 install on a server, and I run the following code, > which outputs the following error: > > sage: A3=SteenrodAlgebra(3) > sage: A3.P(36,6)*A3.P(27,9,81) > --- > KeyErr

[sage-support] Re: Steenrod algebra multiplication KeyError

2009-10-14 Thread mrotsliah
Thank you very much. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/gr

[sage-support] plot(from server)

2009-10-14 Thread Mikie
I want to include a simple plotting form in my server. I noticed in the notebook the plotting function creates an image. It must save it to the server then display it. My output page displays strings request.write("%s" % part1) Is there anyway to get it to display an image? Thanx --~--~-

[sage-support] Re: plot(from server)

2009-10-14 Thread Jason Grout
Mikie wrote: > I want to include a simple plotting form in my server. I noticed in > the notebook the plotting function creates an image. It must save it > to the server then display it. > > My output page displays strings > request.write("%s" % part1) > > Is there anyway to get it to display

[sage-support] Re: plot(from server)

2009-10-14 Thread Mikie
Jason, Looks too easy. I am doing this all in a Python script. On Oct 14, 2:59 pm, Jason Grout wrote: > Mikie wrote: > > I want to include a simple plotting form in my server.  I noticed in > > the notebook the plotting function creates an image.  It must save it > > to the server then display

[sage-support] Re: plot(from server)

2009-10-14 Thread Jason Grout
Mikie wrote: > Jason, > > Looks too easy. > I am doing this all in a Python script. > From your answer, it sounds like you figured it out then. Great! Jason > On Oct 14, 2:59 pm, Jason Grout wrote: >> Mikie wrote: >>> I want to include a simple plotting form in my server. I noticed in

[sage-support] Re: Naming Conventions for Mac PPC binaries

2009-10-14 Thread davidgal...@gmail.com
William Stein: So you can see the root of my confusion. If every build for PPC cpu is 32-bit, why is this mentioned in the name of one build and not the other? > > Regarding 32/64-bit, there has never ever been a 64-bit version of > > Sage on any OS X PPC install. The builds on PPC are all alwa