Subject: eivals errors with "part: fell off the end"
From: andre maute
Date: Mon, 11 Feb 2013 00:42:10 +0100
Hi list,
consider the following code,
---- eivals-bug.mac ----
display2d : false;
load("eigen");
H[i,j] := binomial(i+j-2,j-1);
genmatrix(H,7,7);
eivals(%);
---- eivals-bug.mac ----
which errors with
---- eivals-bug.txt ----
Maxima 5.27.0 http://maxima.sourceforge.net
using Lisp SBCL 1.0.57-1.fc17
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.
STYLE-WARNING: redefining MAXIMA::$FILE_TYPE in DEFUN
(%i1) batch(eivals-bug.mac)
read and interpret file: /home/user/eivals-bug.mac
(%i2) display2d : false
(%o2) false
(%i3) load("eigen")
(%o3) "/home/user/opt/maxima/share/maxima/5.27.0/share/matrix/eigen.mac"
(%i4) H[i,j]:=binomial(-2+j+i,j-1)
(%o4) H[i,j]:=binomial(-2+j+i,j-1)
(%i5) genmatrix(H,7,7)
(%o5) matrix([1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28],
[1,4,10,20,35,56,84],[1,5,15,35,70,126,210],
[1,6,21,56,126,252,462],[1,7,28,84,210,462,924])
(%i6) eivals(%)
part: fell off the end.
-- an error. To debug this try: debugmode(true);
(%o6) "/home/user/eivals-bug.mac"
---- eivals-bug.txt ----
Regards Andre