A note on extended Euclid's algorithm
Hing Leung

TL;DR
This paper systematically transforms the recursive extended Euclid's algorithm into an iterative form using matrix notation, providing an elegant correctness proof and connecting the two versions.
Contribution
It introduces a systematic matrix-based approach to convert recursive algorithms into iterative ones, with a clear correctness proof.
Findings
Successful transformation of recursive to iterative algorithm
Elegant partial correctness proof derived from the transformation
Establishes a clear connection between recursive and iterative Euclid's algorithms
Abstract
Starting with the recursive extended Euclid's algorithm, we apply a systematic approach using matrix notation to transform it into an iterative algorithm. The partial correctness proof derived from the transformation turns out to be very elegant, and easy to follow. The paper provides a connection between recursive and iterative versions of extended Euclid's algorithm.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural Networks and Applications · Advanced Computational Techniques and Applications · Fuzzy Logic and Control Systems
