Back to Adaptive Vision Library website
You are here: Start » Function Reference » Random » ShuffleArray
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
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.