Euclidean projection onto a convex set (source code)

= Euclidean projection onto a convex set

= Convex projection
{synonym}

= Metric projection onto a closed convex set
{synonym}

For a nonempty closed convex subset $C$ of a finite-dimensional inner-product space, $\Pi_C(x)$ is the unique point of $C$ minimizing $\|x-z\|$.

This closest-point map is the <metric projection onto a closed convex set>. Repeated projections onto several sets form the separate <projections onto convex sets> method.