As far as I know, there never has been a function 'range' in Maxima that
creates
a list of numbers. There is a function 'range' in the descriptive package
that
finds the difference between the extreme values in a list or matrix (try ?
range).
There is a simplifying infix function ".." in share/contrib that might
creates lists
(%i1) load("integer_sequence")$
(%i2) 1 .. 10;
(%o2) [1,2,3,4,5,6,7,8,9,10]
Step by 2
(%i3) 1 .. 2 .. 10;
(%o3) [1,3,5,7,9]
(%i4) a .. (a + 8);
(%o4) [a,a+1,a+2,a+3,a+4,a+5,a+6,a+7,a+8]
(%i5) a .. b;
(%o5) a( .. )b
(%i7) subst([a=1,b=5],%);
(%o7) [1,2,3,4,5]
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>i?was?checking?some?exercises?from?last?year?notes?on?maxima?and?it
>seems?that?the?command?range?no?longer?works.?range(1,100)?use?to
>produce?a?list?like?makelist(n,n,1,100).?I?assume?that?it?is
>deprecated?but?i?haven't?found?any?notice?in??the?changelogs?of
>versions?5.17?or??5.18.??Can?anyone?confirm?that?is?it?deprecated?and
>when?.?Thank?you.
>
>-------------------------------------
>Jer?nimo?Alaminos
>