What is Nostr?
Dan Piponi /
npub1xs3…grae
2024-05-23 00:33:04

Dan Piponi on Nostr: Given a random number generator that generates points uniformly in the unit interval ...

Given a random number generator that generates points uniformly in the unit interval [0,1] can you generate uniformly distributed points in the unit circle using only algebraic functions? In a finite number of steps - so no rejection sampling, loops, recursion. No "almost always" finite either.

Just wondering about sitiations where it seems you can't avoid trig functions.
Author Public Key
npub1xs30e0pj7velktf5sxewnqf93tu2pdt3s6wtl6fug2tzgy8zxthsgfgrae