From 5b010104c7e8317fc24086eaa3107dc8e5c58c02 Mon Sep 17 00:00:00 2001 From: keineahnung2345 Date: Wed, 18 Nov 2020 21:07:43 +0800 Subject: [PATCH 1/2] CH4 permutation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit $\binom{n}{1}$ 是 n!/(k!(n-k)!), 参考: https://en.wikipedia.org/wiki/Binomial_coefficient 应该改成P(n,n) = n! --- docs/chapter04.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter04.md b/docs/chapter04.md index 4a5b5d0..a01f4e6 100644 --- a/docs/chapter04.md +++ b/docs/chapter04.md @@ -78,4 +78,4 @@ $$ \end{bmatrix} $$ -$n$阶方阵的置换矩阵有$\binom{n}{1}=n!$个。 +$n$阶方阵的置换矩阵有$\newcommand\Myperm[2][^n]{{#1\mkern-2.5mu}{}P_{#2}}\Myperm{n}=n!$个。 From e4d15a16f6838f5085b34e0c3bfa391155946d15 Mon Sep 17 00:00:00 2001 From: keineahnung2345 Date: Thu, 19 Nov 2020 09:29:39 +0800 Subject: [PATCH 2/2] not use \newcommand syntax \newcommand is not supported by https://github.com/KaTeX/KaTeX/issues/250 --- docs/chapter04.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter04.md b/docs/chapter04.md index a01f4e6..8b905dc 100644 --- a/docs/chapter04.md +++ b/docs/chapter04.md @@ -78,4 +78,4 @@ $$ \end{bmatrix} $$ -$n$阶方阵的置换矩阵有$\newcommand\Myperm[2][^n]{{#1\mkern-2.5mu}{}P_{#2}}\Myperm{n}=n!$个。 +$n$阶方阵的置换矩阵有$P(n,n)=n!$个。