Returns a vector containing the results of performing a logical AND operation between a and the complement of b.
d=vec_andc(a, b)
The following table describes the types of the returned value and the function arguments.
d | a | b |
---|---|---|
vector4double | vector4double | vector4double |
The value of each element of the result is the result of a logical AND operation between the corresponding element of a and the complement of the corresponding element of b.
d[0] = a[0] AND NOT (b[0])
d[1] = a[1] AND NOT (b[1])
d[2] = a[2] AND NOT (b[2])
d[3] = a[3] AND NOT (b[3])
a = (-1.0, -1.0, 1.0, 1.0)
b = (-1.0, 1.0, -1.0, 1.0)
d: (-1.0, -1.0, 1.0,-1.0)