Halcon find an array index greater than a certain number of values of all

For example: Find all the index values ​​in an array of greater than 5.

Halcon Code:

T:=[1,3,5,7,9,15]   
   
tuple_div (T, 6, Div)

tuple_and (Div, 1, And)

tuple_find (And, 1, Indices)

Results: Indices = [3,4,5]

Guess you like

Origin blog.csdn.net/jgj123321/article/details/94461877