# 方式2,显示在上下侧
$\displaystyle \sum_{i=1 \to \infty}^{\infty}$
∑ i = 1 → ∞ ∞ \displaystyle \sum_{i=1 \to \infty}^{\infty} i = 1 → ∞ ∑ ∞
# 方式3,显示在上下侧
$\sum\limits_{i=1 \to \infty}^{\infty}$
∑ i = 1 → ∞ ∞ \sum\limits_{i=1 \to \infty}^{\infty} i = 1 → ∞ ∑ ∞
# 方式4,显示在右侧
$\sum\nolimits_{i=1 \to \infty}^{\infty}$
∑ i = 1 → ∞ ∞ \sum\nolimits_{i=1 \to \infty}^{\infty} ∑ i = 1 → ∞ ∞
分段函数,推导式函数
$$\begin {aligned } P_1 & = P (X_n=i_n|X_0=i_0,X_1=i_1,\dots,X_{n-1 }=i_ {n-1 })P (X_0=i_0,X_1=i_1,\dots,X_{n-1 }=i_ {n-1 }) \\& = p_ {i_ {n-1 }i_n }P (X_0=i_0,X_1=i_1,\dots,X_{n-1 }=i_ {n-1 })
\end {aligned } \tag {函数推导式}$$
P 1 = P ( X n = i n ∣ X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) = p i n − 1 i n P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) (函数推导式) \begin{aligned} P_1 &= P(X_n=i_n|X_0=i_0,X_1=i_1,\dots,X_{n-1}=i_{n-1})P(X_0=i_0,X_1=i_1,\dots,X_{n-1}=i_{n-1}) \\&= p_{i_{n-1}i_n}P(X_0=i_0,X_1=i_1,\dots,X_{n-1}=i_{n-1})
\end{aligned} \tag{函数推导式} P 1 = P ( X n = i n ∣ X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) = p i n − 1 i n P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) ( 函数推导式 )
$$\begin {aligned } P (X_0=i_0,\dots,X_n=i_n)& =P (X_n=i_n|X_0=i_0,\dots,X_{n-1 }=i_ {n-1 })P (X_0=i_0,X_1=i_1,\dots,X_{n-1 }=i_ {n-1 }) \\
P (X_0=i_0,\dots,X_n=i_n) & = p_ {i_ {n-1 }i_n }P (X_0=i_0,\dots,X_{n-1 }=i_ {n-1 })
\end {aligned } \tag {等式对齐}$$
P ( X 0 = i 0 , … , X n = i n ) = P ( X n = i n ∣ X 0 = i 0 , … , X n − 1 = i n − 1 ) P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) P ( X 0 = i 0 , … , X n = i n ) = p i n − 1 i n P ( X 0 = i 0 , … , X n − 1 = i n − 1 ) (等式对齐) \begin{aligned} P(X_0=i_0,\dots,X_n=i_n)&=P(X_n=i_n|X_0=i_0,\dots,X_{n-1}=i_{n-1})P(X_0=i_0,X_1=i_1,\dots,X_{n-1}=i_{n-1}) \\
P(X_0=i_0,\dots,X_n=i_n) &= p_{i_{n-1}i_n}P(X_0=i_0,\dots,X_{n-1}=i_{n-1})
\end{aligned} \tag{等式对齐} P ( X 0 = i 0 , … , X n = i n ) P ( X 0 = i 0 , … , X n = i n ) = P ( X n = i n ∣ X 0 = i 0 , … , X n − 1 = i n − 1 ) P ( X 0 = i 0 , X 1 = i 1 , … , X n − 1 = i n − 1 ) = p i n − 1 i n P ( X 0 = i 0 , … , X n − 1 = i n − 1 ) ( 等式对齐 )
$$dp[i] [j] = \begin{cases}
0 & j = 0 \\
\min\{ dp[i] [k] + dp[(i+ k + 1) \% n] [j - k - 1] + sum(i,j) \} & 0 \leq k < j
\end{cases} \tag{分段函数}$$
d p [ i ] [ j ] = { 0 j = 0 min { d p [ i ] [ k ] + d p [ ( i + k + 1 ) % n ] [ j − k − 1 ] + s u m ( i , j ) } 0 ≤ k < j (分段函数) dp[i][j] = \begin{cases}
0 & j = 0 \\
\min\{ dp[i][k] + dp[(i+ k + 1) \% n][j - k - 1] + sum(i,j) \} & 0 \leq k < j
\end{cases} \tag{分段函数} d p [ i ] [ j ] = { 0 min { d p [ i ] [ k ] + d p [( i + k + 1 ) % n ] [ j − k − 1 ] + s u m ( i , j )} j = 0 0 ≤ k < j ( 分段函数 )
graph LR
A [方形] -->B (圆角)
B --> C{条件a }
C -->|a =1 | D[结果1]
C -->|a =2 | E[结果2]
F[横向流程图]
$$\begin{bmatrix}
{p_{11}}&{p_ {12}}&{\cdots}&{p_{1m}}\\
{p_ {21}}&{p_{22}}&{\cdots}&{p_ {2m}}\\
{\vdots}&{\vdots}&{\ddots}&{\vdots}\\
{p_{m1}}&{p_ {m2}}&{\cdots}&{p_{mm}}\\
\end{bmatrix}$$
[ p 11 p 12 ⋯ p 1 m p 21 p 22 ⋯ p 2 m ⋮ ⋮ ⋱ ⋮ p m 1 p m 2 ⋯ p m m ] \begin{bmatrix}
{p_{11}}&{p_{12}}&{\cdots}&{p_{1m}}\\
{p_{21}}&{p_{22}}&{\cdots}&{p_{2m}}\\
{\vdots}&{\vdots}&{\ddots}&{\vdots}\\
{p_{m1}}&{p_{m2}}&{\cdots}&{p_{mm}}\\
\end{bmatrix} ⎣ ⎡ p 11 p 21 ⋮ p m 1 p 12 p 22 ⋮ p m 2 ⋯ ⋯ ⋱ ⋯ p 1 m p 2 m ⋮ p mm ⎦ ⎤
代码块&分割线
library( ggplot)
import pandas as pd
其他常用markdown命令
输入 显示 输入 显示 输入 显示 输入 显示 \alpha α \alpha α \rho ρ \rho ρ \beta β \beta β \Sigma Σ \Sigma Σ \gamma γ \gamma γ \Gamma Γ \Gamma Γ \delta δ \delta δ \Delta Δ \Delta Δ \epsilon ϵ \epsilon ϵ \sigma σ \sigma σ \zeta ζ \zeta ζ \tau τ \tau τ \eta η \eta η \tau τ \tau τ theta θ \theta θ \Theta Θ \Theta Θ \iota ι \iota ι \kappa κ \kappa κ \phi ϕ \phi ϕ \Phi Φ \Phi Φ \lambda λ \lambda λ \Lambda Λ \Lambda Λ \mu μ \mu μ \chi χ \chi χ \nu ν \nu ν N \xi ξ \xi ξ \Xi Ξ \Xi Ξ \upsilon υ \upsilon υ \Upsilon Υ \Upsilon Υ \pi π \pi π \Pi Π \Pi Π \psi ψ \psi ψ \Psi Ψ \Psi Ψ \omega ω \omega ω \Omega Ω \Omega Ω
输入 显示 输入 显示 输入 显示 \emptyset ∅ \emptyset ∅ \in ∈ \in ∈ \notin ∉ \notin ∈ / \subset ⊂ \subset ⊂ \supset ⊃ \supset ⊃ \subseteq ⊆ \subseteq ⊆ \supseteq ⊇ \supseteq ⊇ \bigcap ⋂ \bigcap ⋂ \bigcup ⋃ \bigcup ⋃ \bigvee ⋁ \bigvee ⋁ \bigwedge ⋀ \bigwedge ⋀ \biguplus ⨄ \biguplus ⨄ \because ∵ \because ∵ \therefore ∴ \therefore ∴ \forall ∀ \forall ∀ \exists ∃ \exists ∃ \not\subset ⊄ \not\subset ⊂ \not< ≮ \not< < \not> ≯ \not> > \not= ≠ \not= =
积分求导符号
输入 显示 输入 显示 输入 显示 \int ∫ \int ∫ \iint ∬ \iint ∬ \iiint ∭ \iiint ∭ \iiiint \iiiint \iiiint \iiiint \oint ∮ \oint ∮ \prime ′ \prime ′ \lim lim \lim lim \infty ∞ \infty ∞ \nabla ∇ \nabla ∇
latext
此处是脚注1
此处是脚注2
[1^]: zhuanlan.zhihu.com/p/400027233 "洞悉你的服务器性能"
[2^]: zhuanlan.zhihu.com/p/404527853 "关键词提取-TFIDF(一)"