跳到正文

算法·理论

专栏宏定义头

TP2010约 2 分钟
原文
文章信息与版本

文章信息

发布
2026年9月3日
收录
2026年9月3日
更新
2026年11月17日
篇幅
约 2 分钟

版本

  1. v4当前
  2. v3
  3. v2
  4. v1
\gdef\op#1{\operatorname{#1}} \gdef\mat#1{\begin{bmatrix}#1\end{bmatrix}} \gdef\aligned#1{\begin{aligned}#1\end{aligned}} \global\let\xrt\xrightarrow \gdef\mt#1{\mathtt{#1}} \gdef\floor#1{\lfloor#1\rfloor} \gdef\ceil#1{\lceil#1\rceil} \gdef \C#1#2{\binom{#1}{#2}} \let*\times \gdef \lcm{\operatorname{lcm}} op⁡[a0b0cd]S=a+b+c=b+a+c\op{op} \\ \mat{a &0\\ b &0 \\ c & d} \\ \aligned{S&=a+b+c\\&=b+a+c}
C++
$$
\gdef\op#1{\operatorname{#1}}

\gdef\mat#1{\begin{bmatrix}#1\end{bmatrix}}

\gdef\aligned#1{\begin{aligned}#1\end{aligned}}

\global\let\xrt\xrightarrow

\gdef\mt#1{\mathtt{#1}}


\gdef\floor#1{\lfloor#1\rfloor}

\gdef\ceil#1{\lceil#1\rceil}

\gdef \C#1#2{\binom{#1}{#2}}

\let*\times  

\gdef \lcm{\operatorname{lcm}}

$$
原文