6
$\begingroup$

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

Thanks!

$\endgroup$
4

1 Answer 1

7
$\begingroup$

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.

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.