Skip to content

Instantly share code, notes, and snippets.

@nanofi
Last active January 2, 2016 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nanofi/8313448 to your computer and use it in GitHub Desktop.
Save nanofi/8313448 to your computer and use it in GitHub Desktop.
\newcommand{\p}[1]{{\rm Pr}(#1)}
\renewcommand{\vec}[1]{{\boldsymbol #1}}
\newcommand{\mat}[1]{{\boldsymbol #1}}
\newcommand{\set}[1]{#1}
\newcommand{\fset}[1]{{\mathcal #1}}
\newcommand{\family}[1]{{\mathcal #1}}
\newcommand{\Mean}[2][]{{\rm E}_{#1}\left[ #2 \right]}
\newcommand{\Var}[2][]{{\rm Var}_{#1}[#2]}
\newcommand{\Cov}[3][]{{\rm Cov}_{#1}[#2,#3]}
\newcommand{\hadm}{*}
\newcommand{\sgn}[1]{{\rm sgn}(#1)}
\newcommand{\Tr}[1]{{\rm Tr}(#1)}
\DeclarePairedDelimiterX\inner[2]{\langle}{\rangle}{#1,#2}
\DeclarePairedDelimiter\norm{\lVert}{\rVert}
\DeclarePairedDelimiter\abs{\lvert}{\rvert}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\newcommand{\RealSet}{\mathbb{R}}
\newcommand{\ComplexSet}{\mathbb{C}}
\newcommand{\NaturalSet}{\mathbb{N}}
\newcommand{\SemiDefinite}{\mathbb{S}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment