[Solved] Change two different parts in a table according to the same random value

This answer has the “I did it at work without Mathematica to check my syntax” advisory on it @belisarius’ answer works perfectly well, is more elegant, and is almost certainly more efficient than mine. But you might find an alternative that is easier for you to understand using the ArrayFlatten command (documentation) or the Join … Read more