Method RandShuffle
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
RandShuffle(InputOutputArray, double)
shuffles the input array elements
public static void RandShuffle(InputOutputArray dst, double iterFactor)
Parameters
dstInputOutputArrayThe input/output numerical 1D array
iterFactordoubleThe scale factor that determines the number of random swap operations.
RandShuffle(InputOutputArray, double, ref RNG)
shuffles the input array elements
public static void RandShuffle(InputOutputArray dst, double iterFactor, ref RNG rng)
Parameters
dstInputOutputArrayThe input/output numerical 1D array
iterFactordoubleThe scale factor that determines the number of random swap operations.
rngRNGThe optional random number generator used for shuffling. If it is null, theRng() is used instead.