is_monotones_fac: Is there any roots in these polynomials? (factory)

Description Usage Arguments Value

Description

Produce a function that checks whether a given set of rational functions is monotone in a given interval.

Usage

1
2
is_monotones_fac(dim_f, dim_g, xmin = 0, xmax = Inf,
  increasing = TRUE, EPS = 1e-06)

Arguments

dim_f

the number of coefficients in the numerator. (num)

dim_g

the number of coefficients in the denominator, excluding the constant term. (num)

xmin

the lower bound. (num)

xmax

the upper bound. (num)

increasing

set to TRUE when checking for monotonic increasing, FALSE for monotonic decreasing.

EPS

error tolerance. (num)

Value

a function that takes in a matrix of rational function coefficients (numerator precede denominator, in ascending order), each column corresponds to a rational function, and returns a boolean vector indicating whether the condition in the description is met.


weiyaw/blackbox documentation built on June 7, 2019, 5:12 a.m.