Learn R Programming

fastGHQuad (version 1.0.1)

findPolyRoots: Find real parts of roots of polynomial

Description

Finds real parts of polynomial's roots via eigendecomposition of companion matrix. This method is not used by gaussHermiteData. Only the real parts of each root are retained; this can be useful if the polynomial is known a priori to have all roots real.

Usage

findPolyRoots(c)

Arguments

c

Coefficients of polynomial

Value

Numeric vector containing the real parts of the roots of the polynomial defined by c

See Also

gaussHermiteData, aghQuad, ghQuad