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