2 modify - modify a list or matrix by changing the values of its elements
8 x lvalue with list or matrix value
14 For modify(x, y), y is to be the name fname of a user-defined function.
15 The value of each element of x is replaced by the value of the
16 function at that value, i.e. if fname = "f", the value of x[[i]]
17 is changed to f(x[[i]]).
19 As the name indicates, modify(x) usually changes x values of elements
20 in x. To obtain a modified copy of x without changing values in x,
21 one may xmod = x; modify(xmod, y) or more simply (xmod = x, y).
29 list (3 elements, 3 nonzero):