We could implement s command named Table. You might say, wouldn't
Mathematica sue us?
Uh, when we sue them for using % for the last expression?
We could even have an optional argument like
Type=list
Type=array
Type=sparse_array or hashtable
Type=vector
Type=matrix
RJF
So the idea is
> -----Original Message-----
> From: Kostas Oikonomou [mailto:ko at research.att.com]
> Sent: Monday, April 09, 2007 7:28 AM
> To: fateman at cs.berkeley.edu
> Cc: 'Stavros Macrakis'; 'Robert Dodier'; 'Maxima'
> Subject: Re: [Maxima] makelist vs create_list
>
> I vote for the Mathematica notation, with [...] in place of
> {...}.
>
> Kostas
>
> Richard Fateman wrote:
> > Notation for this concept in Mathematica is embodied in the
> Table[] command.
> >
> > ? Table[expr, {k}] generates a list of k copies of expr.
> > ? Table[expr, {i, k}] generates a list of the values of
> expr when i runs from 1 to k.
> > ? Table[expr, {i, a, b}] starts with i = a.
> > ? Table[expr, {i, a, b, s}] uses steps s.
> > ? Table[expr, {i, a, b}, {j, c, d}, . ] gives a nested
> list. The list associated with i is outermost.
>
>
>