# Thread: projection onto a convex set

1. ## projection onto a convex set

Hi,
How can i derive a projection onto this set $\|x - a \| \leq r^2$.

2. ## Re: projection onto a convex set

we'll need a little more information than that. what set do the variables belong to? real numbers? integers? complex numbers? vectors? and what exactly are you trying to project? another set? a sphere? an entire space? does the projection have to be linear, or distance-preserving, or continuous?