minroot: Obtain the smallest polynomial root

View source: R/RcppExports.R

minrootR Documentation

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.


simts documentation built on Aug. 31, 2023, 5:07 p.m.