Learn R Programming

gmwm (version 2.0.0)

minroot: Obtain the smallest polynomial root

Description

Calculates all the roots of a polynomial and returns the root that is the smallest.

Usage

minroot(x)

Arguments

x
A cx_vec that has a 1 appended before the coefficents. (e.g. c(1, x))

Value

A double with the minimum root value.