autoloading messages, was: Maxima 5.12.0 rc1 in cvs & SF download
Subject: autoloading messages, was: Maxima 5.12.0 rc1 in cvs & SF download
From: van Nek
Date: Fri, 13 Apr 2007 18:12:15 +0200
Am 13 Apr 2007 um 9:19 hat Robert Dodier geschrieben:
> On 4/13/07, Jaime E. Villate <villate at fe.up.pt> wrote:
>
> > the auto-loading of share packages is very useful, but every time a
> > package is loaded automatically (max_ext.lisp), a warning is shown
> > telling you that a new function has been redefined when in fact
> > that function does not exist in the core of Maxima.
> > Those warnings can become really annoying; for example, you get 105
> > lines of warnings just by computing a simple matrix trace:
> > mat_trace(matrix([1,2],[3,4]));
It was me, who added linearalgebra functions like mat_trace to max_ext.lisp.
I checked this with 5.11 on Windows. It works perfect and also it does now with 5.12rc1.
Maxima 5.11.99rc1 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1) mat_trace(matrix([1,2],[3,4]));
(%o1) 5
No warnings.
It seems that this is depending on the Lisp that Maxima uses.
The functions are autoloaded with the help of some functions from src/autol.lisp, depending
on the kind of function definition (defun, defmspec, defmacro or Maxima level definition by
":=" ).
I would be interested, if all autoloaded functions give warnings or if only some kind of
functions cause this. Can someone please check (sorry, I don't have a Linux system to
check it by myself)
a) trigsimp( sin(x)^2 + cos(x)^2 );
b) resolvante (x, x, x, [x]);
c) ascii(123);
d) printf(true,"Hello, world!");
e) polynomialp( sin(x),[x] );
f) ringeval( crering );
In case b) I also get warnings.
Volker