Skip to content

Commit

Permalink
add link to wikipedia page for modular arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaspleyer committed Oct 26, 2024
1 parent 4432e71 commit 4301148
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/imaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use pyo3::prelude::*;
/// below 255.
/// This will yield a Field of numbers :math:`\mathbb{Z}/251 \mathbb{Z}` and thus we will be able
/// to determine an exact inverse function.
/// This system is bettern known as
/// `modular arithmetic <https://en.wikipedia.org/wiki/Modular_arithmetic>`_.
///
/// To calculate artistic color values we multiply the counter by 157*163*173 which are three prime
/// numbers roughyl in the middle of 255.
Expand Down

0 comments on commit 4301148

Please # to comment.