R/077_atoms_elementwise_logic.R
implies.Rd
Logical implication: x => y. Returns 1 unless x = 1 and y = 0. Equivalent to Or(Not(x), y).
Or(Not(x), y)
implies(x, y)
Boolean Variables or logic expressions.
An Or expression representing !x | y.
!x | y
iff(), Not(), And(), Or(), Xor()
iff()
Not()
And()
Or()
Xor()
if (FALSE) { # \dontrun{ x <- Variable(boolean = TRUE) y <- Variable(boolean = TRUE) expr <- implies(x, y) } # }