Random derangement

バージョン 1.0.1 (2.14 KB) 作成者: Bruno Luong
Generate sequences of random derangement
ダウンロード: 39
更新 2021/3/1

ライセンスの表示

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.

引用

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

MATLAB リリースの互換性
作成: R2020b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.1

Speed optimization

1.0.0