MT Permute

Changes the position of input data elements based on values specified in the permutation array.

1378

Inputs/Outputs

datatype_icon

data in

The input data to be permuted. The data samples are rearranged into new locations as defined by the permutation array.

datatype_icon

permutation array

An array whose elements define the location of the samples in the output data.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

reset?

A Boolean that determines how this node handles buffered data.

TRUE Clears the buffered data, checks input parameters on a first call, and reflects any change in the input parameter values during subsequent iterations.
FALSE Adds the buffered data to the beginning of the data for the next iteration.

Default value: TRUE

datatype_icon

data out

The permuted data returned by this node. The permuted data is typically passed through MT DePermute to retrieve the original data.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Theoretical Example of the Permutation Operation

The following is a theoretical example of the permutation operation.

If the data in array is 7,13,17,9,2, and the permutation array is 3,2,4,0,1, the data out array would be 9,21,13,7,17, as illustrated in the following figure.

1378