From bf4eda36d4c13be468236bf33baa2574e8692ca7 Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Fri, 14 Nov 2025 14:57:47 +0100 Subject: rename calc_binom() to binom() in documentation as well :-| --- content/math/math.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content/math/math.tex') 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} -- cgit v1.2.3