chickadee » srfi-194 » make-random-rectangular-generator

make-random-rectangular-generator real-lower-bound real-upper-bound imaginary-lower-bound imag-upper-boundprocedure

Returns a generator that generates inexact complex numbers uniformly. The procedure returns complex numbers in a rectangle whose real part is between real-lower-bound and real-upper-bound (both inclusive), and whose imaginary part is between imag-lower-bound and imag-upper-bound (both inclusive). It is an error if either of the specified intervals is empty.