Take the index of a variable in Maple.

174 Views Asked by At

Are there some functions in Maple which can take the index of a variable. For example, we define are there some functions f in Maple such that f(x[2,3]) = [2,3]? Thank you very much.

1

There are 1 best solutions below

0
On BEST ANSWER
f:= x-> `if`(x::indexed, [op(x)], [][]);