[sage-support] Re: Ubuntu 9.10

2009-11-02 Thread Marshall Hampton
pari(7).isprime() works fine for me in the sage command line with sage-4.2. What error are you getting? -M. Hampton On Nov 2, 9:03 pm, davedo2 wrote: > Robert, > > Thanks for setting me straight on True vs 1. I still wonder though > about the first part of my question. > Why does pari(7).ispri

[sage-support] Re: Ubuntu 9.10

2009-11-02 Thread davedo2
Robert, Thanks for setting me straight on True vs 1. I still wonder though about the first part of my question. Why does pari(7).isprime() work just fine in the notebook, but not from the Sage command line? Thank you for being patient...Dave On Nov 2, 3:48 pm, Robert Bradshaw wrote: > On Nov 2,

[sage-support] Re: Possible to view cython annotation from command line

2009-11-02 Thread Robert Bradshaw
On Nov 2, 2009, at 3:56 PM, Justin Domke wrote: > > Thanks, that works perfectly! One other question-- is there any way > to get .html output when "attach"ing a .spyx file? (Perhaps this is > asking a lot...) No, I don't imagine it would be super hard to do though. - Robert --~--~-

[sage-support] Intro to Sage presentation at conference

2009-11-02 Thread CalcPage
Take a look at my blog for info on a presentation I'm giving involving Sage! Goto _http://calcpage.tripod.com_ (http://calcpage.tripod.com) and click on link for my blog near the top of my website. TIA, A. Jorge Garcia _http://calcpage.tripod.com_ (http://calcpage.tripod.com/) Teacher

[sage-support] Re: Possible to view cython annotation from command line

2009-11-02 Thread Justin Domke
Thanks, that works perfectly! One other question-- is there any way to get .html output when "attach"ing a .spyx file? (Perhaps this is asking a lot...) --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from th

[sage-support] Re: Possible to view cython annotation from command line

2009-11-02 Thread Robert Bradshaw
On Nov 2, 2009, at 3:10 PM, Justin Domke wrote: > > Hello, > > When developing cython code, I find the annotation .html files > (showing yellow lines where python calls are, etc.) useful. I can do > this from the notebook interface, or (apparently) from command-line > usage of cython, but I'm n

[sage-support] Re: Ubuntu 9.10

2009-11-02 Thread Robert Bradshaw
On Nov 2, 2009, at 3:22 PM, davedo2 wrote: > > OK, I downloaded Sage 4.2 and -testall seemed OK. However, I have a > question: if I evaluate pari(7).isprime() in the notebook it returns > True, but if I try it from the Sage command line it spawns a longish > list of errors - what's up with that?

[sage-support] Re: Ubuntu 9.10

2009-11-02 Thread davedo2
OK, I downloaded Sage 4.2 and -testall seemed OK. However, I have a question: if I evaluate pari(7).isprime() in the notebook it returns True, but if I try it from the Sage command line it spawns a longish list of errors - what's up with that? Also, is there a way to invoke it such that it return

[sage-support] Possible to view cython annotation from command line

2009-11-02 Thread Justin Domke
Hello, When developing cython code, I find the annotation .html files (showing yellow lines where python calls are, etc.) useful. I can do this from the notebook interface, or (apparently) from command-line usage of cython, but I'm not sure it it is possible to do from the sage command line. i

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Nathann Cohen
Thank you for your answers !! I was thinking about some multidimensional linear approximation, where the basis you use is ( for points of coordinates (x_i, y_i ) ) the vectors The family of x_i, x_i The family of x_i, x_i^2 The family of x_i, x_i^3 The family of x_i, x_i^4 ... But it turns out S

[sage-support] Re: numerical integration of bessel_J functions

2009-11-02 Thread kcrisman
> integration.  The problem here is that bessel_J is not a symbolic > function, and does not know how to deal with symbolic variables.  It > would be great if someone submitted a patch to take care of this! Yes, in an ideal world we would have already taken care of this, since this sort of numeri

[sage-support] Re: numerical integration of bessel_J functions

2009-11-02 Thread svanshaar
Thanks Jason! That works perfectly. --~--~-~--~~~---~--~~ 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://grou

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Jason Grout
Robert Bradshaw wrote: > On Nov 2, 2009, at 8:41 AM, Nathann Cohen wrote: > >> Hello !!! >> >> I remember there is an easy way ( through matrices ) to get the >> "best" approximation of a function by a polynomial of bounded degree >> ( and not only the usual approximation by a line ) I lo

[sage-support] Re: Ubuntu 9.10

2009-11-02 Thread Laurent
davier2 ha scritto: > Is the binary for Ubuntu 9.04 also to be used under Ubuntu 9.10 or > will a new one be posted? > I'm running Sage 4.2 under Karmic, using the file sage-4.2-linux-Ubuntu_9.04-i686-Linux.tar.gz Seems to work for me. Laurent --~--~-~--~~~---~-

[sage-support] Ubuntu 9.10

2009-11-02 Thread davedo2
Is the binary for Ubuntu 9.04 also to be used under Ubuntu 9.10 or will a new one be posted? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Robert Bradshaw
On Nov 2, 2009, at 8:41 AM, Nathann Cohen wrote: > Hello !!! > > I remember there is an easy way ( through matrices ) to get the > "best" approximation of a function by a polynomial of bounded degree > ( and not only the usual approximation by a line ) I looked for > such functions in S

[sage-support] Re: Polynomial approximation of a function

2009-11-02 Thread Laurent
Nathalie Cohen ha scritto: > Hello !!! > > I remember there is an easy way ( through matrices ) to get the "best" > approximation of a function by a polynomial of bounded degree ( and not only > the usual approximation by a line ) Are you speaking about the Taylor expansion ? If so, it is impl

[sage-support] Polynomial approximation of a function

2009-11-02 Thread Nathann Cohen
Hello !!! I remember there is an easy way ( through matrices ) to get the "best" approximation of a function by a polynomial of bounded degree ( and not only the usual approximation by a line ) I looked for such functions in Sage, but found none... Does it mean there is not already in Sage som

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-02 Thread William Stein
On Mon, Nov 2, 2009 at 2:18 AM, John Cremona wrote: > > > > On Nov 1, 5:34 pm, Michael Orlitzky wrote: >> This one had me stumped for a while. I'm using 4.1.1 here, but found the >> same results in a 4.1.2 notebook. The solve_foo() methods are broken, >> too; probably as a consequence. >> >> # G

[sage-support] Re: latex issue after upgrading to 4.2

2009-11-02 Thread Flavio Coelho
Thanks, that fixed it. I Downloaded the fonts and unpacked them to the ~/.fonts/ directory. On Oct 30, 4:43 pm, Jason Grout wrote: > ma...@mendelu.cz wrote: > > > On 30 říj, 13:30, Flavio Coelho wrote: > >> I forgot to mention my platform: > > >> Ubuntu Karmic Koala, > >> Firefox 3.5.3 > > >

[sage-support] Re: Matrix inconsistency with decimal/fraction representations

2009-11-02 Thread John Cremona
On Nov 1, 5:34 pm, Michael Orlitzky wrote: > This one had me stumped for a while. I'm using 4.1.1 here, but found the > same results in a 4.1.2 notebook. The solve_foo() methods are broken, > too; probably as a consequence. > > # Good > > sage: m = matrix([ [(-3/10), (1/5), (1/10)], >          

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-02 Thread Wilfried_Huss
On 2 Nov., 09:08, Stan Schymanski wrote: > Dear Wilfried, > > The tutorial looks great! How did you do the numbered head lines and the > index? Just use ... tags in the notebook. They are converted to \sections{} in the LaTeX file. The the worksheet the sections are not numbered. > Is the

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-02 Thread Stan Schymanski
Dear Wilfried, The tutorial looks great! How did you do the numbered head lines and the index? Is the sage worksheet itself published somewhere? Cheers Stan Wilfried_Huss wrote: > > On 29 Okt., 12:44, "ma...@mendelu.cz" wrote: > >> Hello all, the conversion into PDF has been discussed seve