devine.mac - generating functions



Hi,

the devine.mac from

  http://www.mat.univie.ac.at/~rubey/Maxima/devine.mac

does not work in maxima 5.9.2 because maxima 5.9.2 is case sensitive.
To make it work change line 187 to

  mat : ev(mat . varlist, scalarmatrixp : false),

and line 240 to

      g : make_array('any, maxlevel + 1),

With these changes I get:

 (%i2) guess([1,2,3]);
 (%o2) [i0]

HTH,
Andrej

On 3/4/06, Senya <senya72 at yahoo.com> wrote:
>
> i am wondering if anybody ever used user-contributed package devine.mac
> which is guessing closed form of generating functions
>
> i had tried to load it into maxima 5.9.2 and get tons of various errors
> like this
> (dbm:3) guess([1,2,3]);
> Inconsistent equations:  (1)
>  -- an error.  Entering the Maxima Debugger
> dbmrationalinterpolation(xlist=[1],ylist=[2],x=x,m=0,k=0)(devine.mac
> line 190)
> C:/work/devine.mac:190::
>
>
>  ________________________________
> Relax. Yahoo! Mail virus scanning helps detect nasty viruses!
>
>