[sage-support] Re: echelon_form of matrix with a symbol

2009-10-15 Thread ma...@mendelu.cz
On 16 říj, 05:45, William Stein wrote: > On Thu, Oct 15, 2009 at 7:45 PM, Matt Rissler wrote: > > > Basically, I'm having student look for the x that makes the matrix > > singular, or the columns linearly dependent, or ...  However Sage > > behaves like so: > > > sage: A=matrix([[0,1,1],[2,2,-2]

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

2009-10-15 Thread Mike Hansen
On Thu, Oct 15, 2009 at 11:26 PM, Mikie wrote: > > OK,  I create a function that takes the expression from my form and > then it does the plot which creates the png file.  Then I display the > image(plot) in the html page.  The image has been saved on the > server.  When the session is over the i

[sage-support] Re: echelon_form of matrix with a symbol

2009-10-15 Thread William Stein
On Thu, Oct 15, 2009 at 7:45 PM, Matt Rissler wrote: > > Basically, I'm having student look for the x that makes the matrix > singular, or the columns linearly dependent, or ...  However Sage > behaves like so: > > sage: A=matrix([[0,1,1],[2,2,-2],[-1,x,3]]) You could also solve the problem by c

[sage-support] Re: echelon_form of matrix with a symbol

2009-10-15 Thread Jason Grout
Jason Grout wrote: > > sage: x=polygen(QQ) > sage: A=matrix([[0,1,1],[2,2,-2],[-1,x,3]]) > sage: A.echelon_form() > > [ 2 2 -2] > [ 0 -1 -1] > [ 0 0 -x + 1] > > Incidentally (while I'm still working on the echelon_form/hermite_form patch, where echelon_form

[sage-support] Re: echelon_form of matrix with a symbol

2009-10-15 Thread Jason Grout
Matt Rissler wrote: > Basically, I'm having student look for the x that makes the matrix > singular, or the columns linearly dependent, or ... However Sage > behaves like so: > > sage: A=matrix([[0,1,1],[2,2,-2],[-1,x,3]]) > sage: A > [ 0 1 1] > [ 2 2 -2] > [-1 x 3] > sage: A.echelon_form()

[sage-support] echelon_form of matrix with a symbol

2009-10-15 Thread Matt Rissler
Basically, I'm having student look for the x that makes the matrix singular, or the columns linearly dependent, or ... However Sage behaves like so: sage: A=matrix([[0,1,1],[2,2,-2],[-1,x,3]]) sage: A [ 0 1 1] [ 2 2 -2] [-1 x 3] sage: A.echelon_form() [1 0 0] [0 1 0] [0 0 1] Is there anyw

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
Yes, that is exactly what I want...fractions/pi/etc to auto- approximate. Or they don't even have to "auto" approximate, but if I can just call a function that THEN approximates the fractions, pi, etc. After I re-read my first post, it definitely wasn't very clear :) But now you know. I wouldn

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
Yes, that is exactly what I want...fractions/pi/etc to auto- approximate. Or they don't even have to "auto" approximate, but if I can just call a function that THEN approximates the fractions, pi, etc. After I re-read my first post, it definitely wasn't very clear :) But now you know. I wouldn

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
Yes, that is exactly what I want...fractions/pi/etc to auto- approximate. Or they don't even have to "auto" approximate, but if I can just call a function that THEN approximates the fractions, pi, etc. After I re-read my first post, it definitely wasn't very clear :) But now you know. I wouldn

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
Yes, that is exactly what I want...fractions/pi/etc to auto- approximate. Or they don't even have to "auto" approximate, but if I can just call a function that THEN approximates the fractions, pi, etc. After I re-read my first post, it definitely wasn't very clear :) But now you know. I wouldn

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread kcrisman
On Oct 15, 8:31 pm, Scott wrote: > What I really want is sage to give me the answer as: > q1 = 0.58239...(however many digits)*q2 > > Is there a way to do that?  I don't want an approximate value of the > entire thing (obviously you can't get that without giving the value of > q2), but I want i

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
What I really want is sage to give me the answer as: q1 = 0.58239...(however many digits)*q2 Is there a way to do that? I don't want an approximate value of the entire thing (obviously you can't get that without giving the value of q2), but I want it to compute whatever it can (in this case that

[sage-support] Re: Piecewise Function gotcha - bug or feature?

2009-10-15 Thread kcrisman
On Oct 15, 4:12 pm, erikson1970 wrote: > Piecewise Function: endpoint gotcha - bug or feature? > It seems that the piecewise function (which requires overlapping > endpoints for the specified function intervals) does some unadvertised > averaging for results for values at the endpoints. > > See

[sage-support] Re: Getting the approximate solution to an exact equation

2009-10-15 Thread kcrisman
Dear Scott, Thanks for posting. On Oct 15, 6:46 pm, Scott wrote: > I know this is really basic, but for some reason I cannot figure this > out and my searching (here, sage website, google, etc) has not yielded > me any results!  I just started using sage, literally, yesterday. > > I am using s

[sage-support] Getting the approximate solution to an exact equation

2009-10-15 Thread Scott
I know this is really basic, but for some reason I cannot figure this out and my searching (here, sage website, google, etc) has not yielded me any results! I just started using sage, literally, yesterday. I am using solve() to solve an equation for q1 in terms of q2. The solution of this is sa

[sage-support] Re: What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-15 Thread Chris Seberino
On Oct 15, 2:21 pm, William Stein wrote: > Are you asking about TinyMCE, i.e., when you "shift-click" and edit > plain text between cells? yes --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] Re: What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-15 Thread William Stein
On Thu, Oct 15, 2009 at 1:32 PM, Chris Seberino wrote: > > What is the default font in Sage notebooks? Possible to hardcode a new > default? > > If I don't use the default, I've noticed I must respecify the desired > font in every new text area because Sage keeps defaulting back to the > default

[sage-support] Piecewise Function gotcha - bug or feature?

2009-10-15 Thread erikson1970
Piecewise Function: endpoint gotcha - bug or feature? It seems that the piecewise function (which requires overlapping endpoints for the specified function intervals) does some unadvertised averaging for results for values at the endpoints. See the sage output from the input below. Rather than p

[sage-support] What is the default font in Sage notebooks? Possible to hardcode a new default?

2009-10-15 Thread Chris Seberino
What is the default font in Sage notebooks? Possible to hardcode a new default? If I don't use the default, I've noticed I must respecify the desired font in every new text area because Sage keeps defaulting back to the default font. cs --~--~-~--~~~---~--~~ To po

[sage-support] Custom queries on Trac don't work?

2009-10-15 Thread kcrisman
Try the following: http://trac.sagemath.org/sage_trac/query?max=300&milestone=sage-4.1.2&order=priority#no2 In theory, there should now be now columns. But there are. I also cannot get it to sort with respect to anything but priority, even when I click. In particular, I can't get it to sort b

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

2009-10-15 Thread Mikie
OK, I create a function that takes the expression from my form and then it does the plot which creates the png file. Then I display the image(plot) in the html page. The image has been saved on the server. When the session is over the image will still be on the server. I would like the image

[sage-support] Re: No Longer have sagemath operational?

2009-10-15 Thread William Stein
On Thu, Oct 15, 2009 at 9:16 AM, John C. Beckerle wrote: > Dear Sage Advisor: > I lost my sage notebooks that I prepared sometime last night, the 13th Oct. > before midnight.  My computer is a LapTop Macintosh OS X.4. I had > successfully downloaded Sage some time ago and was working with two > n

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

2009-10-15 Thread Mike Hansen
On Thu, Oct 15, 2009 at 11:19 PM, William Stein wrote: >> Mikie wrote: >>> When my users create a plot and their graphing session is finished how >>> do I remove the png file? It depends on how you have your program set up. One possibility is that you can keep track of all the files that you ge

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

2009-10-15 Thread William Stein
On Thu, Oct 15, 2009 at 8:58 AM, Jason Grout wrote: > > Mikie wrote: >> When my users create a plot and their graphing session is finished how >> do I remove the png file? > > > Did you try googling for the answer? I think his question is sufficiently vague that your answer might not be what he'

[sage-support] No Longer have sagemath operational?

2009-10-15 Thread John C. Beckerle
Dear Sage Advisor: I lost my sage notebooks that I prepared sometime last night, the 13th Oct. before midnight. My computer is a LapTop Macintosh OS X.4. I had successfully downloaded Sage some time ago and was working with two notebooks. I must have done something wrong? I could not ove

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

2009-10-15 Thread Jason Grout
Mikie wrote: > When my users create a plot and their graphing session is finished how > do I remove the png file? Did you try googling for the answer? I typed "python remove files" into google and the first result was the documentation for the relevant python commands, and the second result c

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

2009-10-15 Thread Mikie
When my users create a plot and their graphing session is finished how do I remove the png file? On Oct 14, 3:54 pm, Jason Grout wrote: > 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.  Grea

[sage-support] Re: Syntax misunderstanding in timeit.

2009-10-15 Thread Simon King
Hi Francois! Sorry that I can't answer all of your questions, but I hope that others will step in. On 15 Okt., 14:27, Francois Maltey wrote: [...] > And a second question : I don't find any example in python documentation > for list with .. as  [1..100]. > > Is it a standard python or a sage fe

[sage-support] Syntax misunderstanding in timeit.

2009-10-15 Thread Francois Maltey
Hello, I play with the timeit function because I want to test the asymptotic time of complexity for (pseudo-)lists in sage. I test timeit('n=5;[2*x for x in [1..10^n]]') This line is well evaluate and I get a linear answer when I change n from 2 to 7. I may add the parameter repeat=1 and num

[sage-support] Re: Membership in the SAGE support group

2009-10-15 Thread David Joyner
We generally reject such membership requests as they are assumed to be spammers. Sorry for the inconvenience. On Thu, Oct 15, 2009 at 5:02 AM, wrote: > Dear Colleague, > > > > I requested to become a member of the SAGE support group but I have not been > contacted about it yet.  I would like to

[sage-support] Re: Membership in the SAGE support group

2009-10-15 Thread Robert Bradshaw
On Oct 15, 2009, at 2:02 AM, wrote: > Dear Colleague, > > I requested to become a member of the SAGE support group but I have > not been contacted about it yet. I would like to post a question > because I have had a problem installing SAGE in SUSE Linux (I > believe some components may be

[sage-support] Membership in the SAGE support group

2009-10-15 Thread domingo.salazar
Dear Colleague, I requested to become a member of the SAGE support group but I have not been contacted about it yet. I would like to post a question because I have had a problem installing SAGE in SUSE Linux (I believe some components may be missing from the download) and consequently I cannot