Mathematical (Arithmetic) representation of XOR

前端 未结 8 1047
一向
一向 2021-02-04 07:27

I have spent the last 5 hours searching for an answer. Even though I have found many answers they have not helped in any way.

What I am basically looking for is a mathem

8条回答
  •  再見小時候
    2021-02-04 08:02

    "mathematical, arithmetic only representation" are not correct terms anyway. What you are looking for is a function which goes from IxI to I (domain of integer numbers).
    Which restrictions would you like to have on this function? Only linear algebra? (+ , - , * , /) then it's impossible to emulate the XOR operator.
    If instead you accept some non-linear operators like Max() Sgn() etc, you can emulate the XOR operator with some "simpler" operators.

提交回复
热议问题