AddSides(compare-expr, value)
add
value
to all elements of thecompare-expr
.compare-expr
can beTrue
,False
or an comparison expression with headEqual, Unequal, Less, LessEqual, Greater, GreaterEqual
.
>> AddSides(1 < 0, x)
False
>> AddSides(a==b, x)
a+x==b+x