lgca.interactions.disarrange¶
- lgca.interactions.disarrange(a, axis=-1)¶
Shuffle a in-place along the given axis.
Apply numpy.random.shuffle to the given axis of a. Each one-dimensional slice is shuffled independently.
THIS IS A LEGACY FUNCTION, USE THE RANDOM WALK FUNCTION INSTEAD FOR A MORE EFFICIENT IMPLEMENTATION!
- Parameters:
a (
ndarray) – The array to shuffleaxis (int, optional, default: -1) – Along which axis to shuffle a. The default is -1, which implies the last axis.