Once downloaded, typewrite 'help isprime_optimus' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the files, not to just copy and paste them.
Input
- u : a vector of integers sorted in ascending order.
Output
- is_prime : logical vector, result of u primality test. size(is_prime) = size(u).
Please don't forget to rate if this code helped you. Thanks ! ;-)
인용 양식
Nicolas Douillet (2024). Isprime optimus [FAST] (https://www.mathworks.com/matlabcentral/fileexchange/156359-isprime-optimus-fast), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2019b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!