ChartDirector 5.1 (.NET Edition)

ArrayMath.selectNEZ


Usage

[VB] Public Function selectNEZ([ decisionArray As Double() [, fillValue As Double ]]) As ArrayMath
[C#] public ArrayMath selectNEZ([ double[] decisionArray [, double fillValue ]]);

Description

Selects the elements of the ArrayMath object by checking if the elements of the given decisionArray is not equal to zero.

The selected elements will be left unchanged. The remaining elements will be replaced by the given fillValue.

If the decisionArray is empty, the ArrayMath object itself will function as the decision array.

Arguments

ArgumentDefaultDescription
decisionArray[Empty_Array]An array of numbers used to decide whether the corresponding elements in the ArrayMath object is selected or not.
fillValue0The value used to replace the elements that are not selected.

Return Value

The current ArrayMath object.