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.


SMAC-Group/simts documentation built on Sept. 4, 2023, 5:25 a.m.