summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/math.tex4
-rw-r--r--math/tables/twelvefold.tex2
2 files changed, 3 insertions, 3 deletions
diff --git a/math/math.tex b/math/math.tex
index 235c508..54a44f7 100644
--- a/math/math.tex
+++ b/math/math.tex
@@ -246,10 +246,10 @@ sich alle Lösungen von $x^2-ny^2=c$ berechnen durch:
Multipliziert Polynome $A$ und $B$.
\begin{itemize}
\item $\deg(A \cdot B) = \deg(A) + \deg(B)$
- \item Vektoren \lstinline{a} und \lstinline{b} müssen mindestens Größe
+ \item Vektoren \code{a} und \code{b} müssen mindestens Größe
$\deg(A \cdot B) + 1$ haben.
Größe muss eine Zweierpotenz sein.
- \item Für ganzzahlige Koeffizienten: \lstinline{(ll)round(real(a[i]))}
+ \item Für ganzzahlige Koeffizienten: \code{(ll)round(real(a[i]))}
\item \emph{xor}, \emph{or} und \emph{and} Transform funktioniert auch mit \code{double} oder modulo einer Primzahl $p$ falls $p \geq 2^{\texttt{bits}}$
\end{itemize}
%\lstinputlisting{math/fft.cpp}
diff --git a/math/tables/twelvefold.tex b/math/tables/twelvefold.tex
index b8ab56d..18d3955 100644
--- a/math/tables/twelvefold.tex
+++ b/math/tables/twelvefold.tex
@@ -25,7 +25,7 @@
$n! \binom{k}{n}$ \\
\hline
\multicolumn{5}{|l|}{
- $[\text{Bedingung}]$: \lstinline{return Bedingung ? 1 : 0;}
+ $[\text{Bedingung}]$: \code{return Bedingung ? 1 : 0;}
} \\
\hline
\end{tabularx}