RNGMgr

버전 1.1.1 (16.7 KB) 작성자: Jeff Miller
A class to facilitate saving RNG seeds when it may be desirable to regenerate the same sequence of random numbers.
다운로드 수: 39
업데이트 날짜: 2019/2/11

라이선스 보기

The basic RNGMgr framework is that there is some iterative process that may be started and stopped multiple times (e.g., start with iteration 1, stop after 100 iterations, restart at iteration 101 and stop at iteration 500, etc). The seed is saved each time the process is (re-)started, so the iterative process can be restarted from that point to regenerate the same RNG sequence if necessary.
To use this class, the user must minimally:
- rngmgr = RNGMgr(FileName) % Give the name of the file for storing RNG states
- Call rngmgr.Iteration at the start of the iteration loop.
- Call rngmgr.Save at the end of the iteration loop.

인용 양식

Jeff Miller (2024). RNGMgr (https://www.mathworks.com/matlabcentral/fileexchange/70259-rngmgr), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Random Number Generation에 대해 자세히 알아보기
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.1.1