expressing a projection on to a line as matrix vector product.