diff options
| author | Paul Jungeblut <paul.jungeblut@gmail.com> | 2016-02-14 00:36:49 +0100 |
|---|---|---|
| committer | Paul Jungeblut <paul.jungeblut@gmail.com> | 2016-02-14 00:36:49 +0100 |
| commit | 0545e74aeab679ff67e95b62f788a79d6a31f222 (patch) | |
| tree | 86b1edb1ae6c9aa603b36e5c84a4ae7c2b3324f0 /math/math.tex | |
| parent | 2f428f1415fcbd3700def0f513b30a4818b6e39d (diff) | |
Adding Jojo's Miller-Rabin code to the document and improving prime sieve.
Diffstat (limited to 'math/math.tex')
| -rw-r--r-- | math/math.tex | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/math/math.tex b/math/math.tex index acc85f6..7093f78 100644 --- a/math/math.tex +++ b/math/math.tex @@ -17,16 +17,19 @@ Sei $0 \leq x < n$. Definiere $d := gcd(x, n)$. \end{description} \lstinputlisting{math/multInv.cpp} -\subsection{Primzahlsieb von Eratosthenes} +\subsection{Primzahlsieb von \textsc{Eratosthenes}} \lstinputlisting{math/primeSieve.cpp} -\subsubsection{Faktorisierung} +\subsection{\textsc{Miller}-\textsc{Rabin}-Primzahltest} +\lstinputlisting{math/millerRabin.cpp} + +\subsection{Faktorisierung} \lstinputlisting{math/factor.cpp} -\subsubsection{Mod-Exponent über $\mathbb{F}_p$} +\subsection{Mod-Exponent über $\mathbb{F}_p$} \lstinputlisting{math/modExp.cpp} -\subsubsection{LGS über $\mathbb{F}_p$} +\subsection{LGS über $\mathbb{F}_p$} \lstinputlisting{math/lgsFp.cpp} \subsection{Binomialkoeffizienten} |
