inv_poly {flexmet}R Documentation

Polynomial Functions

Description

Evaluate a forward or inverse (monotonic) polynomial function.

Usage

inv_poly(x, coefs, lb = -1000, ub = 1000)

fw_poly(y, coefs)

Arguments

x

Scalar polynomial function input.

coefs

Vector of coefficients that define a monotonic polynomial, see details.

lb

Lower bound of the search interval.

ub

Upper bound of the search interval.

y

Scalar polynomial function output.

Details

x=t0+t1y+t2y2+...x = t_0 + t_1y + t_2y^2 + ...

Then, for coefs = (t0,t1,t2,...)(t_0, t_1, t_2, ...)^\prime, this function finds the corresponding yy value (inv_poly) or xx value (fw_poly).


[Package flexmet version 1.1 Index]