subsop modifies an element in a list.
subsop takes as argument a list and an equality (an index=a new
value) in all syntax modes, but in Maple syntax mode
the order of the arguments is reversed.
Remark If the second argument is ’k=NULL’, the element of index
k is removed of the list.
Input in Xcas mode (the index of the first element is 0):
or:
Output:
Input in Xcas mode (the index of the first element is 0):
Output:
Input in Mupad TI mode (the index of the first element is 1):
or:
Output:
In Maple mode the arguments are permuted and the index of
the first element is 1.
Input:
or:
Output: