I'm a newbie in Maple, but as far as I read so far this does not seem to be a trivial question.
I have a very large symbolic expression in Maple, where several terms in the form
appear, with i = 1, ... , 5 and j = 1, ..., 5. This means that there will appear , , , ..., . For each possible combination (i,j) of powers, I would like to have a separate variable whose name depends on those powers, e.g., m_ij.
Is there a way to do that in a single-line definition, without explicitly define 25 different variables?
If this is not possible, assuming I define all 25 variables I need in advance, would it be possible substitute them in my large expression, wherever they occur? E.g., assuming to have the following expressions
I would like to get the following
Thank you in advance for your replies!