diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2025-11-14 14:57:47 +0100 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2025-11-14 14:57:47 +0100 |
| commit | bf4eda36d4c13be468236bf33baa2574e8692ca7 (patch) | |
| tree | 589f578281886e4bd3f1b26d974bab79ae696f89 | |
| parent | 58be3612823936f85258241528d2973adf213011 (diff) | |
rename calc_binom() to binom() in documentation as well :-|
| -rw-r--r-- | content/math/math.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/content/math/math.tex b/content/math/math.tex index 5899c97..943beef 100644 --- a/content/math/math.tex +++ b/content/math/math.tex @@ -389,19 +389,19 @@ so gilt \begin{methods}
\method{precalc}{berechnet $n!$ und $n!^{-1}$ vor}{\mathit{lim}}
- \method{calc\_binom}{berechnet Binomialkoeffizient}{1}
+ \method{binom}{berechnet Binomialkoeffizient}{1}
\end{methods}
\sourcecode{math/binomial0.cpp}
Falls $n >= p$ for $\mathit{mod}=p^k$ berechne \textit{fac} und \textit{inv} aber teile $p$ aus $i$ und berechne die häufigkeit von $p$ in $n!$ als $\sum\limits_{i=1}\big\lfloor\frac{n}{p^i}\big\rfloor$
\begin{methods}
- \method{calc\_binom}{berechnet Binomialkoeffizient $(n \le 61)$}{k}
+ \method{binom}{berechnet Binomialkoeffizient $(n \le 61)$}{k}
\end{methods}
\sourcecode{math/binomial1.cpp}
\optional{
\begin{methods}
- \method{calc\_binom}{berechnet Primfaktoren vom Binomialkoeffizient}{n\*\log(n)}
+ \method{binom}{berechnet Primfaktoren vom Binomialkoeffizient}{n\*\log(n)}
\end{methods}
\opthint \\
\textbf{WICHTIG:} braucht alle Primzahlen $\leq n$
@@ -409,7 +409,7 @@ so gilt }
\begin{methods}
- \method{calc\_binom}{berechnet Binomialkoeffizient modulo Primzahl $p$}{p-n}
+ \method{binom}{berechnet Binomialkoeffizient modulo Primzahl $p$}{p-n}
\end{methods}
\sourcecode{math/binomial3.cpp}
%\end{algorithm}
|
