Random derangement

Version 1.0.1 (2,14 KB) von Bruno Luong
Generate sequences of random derangement
40 Downloads
Aktualisiert 1 Mär 2021

Lizenz anzeigen

A derangement is a permutation of the elements of a set, such that no element appears in its original position.

The code use non rejection method for better predictable runtime.

Zitieren als

Bruno Luong (2024). Random derangement (https://www.mathworks.com/matlabcentral/fileexchange/87994-random-derangement), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2020b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

Speed optimization

1.0.0