bound.quad: Build a piecewise-quadratic envelope for a given function

Description Usage Arguments

View source: R/bound.quad.R

Description

Build a piecewise-quadratic envelope for a given function

Usage

1
bound.quad(breaks, f, df, ddf.sup, anchors = breaks[1:(length(breaks) - 1)])

Arguments

breaks

Breakpoints that define the start and end points of each interval over which a piecewise-quadratic function will be defined.

f

Value of f at the breakpoints.

df

Derivative of f evaluated at the start of each interval.

ddf.sup

Supremum of second derivative of f over each interval

anchors

Locations within the intervals (defined by breaks) at which the polynomial approximation will be centered


jmhewitt/dsdive documentation built on May 29, 2020, 5:18 p.m.