Table of Contents

Method RandShuffle

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

RandShuffle(InputOutputArray, double)

shuffles the input array elements

public static void RandShuffle(InputOutputArray dst, double iterFactor)

Parameters

dst InputOutputArray

The input/output numerical 1D array

iterFactor double

The 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

dst InputOutputArray

The input/output numerical 1D array

iterFactor double

The scale factor that determines the number of random swap operations.

rng RNG

The optional random number generator used for shuffling. If it is null, theRng() is used instead.