Back to Aurora Vision Library Lite website
You are here: Start » Basic » Random » ShuffleArray
ShuffleArray
Header: | STD.h |
---|---|
Namespace: | avl |
Creates an array by setting input array values in the random positions.
Syntax
void avl::ShuffleArray ( const atl::Array<Type>& inArray, atl::Optional<int> inSeed, atl::Array<Type>& outArray )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inArray | const Array<Type>& | Array to shuffle | ||
inSeed | Optional<int> | NIL | Random seed used to generate values | |
outArray | Array<Type>& |
Remarks
This filter should not be used for generating cryptographically secure random numbers.