DADiSP Worksheet Functions > Function Categories > Worksheet Control > CONFORMITY

 

CONFORMITY

Purpose:

Sets the data processing mode for series with the same delta x but different x offsets.

Syntax:

CONFORMITY(mode)

mode

-

Optional. An integer, the x value conformity mode:

0:

Normal mode. The series are aligned by point values, with zeros padded on the end of the shorter series (default).

1:

Union mode. The series are aligned by x values, and the x values that are in only one series are padded with NAVALUE. The resulting series has all the x values that are in either of the input series.

2:

Intersection mode. The x values are aligned, and the resulting series has only those x values that are in both the input series.

Example:

W1: 1..5

W2: 2..4

W3: conformity(0);W1+W2

W4: conformity(1);W1+W2

W5: conformity(2);W1+W2

 

results are as follows:

 

W3 == {3, 5, 7, 4, 5}

W4 == {NA, 4, 6, 8, NA}

W5 == {4, 6, 8}

Remarks:

If the delta x values in the input series are different, conformity has no effect; the delta x of the output series is forced to 1, and the points are aligned by point values.

See Also:

+ - * / ^

NAVALUE