[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 rober...@math.washington.edu wrote: On Tue,

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 chappman@gmail.com wrote: Yes I do want a function of some sort here,

[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

[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

[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

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 function,

[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 bro...@pobox.com wrote: Chappman wrote:   Yes I do want a

[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

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 obsessivemathsfr...@gmail.com 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-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

[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] 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

[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

[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

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 jason-s...@creativetrax.comwrote: I don't think it exists, but