function argument overwriitten?



On Fri, May 22, 2009 at 10:15 AM, Stefano Ferri <ferriste at gmail.com> wrote:

> (%i2) f(v):=block([t],t:copylist(v),t[1]:99,t);

> If you rinput is a matrix, use copymatrix instead.

copy(v) copies all kinds of expressions.
Not sure why there exist copylist and copymatrix;
probably just a historical accident.

best

Robert Dodier