Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on the use or manipulation of Mathematica variables (i.e. names associated with a changeable value). Use [variable-definitions] or [assignment] for questions on variable context localization, or assignment.
6
votes
1
answer
397
views
An alternative to subscripts?
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!
7
votes
Accepted
An alternative to subscripts?
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 uniquel …