How about in this case? x is not serial number(x= 1,-1,2,-2,3,-3).
I want to match the sign of x with the sign of the vector.
I will attach what I have added. selection_branchDATA_RE2.gh (18.1 KB)
Exactly what I need it ! Thanks again.
I just learned that we could write the program in"Expression component" for the first time. Recently, I just started studying Python. Is this the notation of Python??