Function xor

Source
pub fn xor<FA: FieldAlgebra>(x: FA, y: FA) -> FA
Expand description

Computes the arithmetic generalization of boolean xor.

For boolean inputs, x ^ y = x + y - 2 xy.