Returns a vector containing the result of a logical NOT operation on the given vector.
d=vec_not(a)
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector4double | vector4double |
The value of each element of the result is the result of a logical NOT operation of the corresponding element of a.
d[0] = NOT a[0]
d[1] = NOT a[1]
d[2] = NOT a[2]
d[3] = NOT a[3]
a = (-1.0, -2.0, 1.0, 2.0)
d: ( 1.0, 1.0, -1.0, -1.0)