-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnotation.tex
103 lines (99 loc) · 3.36 KB
/
notation.tex
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
\newcommand{\bvec}[1]{\mbox{\boldmath $#1$}}
\newcommand{\trans}[1]{{#1}^{\bm{T}}}
\newcommand{\dif}[1]{\frac{\partial}{\partial #1}}
\newcommand{\diff}[2]{\frac{\partial #2}{\partial #1}}
\newcommand{\ddif}[2]{\frac{\partial^2}{\partial #1 \partial #2}}
\newcommand{\ddiff}[3]{\frac{\partial^2 #3}{\partial #1 \partial #2}}
\newcommand{\makeop}[1]{\mathop{\mathrm{#1}}\nolimits}
\newcommand{\sgn}{\makeop{sgn}}
\newcommand{\Enc}{\makeop{Enc}}
\newcommand{\Dec}{\makeop{Dec}}
\newcommand{\Add}{\makeop{Add}}
\newcommand{\Mul}{\makeop{Mul}}
\newcommand{\KGen}{\makeop{KeyGen}}
\newcommand{\REnc}{\makeop{ReEnc}}
\newcommand{\Sign}{\makeop{Sign}}
\newcommand{\Blind}{\makeop{Blind}}
\newcommand{\Unblind}{\makeop{Unblind}}
\newcommand{\Char}{\makeop{char}}
\newcommand{\PEKS}{\makeop{PEKS}}
\newcommand{\Div}{\makeop{div}}
\newcommand{\GF}{\makeop{GF}}
\newcommand{\Trapdoor}{\makeop{Trapdoor}}
\newcommand{\MAC}{{\cal{M}}}
\newcommand{\HMAC}{{\cal{H}}}
\newcommand{\outp}[1]{{{#1} \trans{{#1}}}}
\newcommand{\inp}[1]{{\trans{{#1}}}{#1}}
\newcommand{\vpi}{\bm{\pi}}
\newcommand{\vecx}{\vec{x}}
\newcommand{\vecy}{\vec{y}}
\newcommand{\vvec}[2]{\begin{pmatrix} #1 \\ #2 \end{pmatrix}}
\newcommand{\vvvec}[3]{\begin{pmatrix} #1 \\ #2 \\ #3 \end{pmatrix}}
\newcommand{\hvec}[2]{\begin{pmatrix} #1 & #2 \end{pmatrix}}
\newcommand{\matt}[4]{\begin{pmatrix} #1 & #2 \\ #3 & #4 \end{pmatrix}}
\newcommand{\mattt}[9]{\begin{pmatrix} #1 & #2 & #3 \\ #4 & #5 & #6 \\ #7 & #8 & #9 \end{pmatrix}}
\newcommand{\dett}[4]{\begin{vmatrix} #1 & #2 \\ #3 & #4 \end{vmatrix}}
\newcommand{\lmatt}[4]{\begin{pmatrix} #1 & \ldots & #2 \\ \vdots & \ddots & \vdots \\ #3 & \ldots & #4 \end{pmatrix}}
\newcommand{\quadf}[2]{\trans{\bm{#2}} #1 \bm{#2}}
\newcommand{\quads}[2]{\trans{#2} #1 {#2}}
\newcommand{\ord}[2]{\makeop{ord}_{#1}(#2)}
\newcommand{\bolA}{\mathbb{A}}
\newcommand{\bolB}{\mathbb{B}}
\newcommand{\CC}{\mathbb{C}}
\newcommand{\RR}{\mathbb{R}}
\newcommand{\QQ}{\mathbb{Q}}
\newcommand{\ZZ}{\mathbb{Z}}
\newcommand{\NN}{\mathbb{N}}
\newcommand{\FF}{\mathbb{F}}
\newcommand{\PP}{\mathbb{P}}
\newcommand{\PhiT}{\trans{\Phi}}
\newcommand{\calN}{{\cal N}}
\newcommand{\calD}{{\cal D}}
\newcommand{\calL}{{\cal L}}
\newcommand{\calQ}{{\cal Q}}
\newcommand{\calW}{{\cal W}}
\newcommand{\half}{\frac{1}{2}}
\newcommand{\ignore}[1]{}
\newcommand{\bmm}{\bm {m}}
\newcommand{\gen}[1]{\ensuremath{\langle#1\rangle} }
\newcommand{\combi}[2]{{}_{#1} {\rm C}_{#2}}
\newcommand{\floor}[1]{\lfloor #1 \rfloor}
%\newcommand{\eqq}{\underset{?}{=}}
\newcommand{\eqq}{\overset{?}{=}}
\newcommand{\emptypage}{\newpage \thispagestyle{empty} \mbox{}\newpage }
% move to remark.tex
%\newcommand{\image}[2]{{
%\begin{figure}[H]
% \centering
% \includegraphics{img/#1}
% \caption{#2}
% \label{fig:#1}
%\end{figure}
%}}
\newcommand{\tablecap}[2]{{
\begin{table}[H]
\begin{center}
\caption{#1}
#2
\end{center}
\end{table}
}}
\newcommand{\mydescription}[1]{
\begin{description}
\setlength{\itemindent}{2zw}
\setlength{\leftskip}{-2zw}
\setlength{\labelsep}{1zw}
#1
\end{description}
}
\newcommand{\myitemindent}{
\setlength{\itemindent}{0.5zw}
\setlength{\leftskip}{-2zw}
\setlength{\labelsep}{0.5zw}
}
% 通し番号
\newtheorem{theorem}{定理}
%\newtheorem{definition}[theorem]{定義}
\newtheorem{lemma}[theorem]{補題}
\renewcommand{\appendixname}{補遺}
\def\qed{\hfill $\Box$}