이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
You can generate random permutations using MATLAB's randperm function. Unfortunately, thius function is quite inefficient since it is implemented by sorting a list of random numbers. This requires time O(n * log(n)).
Using the Knuth shuffle algorithm this operation only takes time O(n). This package implements the Knuth shuffle.
Usage: Simply use randpermquick(n) instead of randperm(n).
Note that the file randpermquick_helper.c has to be compiled before randpermquick can be used.
인용 양식
Joachim Selke (2026). randpermquick (https://kr.mathworks.com/matlabcentral/fileexchange/20192-randpermquick), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0.0 |
