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
array1A vector of positive integers.
array2A 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