From charlesreid1

(Created page with "Notes on a Polynomial class implementation. Numerical recipes covers a few topics for polynomials, listed below. Polynomial class: * Definition/construction/storage * Evalua...")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
* Polynomial division, returning quotient and remainder polynomials
* Polynomial division, returning quotient and remainder polynomials


Rational function class:
Quadratic class:
* Storage and constructors
* Evaluation of roots
* Evaluation
* Using quadratic equation can be problematic for small a and/or c


Quadratic class:
 
* Evaluation of roots, not using quadratic equation (problematic for small a and/or c)
[[Category:Polynomials]]
*
[[Category:Math]]

Latest revision as of 22:13, 15 August 2017

Notes on a Polynomial class implementation.

Numerical recipes covers a few topics for polynomials, listed below.

Polynomial class:

  • Definition/construction/storage
  • Evaluation of polynomials
  • Evaluate and evaluate derivative simultaneously
  • Evaluating polynomials of degree n>3 with fewer than n multiplications
  • Multiplying by monomials
  • Divide polynomial by monomials
  • Polynomial division, returning quotient and remainder polynomials

Quadratic class:

  • Evaluation of roots
  • Using quadratic equation can be problematic for small a and/or c