boundpin: Inverse bounding transformation function used by ADMB.

Description Usage Arguments Details Value Note Author(s)

Description

Inverse bounding transformation function used by ADMB.

The bounding functions, with their inverses and derivatives.

Usage

1
boundpin(x, minb, maxb, hbf)

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.