Skip to main content

Questions tagged [side-effect]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers

Order of Map[] evaluation [duplicate]

Does f /@ list evaluate the f's in any particular order? For example, does it evaluate f on ...
tparker's user avatar
  • 1,856
3 votes
1 answer

Using HoldFirst at the same time as Apply

I have some code which pops the first number from a list, displays that number, and updates the list: ...
JohnF's user avatar
  • 85
0 votes
0 answers

How to determine side-effects in parallel computation? Possibly associated to Kernel not closing reliably

I have written a bunch of code to simulate some measurements. To speed things up, I intended to obtain the measurement values via a ParallelTable. However, it turns ...
Lukas's user avatar
  • 2,702
1 vote
2 answers

How to parallelize this code?

Initialize a matrix a with value of $\alpha$ in central cell as "ice", and $\beta$ in every other cell. ...
haijiaxuan's user avatar
9 votes
1 answer

Checking the argument of user-defined function with side-effect method

Today, I answered a question of mine that asked two month ago. Please see here Now I would like to add the argument checking in this function. Then I used a method that Mr.Wizard answered ...
xyz's user avatar
  • 625