tight prime generator

버전 1.0.0.0 (1.09 KB) 작성자: Bud Kelly
A small piece of code that generates primes to n, pretty fast too.
다운로드 수: 20
업데이트 날짜: 2018/4/1

라이선스 보기

Just enter a number for searchlimit in the source code. Then run it. On my old Macbook Pro, it takes only 0.112 seconds to list the primes to 10,000. That's not the fastest possible method, but pretty clean and quick. And easy to read and understand. Handy, and only about ten lines of code including tic and toc.

인용 양식

Bud Kelly (2024). tight prime generator (https://www.mathworks.com/matlabcentral/fileexchange/66708-tight-prime-generator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Guidance, Navigation, and Control (GNC)에 대해 자세히 알아보기

Community Treasure Hunt

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

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