Project onto y = x
rank 1 · symmetricMaps every point to its closest point on the diagonal. The kernel is the line y = −x; the image is y = x. Perpendicular — orthogonal projection.
Learn more about diagonal projections · kernel and image
P is symmetric (Pᵀ = P) and idempotent (P² = P). Projecting twice changes nothing.