RoundQCF.m

RoundQCF(d,u,v) returns the "round" continued fraction expansion of (u+sqrt(d))/v.
1.9K Downloads
Updated 1 Oct 2004

No License

RoundQCF(d,u,v,quiet) returns the "round" continued fraction expansion of (u+sqrt(d))/v, where u and d are Gaussian integers and v is an ordinary positive integer. It also
returns the round rational convergents
as well as the coefficients u(k) and
v(k) of the recipricols of the remainders x(k) = (u(k)+sqrt(d))/v(k).

Cite As

David Terr (2026). RoundQCF.m (https://in.mathworks.com/matlabcentral/fileexchange/5525-roundqcf-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0.0

I fixed the quiet option.