Maxima/Ecl on 32-bit machine cannot evaluate "apply(union, listify({{..}}))"
Subject: Maxima/Ecl on 32-bit machine cannot evaluate "apply(union, listify({{..}}))"
From: Stavros Macrakis
Date: Mon, 1 Sep 2008 11:17:51 -0400
On Mon, Sep 1, 2008 at 8:59 AM, Oliver Kullmann <O.Kullmann at swansea.ac.uk>wrote:
> On Sun, Aug 31, 2008 at 04:36:53PM -0600, Robert Dodier wrote:
> > On 8/31/08, Oliver Kullmann <O.Kullmann at swansea.ac.uk> wrote:
> >
> >
> apply(union,listify({{-6,-5,-4,-3,-2,-1},{-6,-5,-4,-3,-2,1},{-6,-5,-4,-3,-1,2},{-6,-5,-4,-3,1,2},{-6,-5,-4,-2,-1,3},...
>
>
> Function union expects a set, instead found union
> -- an error. To debug this try debugmode(true);
>
> I don't believe it has (directly) to do with some restriction on argument
> length,
> since I tried much bigger unions, and they all succeed.
>
Please try
for N step 10 thru 5000 do (print(N), apply(union,
makelist({},i,1,N)));
and let us know what it prints. How exactly did you try much bigger
unions? It is important to know exactly what code you used.
-s