Features or bugs?



This side effect is really annoying. 

Is there any alternative to this behaviour ???


I must use an alternative to 


kill(all);

??

This  behaviour has to be changed !

Daniel


On Mon, 6 Dec 2004 11:32:09 -0500, Viktor T. Toth <vttoth@vttoth.com> wrote:
> Daniel,
> 
> Actually, the first mystery happens because of this:
> 
> (%i1) get(sin,'type);
> 
> (%o1)                            trigonometric
> (%i2) kill(all);
> 
> (%o0)                                done
> (%i1) get(sin,'type);
> 
> (%o1)                                false
> 
> There are several other properties set by trgsmp that are "forgotten" when a
> kill(all) is executed. I'm just not sure if this is an expected side effect
> of 'kill(all)' or a bug.
> 
> 
> Viktor
> 
> 
> 
> 
> -----Original Message-----
> From: Daniel Martins [mailto:danielemc at gmail]
> Sent: Monday, December 06, 2004 11:14 AM
> To: Viktor T. Toth
> Cc: maxima@math.utexas.edu
> Subject: Re: [Maxima] Features or bugs?
> 
> The first mystery is old and really intriguing and sometimes we cannot
> simplify e.g. the product of rotation matrices due to this quite
> randomic bahaviour
> 
> Differently from you I dont know why this happens!
> Daniel
> 
> On Sat, 4 Dec 2004 18:18:37 -0500, Viktor T. Toth <vttoth@vttoth.com> wrote:
> > Some minor mysteries:
> >
> > 1. I think I know why this happens, but should it be happening?
> >
> > (%i1) trigsimp(sin(x)^2+cos(x)^2);
> >
> > (%o1)                                  1
> > (%i2) kill(all);
> >
> > (%o0)                                done
> > (%i1) trigsimp(sin(x)^2+cos(x)^2);
> >
> >                                   2         2
> > (%o1)                          sin (x) + cos (x)
> >
> > 2. This is cosmetic only, but can be annoying, e.g., when creating demos:
> > When a "string" (yes, I know MAXIMA doesn't really have strings, hence the
> > quotes) containing a linefeed is barfed back, it becomes double spaced. Is
> > this intentional?
> >
> > (%i2) "This is a ...
> > ... two line string.";
> >
> > (%o2) This is a ...
> >
> > ... two line string.
> >
> > Viktor
> >
> > _______________________________________________
> > Maxima mailing list
> > Maxima@www.math.utexas.edu
> > http://www.math.utexas.edu/mailman/listinfo/maxima
> >
> 
>