[sage-support] Re: side-effect when evaluating a function

2009-07-25 Thread pca
GREAT ! Thanks for the amazing support ! I have just used Sage for one day, and I was disappointed by this side- effect. But with such an outstanding support, I'm now convinced it's the tool to use ! PC On 25 juil, 22:07, William Stein wrote: > On Sat, Jul 25, 2009 at 12:31 PM, pca wrote: > >

[sage-support] Re: side-effect when evaluating a function

2009-07-25 Thread William Stein
On Sat, Jul 25, 2009 at 12:31 PM, pca wrote: > > Dear all, > > I have been puzzled, and annoyed, by an unexpected side-effect.  It > can be demonstrated in the notebook by the following example.  It > models the speed as distance / time, then solve for the distance, then > evaluate the distance wi

[sage-support] Re: side-effect when evaluating a function

2009-07-25 Thread pca
Thank you for your quick answer, Minh. Although it would give the correct answer, it does not satisfy my wish to distinguish constants from parameters. In my engineering pblm, I have a set of several constants that I use in many statements, and I wish to keep them together nicely, and use them in

[sage-support] Re: side-effect when evaluating a function

2009-07-25 Thread Minh Nguyen
Hi Pierre, On Sun, Jul 26, 2009 at 5:31 AM, pca wrote: > > Dear all, > > I have been puzzled, and annoyed, by an unexpected side-effect. It > can be demonstrated in the notebook by the following example. It > models the speed as distance / time, then solve for the distance, then > evaluate the