NAME

moddiff -- create unit to ..

PROTOTYPE

unitptr moddiff(int dim, int threshold, unitptr uHost)

ARGUMENTS

int dim
- not documented in source --
int threshold
- not documented in source --
unitptr uHost
host unit

RETURN VALUE:

A pointer to the created unit or NULL in the case of an error.

INTERFACE OF CREATED UNIT:

X_in[]:
(packed input field 0)
Y_in[]:
(packed input field 1)
Z_in[]:
(packed input field 2)
in_3[]:
(packed input field 3)
CTL_in[]:
(control field)
X_out[]:
(packed output field 0)
Y_out[]:
(packed output field 1)
Z_out[]:
(packed output field 2)
out_3[]:
(packed output field 3)

EXECUTION OF CREATED UNIT:

INITIALIZATION:

DESCRIPTION:

This Unit is a variant to the diff vec unit The absolute diff per dimension is computed and the threshold gives a minium to get the output

CONTROL MODES:

EXAMPLES:

STATUS:

Preliminary.

SEE ALSO:

FILE

nst_moddiff.c