Let and choose when , otherwise . Set , which is nonzero because . Compute
Thus the reflecting term in is exactly , giving
Its first coordinate is nonzero and all remaining coordinates vanish. The choice of sign also avoids subtracting nearly equal vectors when the first component is large.

Articles by others on the same topic (0)

There are currently no matching articles.