boundp: The bounding function.

Description Usage Arguments Details Value Note Author(s)

Description

The bounding function.

The bounding functions, with their inverses and derivatives.

Usage

1
boundp(x, minb, maxb, hbf = 0)

Arguments

x

The input value.

minb

The minimum bound.

maxb

The maximum bound.

hbf

The hybrid bounded flag. Determines which function is used.

Details

If hbf=0 then the function is minb+(maxb-minb)/(1+exp(-x)), otherwise it is minb+(maxb-minb)*(.5*sin(x*pi/2)+.5).

Value

Numeric function value.

Note

These functions are named as in the ADMB source code.

Author(s)

Cole C. Monnahan


colemonnahan/admbtools documentation built on May 13, 2019, 8:50 p.m.