So given a hyperplane $x_0 + ... x_n = C$, we know that the normal $n = (1, ..., 1)^T$. How can we find a projection matrix $P$ for this hyperplane that can be used to get orthogonal projections of vectors?
There is one other similar question Projection on the hyperplane $H: \sum x_i=0$, but I can't follow how they derived the projection matrix itself for the case when $x_0 + ... + x_n = 0$.
Instead, I guess what I'm looking for is the closest point on plane between a vector and the plane.
– wednesdaymiko Jan 15 '22 at 16:29