# Tagged Questions

43 views

### Sampling from the diamond: $|x_1|+\ldots+|x_n| \le 1$?

Let $\left(x_1, \ldots, x_n \right)$ be a point in $\mathbb R^n$. Sample uniformly at random from the diamond $$|x_1|+\ldots+|x_n| \le 1.$$ In $\mathbb R^2$, one way is to sample the square, then ...
46 views

### Non-uniform sampling of N-sphere

Suppose I have a unit $N$-sphere from which I want to draw points at random. To obtain uniformly distributed points I do the usual technique of drawing $N$ random variables $x_i$ from a Gaussian ...
22 views

### Sampling on Axis-Aligned Spherical Quad

Given spherical coordinates on a unit sphere, imagine a spherical quad defined by two ranges $[\phi_0,\phi_1]$ and $[\theta_0,\theta_1]$. If you have a globe, for example, the grid formed by the ...
80 views

### Sample uniform direction within cone

My question is pretty much the same as this question below, however I came up with a potential solution to this problem that I didn't see an answer to in the other question and I was wondering if it ...
8 views

### Uniform sampling from part of sphere surface

I'd like to pose a question about uniform sampling on the surface of a sphere. I searched this site, and uniform sampling on a sphere surface seems to be quite a common problem. The common solution ...
I have the equation of a plane $ax+bx+cx+d$ and a point $(x_0, y_0, z_0)$ on that plane. I defined the neighborhood of that point on that plane as the set of points satisfying $(x-x_0)^2 + (y-y_0)^2 ... 0answers 37 views ### Sphere on a grid So, this is a little tricky kind of a question and I'm not totally sure if it's a mathematic question or a more programming one, but I nevertheless hope to find answers. I want to find out the error ... 0answers 40 views ### Uniformly sample points over a circular patch of a sphere without rejection [duplicate] Possible Duplicate: Generate a random direction within a cone A point on a unit sphere$(x,y,z)$and an maximal angular separation$\theta$defines a patch with an area of$\Omega = 2 \pi ...
Let $K$ be a bounded convex body in $\mathbb{R}^n$. Suppose we have a sampler $\mathcal{S}_1$ that can generate points uniformly distributed in $\mathrm{int}K$, and another sampler $\mathcal{S}_2$ ...