I was reading about the prime test algorithm and found the AKS primality test. Could this algorithm be implemented in Scheme or in C++?
Has anyone tried implementing the AKS test?
I was reading about the prime test algorithm and found the AKS primality test. Could this algorithm be implemented in Scheme or in C++?
Has anyone tried implementing the AKS test?
Scheme and C++ (and Racket and Pascal and Logo and Modula-3 and Postscript) are all Turing equivalent, meaning that they can all be used to simulate each other, and hence that they can all compute the same things.
So: yes, you can implement this in Scheme. Or any other Turing-complete language.
Of course it can. Google helps here.
Yep, here is some documentation: http://ece.gmu.edu%2Fcourses%2FECE746%2Fproject%2FF06_Project_resources%2FSalembier_Southerington_AKS.pdf
© 2022 - 2024 — McMap. All rights reserved.