projection_C: Projection operator for rectangle or nonnegative space
Description
Compute the projection operator for rectangle or nonnegative space. For example,
we construct $$\lambda P_{C}(x/\lambda) = projection_C(\lambda,C,x)$$,
where \(C\) can be rectangle or nonnegative space.