monic: Monic Polynomials

Description Usage Arguments Details Value See Also

Description

Convert a polynomial to monic form by dividing by the leading coefficient.

Usage

1
monic(p)

Arguments

p

A polynomial. A warning is issued if the polynomial is identically zero.

Details

Similar in effect to p/as.numeric(p[length(p)]) but with some safeguards against leading zero coefficients.

Value

A polynomial proportional to p with leading coefficient 1.

See Also

change.origin


eestileib/ComplexPoly documentation built on May 16, 2019, 12:13 a.m.