randShuffleAsync function
RandShuffle Shuffles the array elements randomly.
For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga6a789c8a5cb56c6dd62506179808f763
Implementation
Future<Mat> randShuffleAsync(
InputOutputArray dst, {
double iterFactor = 1,
Rng? rng,
}) async =>
cvRunAsync0(
(callback) => rng == null
? cffi.RandShuffle_Async(dst.ref, callback)
: cffi.RandShuffleWithParams_Async(dst.ref, iterFactor, rng.ref, callback),
(c) => c.complete(dst),
);