[Maxima] Newbie question: Howto remove only first element from a list
al at beshenov.ru
Fri Apr 25 09:40:18 CDT 2008
On Friday 25 April 2008 18:31, Raymond Toy wrote:
> (%i3) ? rest
> -- Function: rest (<expr>)
> Returns <expr> with its first <n> elements removed if <n> is
> positive and its last `- <n>' elements removed if <n> is negative.
> If <n> is 1 it may be omitted. <expr> may be a list, matrix, or
> other expression.
> I think it would be better to say something like
> -- Function: rest (<expr>[, <n>])
> to make it clear that there's an optional argument allowed.
As for Maxima 5.14.0, it prints (as expected)
-- Function: rest (<expr>, <n>)
-- Function: rest (<expr>)
Returns <expr> with its first <n> elements removed...
Alexey Beshenov <al at beshenov.ru>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20080425/1d62dd28/attachment.pgp
More information about the Maxima