searches for all primes up to input "max". I have optimized this as much as I can. Any suggestions on how to increase performance will be appreciated. Looking to get to 1B faster. estimated it would take around 2 hrs on my machine
Cita come
alexander (2024). Prime numbers (https://www.mathworks.com/matlabcentral/fileexchange/62280-prime-numbers), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Direct Search in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | added prime tag |