Difference between revisions of "Template:ProbMacros"
From Maths
(Added Mdm) |
(Added \ncr) |
||
Line 2: | Line 2: | ||
MDM: | MDM: | ||
− | -->{{M|\newcommand{\Mdm}[1]{\text{Mdm}{\left({#1}\right) } } }}<noinclude> | + | -->{{M|\newcommand{\Mdm}[1]{\text{Mdm}{\left({#1}\right) } } }}<!-- |
+ | |||
+ | nCr | ||
+ | -->{{M|\newcommand{\ncr}[2]{ \vphantom{C}^{#1}\!C_{#2} } }}<noinclude> | ||
==Changelog (from [[Template:ProbMacro]])== | ==Changelog (from [[Template:ProbMacro]])== | ||
* Using {{C|\E}} for expected value. [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 06:50, 29 November 2017 (UTC) | * Using {{C|\E}} for expected value. [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 06:50, 29 November 2017 (UTC) | ||
* Added {{C|\Mdm}} for things like {{M|\Mdm{X} }} [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 12:19, 8 January 2018 (UTC) | * Added {{C|\Mdm}} for things like {{M|\Mdm{X} }} [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 12:19, 8 January 2018 (UTC) | ||
+ | * Added {{C|\ncr}} for things like {{M|\ncr{n}{r} }} (and it works, not my usual: {{C|{}^nC_r}}) - see [[nCr]] [[User:Alec|Alec]] ([[User talk:Alec|talk]]) 12:26, 8 January 2018 (UTC) | ||
</noinclude> | </noinclude> |