Welcome to our Support Center

Shuffle array

Description

Rearranges the elements of an array in a pseudorandom order.

 

Input parameters

 

array : class, specifies the n-dimensional tensor with elements that you want to shuffle.

Output parameters

 

shuffled array : class, returns a shuffled version of the tensor.

Example

All these exemples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install PERRINE library to run it).

Shuffle 1D Array

Shuffle 2D Array

Shuffle 3D Array

Table of Contents
Index