Linked Questions

1 vote
1 answer
301 views

direct assignment to the element in a Table

I have already asked a related question here why set values in this way doesn't work? But I think I have to write the question which I encountered explicitly? ...
matheorem's user avatar
  • 17.1k
4 votes
2 answers
260 views

why set values in this way doesn't work?

question is as follows define a list ttt={1,2}; and if I set values in this way {ttt[[1]],ttt[[2]]}={3,4} then the value ...
matheorem's user avatar
  • 17.1k
1 vote
2 answers
203 views

Why does Evaluate[a[[1]]]=0 assign a value to a variable while a[[1]]=0 doesn't?

I'm trying to do a small page counter with Mathematica, for leting me know about my reading progress on some books. I'm stuck on a problem: ...
Red Banana's user avatar
  • 5,329
16 votes
3 answers
9k views

Assigning values to a list of variable names

As part of a calculation I need to do something like this Evaluate[{aaa, bbb, ccc}[[ index]]] = {1, 2, 3, 4, 5} so if index is ...
BlueMac's user avatar
  • 711
53 votes
2 answers
2k views

Head and everything except Head?

I have been working on picking expressions apart using Head and Part and encountered a little mystery. Consider the canonical ...
Reb.Cabin's user avatar
  • 8,661
49 votes
5 answers
5k views

How to create symbols from strings and set values for them?

I am trying to convert a list of string names into symbols, which will then be used to store data. I have 24 files (where the name of each file is a member of the list mentioned above) that I need to ...
Todd Allen's user avatar
  • 2,124
23 votes
5 answers
1k views

Reassign values to symbols

I've got a situation where I have, say 4 symbols, a, b, c and ...
Mitchell Kaplan's user avatar
602 votes
19 answers
156k views

Where can I find examples of good Mathematica programming practice?

I consider myself a pretty good Mathematica programmer, but I'm always looking out for ways to either improve my way of doing things in Mathematica, or to see if there's something nifty that I haven't ...

15 30 50 per page
1 2
3