Back to FabImage Library website
You are here: Start » Function Reference » Basic » Random » ShuffleArray
Header: | STD.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Creates an array by setting input array values in the random positions.
Syntax
void fil::ShuffleArray ( const ftl::Array<Type>& inArray, ftl::Optional<int> inSeed, ftl::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.