randShuffle 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
Mat randShuffle(
InputOutputArray dst, {
double iterFactor = 1,
Rng? rng,
}) {
if (rng == null) {
cvRun(() => cffi.RandShuffle(dst.ref));
} else {
cvRun(() => cffi.RandShuffleWithParams(dst.ref, iterFactor, rng.ref));
}
return dst;
}