[sage-support] Re: delay in animation

2008-04-15 Thread pong
Thank both of you for the reply. Hector's suggestion works. I probably don't understand my question either. However I got the idea from reading the SAGE reference manual (on p.247) it says: gif(self, [delay=20], ) This function will work only if the Imagemagick command line tool is installed

[sage-support] Re: delay in animation

2008-04-15 Thread Hector Villafuerte
On Tue, Apr 15, 2008 at 9:46 AM, pong <[EMAIL PROTECTED]> wrote: > > I have installed the Imagemagick package and (I guess) it's in the > path since the window command prompt understand the convert function. > However, I still couldn't get SAGE to recognize the 'gif' command > ( SAGE ref. p260

[sage-support] Re: delay in animation

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 8:46 AM, pong <[EMAIL PROTECTED]> wrote: > > I have installed the Imagemagick package and (I guess) it's in the > path since the window command prompt understand the convert function. > However, I still couldn't get SAGE to recognize the 'gif' command > ( SAGE ref. p260

[sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 2:09 PM, alex clemesha <[EMAIL PROTECTED]> wrote: > > > On Tue, Apr 15, 2008 at 1:06 PM, William Stein <[EMAIL PROTECTED]> wrote: > > > > On Tue, Apr 15, 2008 at 4:56 AM, Jason Grout > > <[EMAIL PROTECTED]> wrote: > > > > > > > > mabshoff wrote: > > > > > >

[sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread alex clemesha
On Tue, Apr 15, 2008 at 1:06 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 15, 2008 at 4:56 AM, Jason Grout > <[EMAIL PROTECTED]> wrote: > > > > > mabshoff wrote: > > > > > > > > > On Apr 14, 10:20 pm, "dean moore" <[EMAIL PROTECTED]> wrote: > > >> The site at

[sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 4:56 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > mabshoff wrote: > > > > > > On Apr 14, 10:20 pm, "dean moore" <[EMAIL PROTECTED]> wrote: > >> The site at has done this awhile: the site's > >> security certificate expired on February 19, >

[sage-support] Re: Doctest question

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 12:46 PM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > > William Stein wrote: > > On Tue, Apr 15, 2008 at 9:11 AM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > > > >> Hello all, > >> > >> Regarding doctesting, I'd like to work with the following setup: > >> 1. Create

[sage-support] Re: Doctest question

2008-04-15 Thread Jason Bandlow
William Stein wrote: > On Tue, Apr 15, 2008 at 9:11 AM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > >> Hello all, >> >> Regarding doctesting, I'd like to work with the following setup: >> 1. Create a file work.sage (or work.py) somewhere in my home directory. >> 2. Start a notebook session,

[sage-support] Re: Doctest question

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 9:11 AM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > > Hello all, > > Regarding doctesting, I'd like to work with the following setup: > 1. Create a file work.sage (or work.py) somewhere in my home directory. > 2. Start a notebook session, and attach work.sage. > 3. Use

[sage-support] Re: class question: addition in an Algebra

2008-04-15 Thread John H Palmieri
On Apr 14, 9:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 1:21 PM, John Palmieri <[EMAIL PROTECTED]> wrote: > > > I'm trying to define a class based on Algebra, and I'm having > > problems. I think the issue is that I don't understand how coercion > > is suppose

[sage-support] Re: partially evaluate expression numerically?

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 11:22 AM, Reckoner <[EMAIL PROTECTED]> wrote: > > > Suppose I have something like: > > sage: x,y,z=var('x y z') > sage: eq = cos(x)*sin(y)*tan(x) > > and I want to substitute a value for x, say, x=5. Then, > I would have > > eq = cos(5)*sin(y)*tan(5) > > which is wha

[sage-support] partially evaluate expression numerically?

2008-04-15 Thread Reckoner
Suppose I have something like: sage: x,y,z=var('x y z') sage: eq = cos(x)*sin(y)*tan(x) and I want to substitute a value for x, say, x=5. Then, I would have eq = cos(5)*sin(y)*tan(5) which is what I get when I do .substitute() in sage. However, I want this partially numerically evaluated to o

[sage-support] Fwd: [sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread William Stein
>From the UW sysadmin (in case he wasn't able to post to sage-support): -- Forwarded message -- From: Steve Sheetz <[EMAIL PROTECTED]> Date: Tue, Apr 15, 2008 at 8:48 AM Subject: Re: [sage-support] Re: Expired security certificate, < https://www.sagenb.org/ > To: William Stein <[

[sage-support] Re: Doctest question

2008-04-15 Thread William Stein
We're now tracking this issue as a blocker against Sage-3.0: http://trac.sagemath.org/sage_trac/ticket/2934 On Tue, Apr 15, 2008 at 9:44 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 15, 2008 at 9:11 AM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > > > > Hello all, > > > > Reg

[sage-support] Re: Doctest question

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 9:11 AM, Jason Bandlow <[EMAIL PROTECTED]> wrote: > > Hello all, > > Regarding doctesting, I'd like to work with the following setup: > 1. Create a file work.sage (or work.py) somewhere in my home directory. > 2. Start a notebook session, and attach work.sage. > 3. Use

[sage-support] Doctest question

2008-04-15 Thread Jason Bandlow
Hello all, Regarding doctesting, I'd like to work with the following setup: 1. Create a file work.sage (or work.py) somewhere in my home directory. 2. Start a notebook session, and attach work.sage. 3. Use the notebook for generating and staring at data, while using a text editor to modify my co

[sage-support] Re: Fwd: fourier series

2008-04-15 Thread David Joyner
Here is an example: sage: f = lambda x:x^2 sage: f = Piecewise([[(-1,1),f]]) sage: x = var("x") sage: n = var("n") sage: f.fourier_series_cosine_coefficient(n,1) ((2*pi^2*n^2 - 4)*sin(pi*n) + 4*pi*n*cos(pi*n))/(pi^3*n^3) sage: maxima.eval('declare(n,integer)') 'done' sage: f.fourier_series_cosine

[sage-support] delay in animation

2008-04-15 Thread pong
I have installed the Imagemagick package and (I guess) it's in the path since the window command prompt understand the convert function. However, I still couldn't get SAGE to recognize the 'gif' command ( SAGE ref. p260) I want to slow down an animation by using the 'delay' option in gif. Could

[sage-support] Re: Function substitution

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 3:35 AM, Pablo <[EMAIL PROTECTED]> wrote: > > Hi, > > I have the following piece of code : > > function('f',x) > function('g',x) > equation1 = (f(x) + g(x) == x^3) > equation2 = (f(x) == x^3) > substitutions = {f: log, g:exp} > > > > Then I would like to substitute

[sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 4:56 AM, Jason Grout <[EMAIL PROTECTED]> wrote: > > mabshoff wrote: > > > > > > On Apr 14, 10:20 pm, "dean moore" <[EMAIL PROTECTED]> wrote: > >> The site at has done this awhile: the site's > >> security certificate expired on February 19, >

[sage-support] Re: how to recompile sage pyx when using the binary

2008-04-15 Thread Ondrej Certik
On Tue, Apr 15, 2008 at 3:54 PM, William Stein <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 15, 2008 at 6:33 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > a very beginner question, if I change some .pyx files and want them to > > be recompiled, I thought I need to do "

[sage-support] Re: how to recompile sage pyx when using the binary

2008-04-15 Thread William Stein
On Tue, Apr 15, 2008 at 6:33 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > Hi, > > a very beginner question, if I change some .pyx files and want them to > be recompiled, I thought I need to do "sage -b", like this: > > $ ./sage -b > > --

[sage-support] Re: how to recompile sage pyx when using the binary

2008-04-15 Thread didier deshommes
On Tue, Apr 15, 2008 at 9:33 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > > Hi, > > a very beginner question, if I change some .pyx files and want them to > be recompiled, I thought I need to do "sage -b", like this: > > $ ./sage -b > > --

[sage-support] how to recompile sage pyx when using the binary

2008-04-15 Thread Ondrej Certik
Hi, a very beginner question, if I change some .pyx files and want them to be recompiled, I thought I need to do "sage -b", like this: $ ./sage -b -- sage: Building and installing modified SAGE library files. Installing c_lib scons: `ins

[sage-support] Re: Expired security certificate, < https://www.sagenb.org/ >

2008-04-15 Thread Jason Grout
mabshoff wrote: > > > On Apr 14, 10:20 pm, "dean moore" <[EMAIL PROTECTED]> wrote: >> The site at has done this awhile: the site's >> security certificate expired on February 19, >> 2008 at 10:22 PM (see image). >> >> Just FYI. >> >> Dean > > Hi Dean, > > this is #235

[sage-support] Re: Fwd: fourier series

2008-04-15 Thread David Joyner
The module piecewise.py has fairly extensive functionality for the computation of Fourier series of piecewise defined periodic functions. It even allows filters. There are examples at http://www.sagemath.org/doc/html/const/node12.html http://www.sagemath.org/hg/sage-main/file/cc1e12a492fc/sage/fun

[sage-support] Function substitution

2008-04-15 Thread Pablo
Hi, I have the following piece of code : function('f',x) function('g',x) equation1 = (f(x) + g(x) == x^3) equation2 = (f(x) == x^3) substitutions = {f: log, g:exp} Then I would like to substitute variables in the equations : equation1.substitute(substitutions) -> log(x) + exp(x) = x^3 eq