Template:ProbMacros
From Maths
Revision as of 06:50, 29 November 2017 by Alec (Talk | contribs) (Created page with "{{ProbMacro}}{{M|\newcommand{\E}[1]{ {\mathbb{E}{\left[{#1}\right]} } }}<noinclude> Using {{C|\E}} for expected value. ~~~~ </noinclude>")
[ilmath]\newcommand{\P}[2][]{\mathbb{P}#1{\left[{#2}\right]} } \newcommand{\Pcond}[3][]{\mathbb{P}#1{\left[{#2}\!\ \middle\vert\!\ {#3}\right]} } \newcommand{\Plcond}[3][]{\Pcond[#1]{#2}{#3} } \newcommand{\Prcond}[3][]{\Pcond[#1]{#2}{#3} }[/ilmath]
[ilmath]\newcommand{\E}[1]{ {\mathbb{E}{\left[{#1}\right]} } [/ilmath]
Using \E for expected value. Alec (talk) 06:50, 29 November 2017 (UTC)