[sage-support] Re: Unified polynomial API. Was: Leading monomial or leading term of univariate polynomials

2009-03-31 Thread Robert Bradshaw
On Mar 30, 2009, at 1:31 PM, simon.k...@uni-jena.de wrote: Hi! On 23 Mrz., 12:57, Burcin Erocal bur...@erocal.org wrote: I think it is not my call to provide such list. But next week I can go through the list of methods of multi- and univariate polynomials, open a ticket for their

[sage-support] Re: Unified polynomial API. Was: Leading monomial or leading term of univariate polynomials

2009-03-31 Thread simon . king
Dear Robert, On 31 Mrz., 03:58, Robert Bradshaw rober...@math.washington.edu wrote: Thanks for looking into cleaning all this stuff up. My only request   would be that we not make it harder to work with the special case of   univariate polynomials. I agree that cleaning up should not imply

[sage-support] Re: substitution problem

2009-03-31 Thread V
On Mar 30, 6:07 pm, Jason Grout jason-s...@creativetrax.com wrote: V wrote: Hi, I'm fairly new to sage with some background in maxima. My workbook is shared at http://www.sagenb.org/home/pub/410/ the last three lines show the error I get. Basically, I derive an equilibrium

[sage-support] Re: maximum recursion depth exceeded in cmp

2009-03-31 Thread agi
Thanks, sys.setrecursionlimit(limit) works. On 26 Mrz., 16:39, William Stein wst...@gmail.com wrote: On Thu, Mar 26, 2009 at 5:24 AM, agi agnes.j...@googlemail.com wrote: Hi, I have a recursive algorithm that works well if it doesn't need more than 5637 iterations. In the case of more

[sage-support] Installation problem

2009-03-31 Thread mathieu
Dear all, I experienced program installing version 3.4 of sage. The system is linux Fedora 8. Here is the output: checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed

[sage-support] Re: new cell in worksheet

2009-03-31 Thread Jose Guzman
davidp wrote: I am running Sage 3.4 under Fedora 10. I am having trouble inserting a cell (of any type) right before a text cell in a worksheet. I have tried the following: 1. Hovering the mouse just above the text cell. 2. Going to a calculation cell just above the text cell and trying

[sage-support] Groebner Basis question

2009-03-31 Thread Florian
Hello everyone, I've been trying to figure out whether the following functionality is implemented, but so far I could not. I was hoping that anyone would know if it existed and in that case what the syntax is. Suppose you computed the reduced Groebner Basis G of an ideal I= (f1,...,fn) in some

[sage-support] Re: new cell in worksheet

2009-03-31 Thread William Stein
The only solution I found to that issue is to click on edit in the notebook and type {{{ }}} just before the text cell. In that way you will create a new cell before your text. Hope it helps! Sometimes in this situation I press control-shift in the cell above the text cell, which at

[sage-support] Re: substitution problem

2009-03-31 Thread Jason Grout
V wrote: On Mar 30, 6:07 pm, Jason Grout jason-s...@creativetrax.com wrote: V wrote: Hi, I'm fairly new to sage with some background in maxima. My workbook is shared at http://www.sagenb.org/home/pub/410/ the last three lines show the error I get. Basically, I derive an equilibrium

[sage-support] Re: Installation problem

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 7:10 AM, mathieu mathieu.dut...@gmail.com wrote: Dear all, I experienced program installing version 3.4 of sage. The system is linux Fedora 8. Post a link to the *complete* log. Which gcc version? Precisely which sage tarball (sage-3.4.tar I guess)? Precisely what

[sage-support] Re: Groebner Basis question

2009-03-31 Thread Martin Albrecht
On Tuesday 31 March 2009, Florian wrote: Hello everyone, I've been trying to figure out whether the following functionality is implemented, but so far I could not. I was hoping that anyone would know if it existed and in that case what the syntax is. Suppose you computed the reduced

[sage-support] Re: Groebner Basis question

2009-03-31 Thread William Stein
2009/3/31 Martin Albrecht m...@informatik.uni-bremen.de: On Tuesday 31 March 2009, Florian wrote: Hello everyone, I've been trying to figure out whether the following functionality is implemented, but so far I could not. I was hoping that anyone would know if it existed and in that case

[sage-support] Get the number of variables of multivariate polynomial

2009-03-31 Thread domingo.domingogo...@gmail.com
Dear all, I am new to Sage and after reading the help, I couldn't find a function that from a multivariate polynomial returns the number of variables. if R=PolynomialRing(ZZ, 20, z,order=deglex) f=R.0*R.1 I would like to see that the method returns the number of variables of f. Thanks very much

[sage-support] Re: Get the number of variables of multivariate polynomial

2009-03-31 Thread William Stein
R.ngens() On Tue, Mar 31, 2009 at 7:58 AM, domingo.domingogo...@gmail.com domingo.domingogo...@gmail.com wrote: Dear all, I am new to Sage and after reading the help, I couldn't find a function that from a multivariate polynomial returns the number of variables. if R=PolynomialRing(ZZ,

[sage-support] Re: Groebner Basis question

2009-03-31 Thread Florian
Thanks guys! On Mar 31, 9:54 am, Martin Albrecht m...@informatik.uni-bremen.de wrote: On Tuesday 31 March 2009, Florian wrote: Hello everyone, I've been trying to figure out whether the following functionality is implemented, but so far I could not. I was hoping that anyone would know

[sage-support] Re: substitution problem

2009-03-31 Thread V
This is exactly what I wanted. Thanks for your help! :) I'll look up the maxima manuals to see if I can force it to think harder. Thanks anyway! Have a nice day! V On Mar 31, 3:35 pm, Jason Grout jason-s...@creativetrax.com wrote: V wrote: On Mar 30, 6:07 pm, Jason Grout

[sage-support] Re: Get the number of variables of multivariate polynomial

2009-03-31 Thread Martin Albrecht
On Tuesday 31 March 2009, William Stein wrote: R.ngens() On Tue, Mar 31, 2009 at 7:58 AM, domingo.domingogo...@gmail.com domingo.domingogo...@gmail.com wrote: Dear all, I am new to Sage and after reading the help, I couldn't find a function that from a multivariate polynomial returns

[sage-support] Re: Why plot() won't plot this function?

2009-03-31 Thread William Stein
On Mon, Mar 30, 2009 at 2:16 PM, Jason Grout jason-s...@creativetrax.com wrote: Chris Seberino wrote: In a new sage session... (Notice the A(t) function returns values just fine.  Why doesn't plot () like it?) sage: W(t)=95*sqrt(t)*sin(t/6)^2 sage: R(t)=275*sin(t/3)^2 sage: def A(t):

[sage-support] Re: Get the number of variables of multivariate polynomial

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 9:34 AM, Martin Albrecht m...@informatik.uni-bremen.de wrote: On Tuesday 31 March 2009, William Stein wrote: R.ngens() On Tue, Mar 31, 2009 at 7:58 AM, domingo.domingogo...@gmail.com domingo.domingogo...@gmail.com wrote: Dear all, I am new to Sage and after

[sage-support] Re: Unified polynomial API. Was: Leading monomial or leading term of univariate polynomials

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 1:25 AM, simon.k...@uni-jena.de wrote: Dear Robert, On 31 Mrz., 03:58, Robert Bradshaw rober...@math.washington.edu wrote: Thanks for looking into cleaning all this stuff up. My only request would be that we not make it harder to work with the special case of

[sage-support] Sage for Gentoo Linux

2009-03-31 Thread John P. Burkett
The installation instructions in README.txt at http://modular.fas.harvard.edu/sage/linux/32bit/index.html state that the Debian version will likely work on many other Linux distributions,since it was built on a minimal Debian install. At the same site, I see two Debian versions: 5.0_lenny and

[sage-support] Re: Why plot() won't plot this function?

2009-03-31 Thread Jason Grout
William Stein wrote: On Mon, Mar 30, 2009 at 2:16 PM, Jason Grout jason-s...@creativetrax.com wrote: Chris Seberino wrote: In a new sage session... (Notice the A(t) function returns values just fine. Why doesn't plot () like it?) sage: W(t)=95*sqrt(t)*sin(t/6)^2 sage:

[sage-support] Re: Unified polynomial API. Was: Leading monomial or leading term of univariate polynomials

2009-03-31 Thread simon . king
Hi William, On 31 Mrz., 19:15, William Stein wst...@gmail.com wrote: On Tue, Mar 31, 2009 at 1:25 AM, simon.k...@uni-jena.de wrote: ... sage: zx = set([a[0] for a in inspect.getmembers(x)]) sage: zt = set([a[0] for a in inspect.getmembers(t)]) sage: list(sorted([a for a in zx if a not in zt

[sage-support] Square and Multiply

2009-03-31 Thread Santanu Sarkar
Is Square and Multiply algorithm to finda^x (mod N) is implemented in SAGE? --~--~-~--~~~---~--~~ 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

[sage-support] Re: Square and Multiply

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 11:40 AM, Santanu Sarkar sarkar.santanu@gmail.com wrote: Is Square and Multiply algorithm  to  find    a^x (mod  N)  is implemented in SAGE? Yes. sage: Mod(57,997)^103934934 554 William --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Re: Square and Multiply

2009-03-31 Thread kcrisman
On Mar 31, 2:40 pm, Santanu Sarkar sarkar.santanu@gmail.com wrote: Is Square and Multiply algorithm  to  find    a^x (mod  N)  is implemented in SAGE? Hi, If you are just interested in using Sage to find large powers mod N, you can do the following: sage: a=mod(5,997) sage: a^500 972

[sage-support] Re: Get the number of variables of multivariate polynomial

2009-03-31 Thread domingo.domingogo...@gmail.com
Thank you very much Martin and William. Domingo, P. d. One question, for the next time, how I see the api of the multivariate polynomials? On 31 mar, 18:47, William Stein wst...@gmail.com wrote: On Tue, Mar 31, 2009 at 9:34 AM, Martin Albrecht m...@informatik.uni-bremen.de wrote: On

[sage-support] Re: Get the number of variables of multivariate polynomial

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 12:24 PM, domingo.domingogo...@gmail.com domingo.domingogo...@gmail.com wrote: Thank you very much Martin and William. Domingo, P. d. One question, for the next time, how I see the api of the multivariate polynomials? If f is any object you can do f.tab key On

[sage-support] Re: Sage for Gentoo Linux

2009-03-31 Thread Alex Ghitza
Hi, I don't know the answer to your question, however: when I was using Gentoo, I had no trouble installing Sage from source. So if neither of the two binaries works for you, that might be the way to go. Best, Alex On Wed, Apr 1, 2009 at 5:03 AM, John P. Burkett burk...@uri.edu wrote: The

[sage-support] Re: Newbie question. How do you get Sage to show a plot?

2009-03-31 Thread WLC
Thank you for all the help. I'm using the vmware player 2.0.2 build-59824 with Microsoft Windows XP Home 5.1.2600, Service Pack 2. Is plotting not availaible with this software environment? Thanks -WLC --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Newbie question. How do you get Sage to show a plot?

2009-03-31 Thread Robert Bradshaw
On Mar 31, 2009, at 7:09 PM, WLC wrote: Thank you for all the help. I'm using the vmware player 2.0.2 build-59824 with Microsoft Windows XP Home 5.1.2600, Service Pack 2. Is plotting not availaible with this software environment? If you are running it via the notebook interface, the plot

[sage-support] Re: Newbie question. How do you get Sage to show a plot?

2009-03-31 Thread William Stein
On Tue, Mar 31, 2009 at 7:26 PM, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 31, 2009, at 7:09 PM, WLC wrote: Thank you for all the help. I'm using the vmware player 2.0.2 build-59824 with Microsoft Windows XP Home 5.1.2600, Service Pack 2. Is plotting not availaible with