Sample from a Cauchy distribution with location 0 and scale 1.
Uses inverse transform sampling: x = tan(π * (u - 0.5)) where u ~ Uniform(0, 1).
x = tan(π * (u - 0.5))
Sample from a Cauchy distribution with location 0 and scale 1.
Uses inverse transform sampling:
x = tan(π * (u - 0.5))where u ~ Uniform(0, 1).