trough: Derive the local minimum of a third degree polynomial

Description Usage Arguments Value Examples

Description

Takes four polynomial parameters as input and derives the local minimum if it exists.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
trough(coef, ...)

## S3 method for class 'numeric'
trough(coef)

## S3 method for class 'matrix'
trough(coef, ...)

## S3 method for class 'data.frame'
trough(coef)

Arguments

coef

polynomial coefficients

...

Value

position of the local minimum, NA if it does not exist

Examples

1
trough(c(-1, -4, 3, 1))

schmettow/uncanny documentation built on Oct. 30, 2020, 5:44 p.m.