findPolyRoots: Find real parts of roots of polynomial

View source: R/lib.R

findPolyRootsR Documentation

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

Author(s)

Alexander W Blocker ablocker@gmail.com

See Also

gaussHermiteData, aghQuad, ghQuad


awblocker/fastGHQuad documentation built on May 6, 2022, 5:49 a.m.