A Z/2 Calculator in Tcl/Tk

If you have the Tcl Plugin installed on your browser then a Z/2 calculator will appear below:

This calculator performs operations with polynomials with Z/2 coefficients and modular arithmetic thereof (if checkbutton is on). Polys read from left to right (ie 01001 is x+x^4). The button + adds, the button x multiplies, the button ^ raises to power and the button % takes remainder and you can replace the modulus with the polynomial of your choice. Polynomials can be entered using the 0-1 buttons or via keyboard in the middle field but exponents (for the power function) have to be entered via keyboard.

You can download the Tcl/Tk source text for the example by right-clicking here. There is also a standalone Windows executable.

This page is maintained by Felipe Voloch

This page has been visited times since September, 9, 2000.