Polinômios
Prev | Chapter 11. List of GEL functions | Next

## Polinômios

AddPoly

      AddPoly (p1,p2)

  Add two polynomials (vectors).

DividePoly

      DividePoly (p,q,&r)

  Divide two polynomials (as vectors) using long division. Returns the quotient of the two polynomials. The optional argument `r` is used to return the remainder. The remainder will have lower degree than `q`.

  See Planetmath for more information.

IsPoly

      IsPoly (p)

  Check if a vector is usable as a polynomial.

MultiplyPoly

      MultiplyPoly (p1,p2)

  Multiply two polynomials (as vectors).

NewtonsMethodPoly

      NewtonsMethodPoly (poly,guess,epsilon,maxn)

  Find a root of a polynomial using Newton's method. `poly` is the polynomial as a vector and `guess` is the initial guess. The function returns after two successive values are within `epsilon` of each other, or after `maxn` tries, in which case the function returns `null` indicating failure.

  See also `NewtonsMethod`.

  Example to find the square root of 10:

      genius> NewtonsMethodPoly([-10,0,1],3,10^-10,100)

  See Wikipedia for more information.

Poly2ndDerivative

      Poly2ndDerivative (p)

  Take second polynomial (as vector) derivative.

PolyDerivative

      PolyDerivative (p)

  Take polynomial (as vector) derivative.

PolyToFunction

      PolyToFunction (p)

  Make function out of a polynomial (as vector).

PolyToString

      PolyToString (p,var...)

  Make string out of a polynomial (as vector).

SubtractPoly

      SubtractPoly (p1,p2)

  Subtract two polynomials (as vectors).

TrimPoly

      TrimPoly (p)

  Trim zeros from a polynomial (as vector).

Prev | Up | Next
Estatística | Home | Teoria dos conjuntos