Skip to content

Commit

Permalink
Fix math representation
Browse files Browse the repository at this point in the history
  • Loading branch information
Werni2A authored and mhostetter committed May 20, 2021
1 parent 97c35af commit 08aa24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/pages/tutorials/3_field_arithmetic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ they are not.

.. warning::

In the extension field :math:`\\mathrm{GF}(2^8)`, there is a difference between `GF8(6) * GF8(2)` and `GF8(6) * 2`.
In the extension field :math:`\mathrm{GF}(2^8)`, there is a difference between `GF8(6) * GF8(2)` and `GF8(6) * 2`.
The former represents the field element "6" multiplied by the field element "2" using finite field multiplication. The
latter represents adding the field element "6" two times.

Expand All @@ -75,7 +75,7 @@ they are not.
# Calculates a + a
a * 2
In prime fields :math:`\\mathrm{GF}(p)`, multiplication and scalar multiplication are equivalent.
In prime fields :math:`\mathrm{GF}(p)`, multiplication and scalar multiplication are equivalent.

.. ipython:: python
Expand Down

0 comments on commit 08aa24f

Please sign in to comment.