From 43f3622a7ac5c2fb95fd6fb55ab55269949b0295 Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Thu, 13 Feb 2025 23:01:30 +0100 Subject: add binomial2 to optional --- content/math/math.tex | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'content/math') diff --git a/content/math/math.tex b/content/math/math.tex index fdf7081..4f466cf 100644 --- a/content/math/math.tex +++ b/content/math/math.tex @@ -392,16 +392,19 @@ so gilt \end{methods} \sourcecode{math/binomial1.cpp} + \optional{ + \begin{methods} + \method{calc\_binom}{berechnet Primfaktoren vom Binomialkoeffizient}{n\*\log(n)} + \end{methods} + \opthint \\ + \textbf{WICHTIG:} braucht alle Primzahlen $\leq n$ + \sourcecode{math/binomial2.cpp} + } + \begin{methods} \method{calc\_binom}{berechnet Binomialkoeffizient modulo Primzahl $p$}{p-n} \end{methods} \sourcecode{math/binomial3.cpp} - -% \begin{methods} -% \method{calc\_binom}{berechnet Primfaktoren vom Binomialkoeffizient}{n} -% \end{methods} -% \textbf{WICHTIG:} braucht alle Primzahlen $\leq n$ -% \sourcecode{math/binomial2.cpp} %\end{algorithm} \paragraph{\textsc{Catalan}-Zahlen} -- cgit v1.2.3