Blame view

3rdparty/boost_1_81_0/libs/graph/doc/math.sty 2.26 KB
977ed18d   Hu Chunming   提交三方库
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  % Style helpers for use in Math M413
  
  \usepackage[leqno]{amsmath}
  \usepackage{amsfonts}
  \usepackage{amssymb}
  \usepackage{amsthm}
  \usepackage{latexsym}
  
  \numberwithin{equation}{section}
  
  \DeclareMathOperator{\suchthat}{s.t.}
  \DeclareMathOperator{\st}{\;|\;}
  \DeclareMathOperator{\lub}{lub}
  \DeclareMathOperator{\glb}{glb}
  \DeclareMathOperator{\C}{C}
  \DeclareMathOperator{\Rl}{R_L}
  \DeclareMathOperator{\Rm}{R_M}
  \DeclareMathOperator{\Poly}{\mathcal{P}}
  \DeclareMathOperator{\NPoly}{\mathcal{NP}}
  \DeclareMathOperator{\outdegree}{out-degree}
  \DeclareMathOperator{\indegree}{in-degree}
  
  % Abbreviations for Commonly used sets
  \newcommand{\field}[1]{\mathbb{#1}}
  \newcommand{\Q}{\field{Q}} % Rational numbers
  \newcommand{\N}{\field{N}} % Natural numbers
  \newcommand{\R}{\field{R}} % Real numbers
  \newcommand{\Z}{\field{Z}} % Integers
  \newcommand{\Zp}{\field{Z}^+} % Positive Integers
  
  % Theorem declarations
  \theoremstyle{plain}
  \newtheorem{theorem}{Theorem}[section]
  \newtheorem{lemma}{Lemma}[section]
  \newtheorem{correllary}{Correllary}[section]
  \newtheorem{proposition}{Proposition}[section]
  
  \theoremstyle{definition}
  \newtheorem{definition}{Definition}[section]
  \newtheorem{example}{Example}[section]
  
  \theoremstyle{remark}
  \newtheorem*{remark}{Remark}
  \newtheorem*{note}{Note}
  \newtheorem{case}{Case}
  
  
  % Meaningful abbreviations, etc
  \newcommand{\onlyif}{\Rightarrow}
  \newcommand{\thus}{\Longrightarrow}
  \newcommand{\contradicts}{\rightarrow\leftarrow}
  \newcommand{\Union}{\bigcup}
  \newcommand{\union}{\cup}
  \newcommand{\Intersect}{\bigcap}
  \newcommand{\intersect}{\cap}
  \newcommand{\setdiff}{\setminus}
  \newcommand{\divides}{|}
  \newcommand{\Land}{\;\bigwedge\;}
  \newcommand{\Lor}{\;\bigvee\;}
  \newcommand{\floor}[1]{\lfloor#1\rfloor}
  \newcommand{\inverse}[1]{\ensuremath\frac{1}{#1}}
  \newcommand{\abs}[1]{\ensuremath \lvert#1\rvert}
  \newcommand{\norm}[1]{\ensuremath \lVert#1\rVert}
  \newcommand{\inner}[2]{\ensuremath #1 \cdot #2}
  
  \newcommand{\cross}{\times}
  \newcommand{\setcomplement}[1]{\overline{#1}}
  \newcommand{\emptystring}{\epsilon}
  \newcommand{\concat}[2]{#1 \cdot #2}
  \newcommand{\pair}[2]{\langle #1, #2 \rangle}
  \newcommand{\closure}[1]{#1^*}
  \newcommand{\strlen}[1]{\abs{#1}}
  
  \newcommand{\produce}{\rightarrow}
  \newcommand{\derive}{\Rightarrow}
  \newcommand{\derives}{\stackrel{*}{\Rightarrow}}