oops! Your browser isn't displaying this right

Hyperbolic Tangent Output Function Process


dev/abrg/2008/modlin/output/tanh

Description:

A standard C++ hyperbolic tangent. y = tanh(). Takes scaling and offset vectors in the form:

y = tanh((x-c[0])*m[0])*m[1]+c[1];

Where c is the axis offset and m is the axis scaling for the x ([0]) and y ([1]) axes.

State data:

c (SINGLE) (2x1 / 1x1) (default = [0 0]):

The c in the above equation. Can be a single value for all units, or a x,y pair for all units.

m (SINGLE) (2x1 / 1x1) (default = [1 1]):

The m in the above equation. Can be a single value for all units, or a x,y pair for all units.

limits: (SINGLE) (0,1,2):

0, no limits; 1, values less than 0 are set to 0; 2, values greater than 1 are set to 1.

OR

limits: (SINGLE) (2x1 / 1x1):

Upper and lower (2x1), or lower only (1x1) bounds for the function.

backup content