[Maxima] bug in trigsimp?
fateman at cs.berkeley.edu
Wed Mar 11 07:36:29 CDT 2009
Probably this is a much deeper problem having to do with declarations,
binding of parameters, scope..
presumably there is a definition trigsimp(x):= ...
which is incompatible with your declare().
But if the name x were not used, but something more obscure like
then it would conflict with declare(_xx_, constant).
Should binding of x create a "new" x with different properties (like
I think this gets us into a debate known as the Lisp-1 vs Lisp-2
In the short term, don't declare x to be a constant.
Robert Marik wrote:
> Hello, is this a bug in trigsimp?
> Robert Marik
> Maxima 5.17.1 http://maxima.sourceforge.net
> Using Lisp CLISP 2.44.1 (2008-02-23)
> Distributed under the GNU Public License. See the file COPYING.
> Dedicated to the memory of William Schelter.
> The function bug_report() provides bug reporting information.
> (%i1) declare(x,constant);
> (%o1) done
> (%i2) trigsimp(y);
> Improper parameter in function definition for trigsimp:
> #0: trigsimp(?_l=[y])(trgsmp.mac line 70)
> -- an error. To debug this try debugmode(true);
> Maxima mailing list
> Maxima at math.utexas.edu
More information about the Maxima