Numerical algorithm 2026-10-14
A numerical algorithm implements a numerical method through specified finite computation steps, including arithmetic operations and any required function evaluations.
Vector normalization is not linear 2026-10-14
Vector normalization is not a linear map. With and ,Consequently, adding individually normalized directions does not generally give the direction of the original vector sum. Compute the intended vector sum first, then normalize it if it is nonzero. Cancellation is a further boundary case: has no normalized direction even though both nonzero summands do. A numerical algorithm must check that case before dividing by the norm.