INDEX_OR Function
Standard Library function that computes the logical OR for two vectors of positive integers.
Usage
result = INDEX_OR(array1, array2)
Input Parameters
array1ā€”A vector of positive integers.
array2ā€”A vector of positive integers.
Returned Value
resultā€”A vector consisting of all elements contained in either of the input arrays (result is unique).
Keywords
None.
Examples
The following example demonstrates how to print out the unique integer values found in each matrix.
PM, INDEX_OR([2,0,3],[1,2,0,2])
; PV-WAVE prints:
;    0
;    1
;    2
;    3
See Also