Horner’s method is an efficient algorithm for evaluating a Polynomial by factoring out repeatedly, eliminating the need to compute powers of directly.
For example, a cubic polynomial:
is evaluated as:
Horner’s method is an efficient algorithm for evaluating a Polynomial by factoring out repeatedly, eliminating the need to compute powers of directly.
For example, a cubic polynomial:
is evaluated as: