Re: [sage-support] Re: Exporting Sage notebook worksheet to SageTeX?

2012-02-08 Thread Stephen Hartke
On 2/8/12 10:30 PM, Stephen Hartke wrote: > I could not immediately find a feature to export to SageTeX. If such a > feature does not already exist, how hard would it be to implement it? > On Wed, Feb 8, 2012 at 10:37 PM, Jason Grout wrote: > I don't think it exists, but shouldn't be that hard.

[sage-support] Re: Exporting Sage notebook worksheet to SageTeX?

2012-02-08 Thread Jason Grout
On 2/8/12 10:30 PM, Stephen Hartke wrote: I've been writing a series of handouts for my class. When writing them, I like to initially use the Sage notebook as it allows me to quickly and easily experiment with different examples, while still writing most of the explanations. However, for variou

[sage-support] Exporting Sage notebook worksheet to SageTeX?

2012-02-08 Thread Stephen Hartke
I've been writing a series of handouts for my class. When writing them, I like to initially use the Sage notebook as it allows me to quickly and easily experiment with different examples, while still writing most of the explanations. However, for various reasons I'd like to be able to post pdf ve

[sage-support] Re: jmol won't display

2012-02-08 Thread Jason Grout
On 2/8/12 6:18 PM, David wrote: After playing around in the jmol console, and getting a weird error involving DOCTYPE, I found some old info on the web, including from Jonathan. I couldn't find a fix in a few minutes, but someone speculated that it was a cookie thing. Bingo. I turned on third par

[sage-support] Re: jmol won't display

2012-02-08 Thread David
Ah, presumably the whole ubuntu 10.04 thing is a red herring; I must be accepting 3rd party cookies on the 11.04 machine. I'll check it when I get home. -- David -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsu

[sage-support] Re: jmol won't display

2012-02-08 Thread David
After playing around in the jmol console, and getting a weird error involving DOCTYPE, I found some old info on the web, including from Jonathan. I couldn't find a fix in a few minutes, but someone speculated that it was a cookie thing. Bingo. I turned on third party cookies, and it instantly worke

Re: [sage-support] Coefficients of multivariate polynomials along with degrees

2012-02-08 Thread Mike Hansen
On Wed, Feb 8, 2012 at 3:29 PM, ObsessiveMathsFreak wrote: > Is there no way of getting sage to give back the degree's of the > corresponding multivariate polynomials as well. That is to return > something like > > [[10,[100,1]],[3,[1,0]]] exponents() is what you need: sage: zip(B.coefficients()

Re: [sage-support] Coefficients of multivariate polynomials along with degrees

2012-02-08 Thread Julian Rüth
* ObsessiveMathsFreak [2012-02-08 15:29:03 -0800]: > Currently the code for obtaining the coefficients of a multivariate > polynomials returns only a list of coefficients without returning the > degrees as well. For example > > f(x,y)=10*x^2*y+3*x > B=f(x,y).polynomial(SR) > print B.coefficients

[sage-support] Coefficients of multivariate polynomials along with degrees

2012-02-08 Thread ObsessiveMathsFreak
Currently the code for obtaining the coefficients of a multivariate polynomials returns only a list of coefficients without returning the degrees as well. For example f(x,y)=10*x^2*y+3*x B=f(x,y).polynomial(SR) print B.coefficients() [10, 3] f(x,y)=10*x^100*y+3*x B=f(x,y).polynomial(SR) print B.

[sage-support] Add new/custom integral code to sage

2012-02-08 Thread ObsessiveMathsFreak
I have a certain integration result which Sage is currently unaware of. I need a way to make sage aware of it in some fashion, via substitution or anything else. For example, sage currently cannot perform the following integral sage: var(' k t') sage: integrate(sqrt(1-k^2*sin(t)^2),t,0,pi/2) in

[sage-support] Re: functions

2012-02-08 Thread Chappman
What y ou suggested all I tried it again today, thank you very much for the help, I did use the def function that you suggest. All the help and input is being put to good use. Kind Regards Chappman On Feb 8, 6:48 pm, Anton Sherwood wrote: > Chappman wrote: > >  >> Yes I do want a function of som

Re: [sage-support] functions

2012-02-08 Thread Anton Sherwood
Chappman wrote: >> Yes I do want a function of some sort here, but I do not >> want a "def chaps(u,v)" like what anton has done for now, [...] On 2012-2-08 02:39, Robert Bradshaw wrote: It sounds like what you're saying is "I want a function, but I don't want a function." [...] Or "I want a f

Re: [sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-08 Thread William Stein
On Wed, Feb 8, 2012 at 10:27 AM, Jason Grout wrote: > On 2/8/12 10:39 AM, firebird wrote: >> >> Thanks for the prompt response, but it is barely credible... > > > Atlas will sometimes do tuning, which means that it will run the same > program lots of times with different values in order to ascerta

[sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-08 Thread Jason Grout
On 2/8/12 10:39 AM, firebird wrote: Thanks for the prompt response, but it is barely credible... Atlas will sometimes do tuning, which means that it will run the same program lots of times with different values in order to ascertain exactly what parameters to use to get the fastest linear alg

[sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-08 Thread Volker Braun
Looks normal to me. Occasionally ATLAS prints some progress status, that would be more interesting to grep for. -- 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 t

[sage-support] Re: Programming animation

2012-02-08 Thread LFS
@Nils Got the animation to work - Really pleased! (Momentarily nothing will publish - when it does I will add the link.) Thanks for writing the script so simply. I was able to change things I wanted to change. BTW - if anyone copies and pastes the script from above, there is an bad line break afte

[sage-support] Re: Ubuntu 11.10 SAGE compilation

2012-02-08 Thread firebird
Volker Thanks for the prompt response, but it is barely credible... Enclosed are some of the more common lines (with frequencies at the front) from install.log. Is this what you would expect? 169 compilations of the same file? I terminated the job after that. 526 make[10]: Leaving directory

Re: [sage-support] Re: functions

2012-02-08 Thread Robert Bradshaw
It sounds like what you're saying is "I want a function, but I don't want a function." Perhaps I could offer some better suggestions if I understood why "def f(...)" isn't acceptable. On Wed, Feb 8, 2012 at 1:16 AM, Chappman wrote: > Yes I do want a function of some sort here, but I do not want a

[sage-support] Re: functions

2012-02-08 Thread Chappman
Yes I do want a function of some sort here, but I do not want a "def chaps(u,v)" like what anton has done for now, both for my simplified and larger problem. Is there a solution/method to this? Kind Regards Chappman On Feb 7, 9:35 pm, Robert Bradshaw wrote: > On Tue, Feb 7, 2012 at 1:07 PM, Cha