Are there any good alternatives to using subscripts to keep track of and uniquely identify many variables? I know that subscripted variables behave badly.



An alternative to subscripts as indices...

Instead of:

{Subscript[x, 1], Subscript[x, 2]}

Let's use:

x[1], x[2]

And this can be generalized to:

Subscript[x, i, j] --> x[i,j]

This will uniquely identify any number of variables to any dimension.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.