powered by
Takes two integers and takes the dot product of their binary representations. Output is the value of the dot product, modulus 2
dotmod2(x,a)
integer
Binary value resulting from the bit-wise dot product modulus 2
# NOT RUN { dotmod2(5,5) dotmod2(1,2) dotmod2(0,1) # }
Run the code above in your browser using DataLab