UNPKG

mathmlben

Version:

Visualization for goldstandard

86 lines 5.2 kB
<math xmlns="http://www.w3.org/1998/Math/MathML" id="p1.1.m1.1" class="ltx_Math" alttext="\mu(A)=\begin{cases}1&amp;\mbox{ if }0\in A\\&#10;0&amp;\mbox{ if }0\notin A\end{cases}" display="inline"> <semantics id="p1.1.m1.1a"> <mrow id="p1.1.m1.1.9" xref="p1.1.m1.1.9.cmml"> <mrow id="p1.1.m1.1.9.1" xref="p1.1.m1.1.9.1.cmml"> <mi id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">μ</mi> <mo id="p1.1.m1.1.9.1.1" xref="p1.1.m1.1.9.1.1.cmml"></mo> <mrow id="p1.1.m1.1.9.1.2" xref="p1.1.m1.1.9.1.cmml"> <mo stretchy="false" id="p1.1.m1.1.2" xref="p1.1.m1.1.9.1.cmml">(</mo> <mi id="p1.1.m1.1.3" xref="p1.1.m1.1.3.cmml">A</mi> <mo stretchy="false" id="p1.1.m1.1.4" xref="p1.1.m1.1.9.1.cmml">)</mo> </mrow> </mrow> <mo id="p1.1.m1.1.5" xref="p1.1.m1.1.5.cmml">=</mo> <mrow id="p1.1.m1.1.8" xref="p1.1.m1.1.8.1.cmml"> <mo id="p1.1.m1.1.6" xref="p1.1.m1.1.8.1.1.cmml">{</mo> <mtable columnspacing="5pt" rowspacing="0pt" id="p1.1.m1.1.7" xref="p1.1.m1.1.8.1.cmml"> <mtr id="p1.1.m1.1.7a" xref="p1.1.m1.1.8.1.cmml"> <mtd columnalign="left" id="p1.1.m1.1.7b" xref="p1.1.m1.1.8.1.cmml"> <mn id="p1.1.m1.1.7.1.1.1" xref="p1.1.m1.1.7.1.1.1.cmml">1</mn> </mtd> <mtd columnalign="left" id="p1.1.m1.1.7c" xref="p1.1.m1.1.8.1.cmml"> <mrow id="p1.1.m1.1.7.1.2.1" xref="p1.1.m1.1.7.1.2.1.cmml"> <mrow id="p1.1.m1.1.7.1.2.1.5" xref="p1.1.m1.1.7.1.2.1.5.cmml"> <mtext id="p1.1.m1.1.7.1.2.1.1" xref="p1.1.m1.1.7.1.2.1.1.cmml"> if </mtext> <mo id="p1.1.m1.1.7.1.2.1.5.1" xref="p1.1.m1.1.7.1.2.1.5.1.cmml"></mo> <mn id="p1.1.m1.1.7.1.2.1.2" xref="p1.1.m1.1.7.1.2.1.2.cmml">0</mn> </mrow> <mo id="p1.1.m1.1.7.1.2.1.3" xref="p1.1.m1.1.7.1.2.1.3.cmml"></mo> <mi id="p1.1.m1.1.7.1.2.1.4" xref="p1.1.m1.1.7.1.2.1.4.cmml">A</mi> </mrow> </mtd> </mtr> <mtr id="p1.1.m1.1.7d" xref="p1.1.m1.1.8.1.cmml"> <mtd columnalign="left" id="p1.1.m1.1.7e" xref="p1.1.m1.1.8.1.cmml"> <mn id="p1.1.m1.1.7.2.1.1" xref="p1.1.m1.1.7.2.1.1.cmml">0</mn> </mtd> <mtd columnalign="left" id="p1.1.m1.1.7f" xref="p1.1.m1.1.8.1.cmml"> <mrow id="p1.1.m1.1.7.2.2.1" xref="p1.1.m1.1.7.2.2.1.cmml"> <mrow id="p1.1.m1.1.7.2.2.1.5" xref="p1.1.m1.1.7.2.2.1.5.cmml"> <mtext id="p1.1.m1.1.7.2.2.1.1" xref="p1.1.m1.1.7.2.2.1.1.cmml"> if </mtext> <mo id="p1.1.m1.1.7.2.2.1.5.1" xref="p1.1.m1.1.7.2.2.1.5.1.cmml"></mo> <mn id="p1.1.m1.1.7.2.2.1.2" xref="p1.1.m1.1.7.2.2.1.2.cmml">0</mn> </mrow> <mo id="p1.1.m1.1.7.2.2.1.3" xref="p1.1.m1.1.7.2.2.1.3.cmml"></mo> <mi id="p1.1.m1.1.7.2.2.1.4" xref="p1.1.m1.1.7.2.2.1.4.cmml">A</mi> </mrow> </mtd> </mtr> </mtable> </mrow> </mrow> <annotation-xml encoding="MathML-Content" id="p1.1.m1.1b"> <apply id="p1.1.m1.1.9.cmml" xref="p1.1.m1.1.9"> <eq id="p1.1.m1.1.5.cmml" xref="p1.1.m1.1.5"/> <apply id="p1.1.m1.1.9.1.cmml" xref="p1.1.m1.1.9.1"> <times id="p1.1.m1.1.9.1.1.cmml" xref="p1.1.m1.1.9.1.1"/> <ci id="p1.1.m1.1.1.cmml" xref="p1.1.m1.1.1">𝜇</ci> <ci id="p1.1.m1.1.3.cmml" xref="p1.1.m1.1.3">𝐴</ci> </apply> <apply id="p1.1.m1.1.8.1.cmml" xref="p1.1.m1.1.8"> <csymbol cd="latexml" id="p1.1.m1.1.8.1.1.cmml" xref="p1.1.m1.1.6">cases</csymbol> <cn type="integer" id="p1.1.m1.1.7.1.1.1.cmml" xref="p1.1.m1.1.7.1.1.1">1</cn> <apply id="p1.1.m1.1.7.1.2.1.cmml" xref="p1.1.m1.1.7.1.2.1"> <in id="p1.1.m1.1.7.1.2.1.3.cmml" xref="p1.1.m1.1.7.1.2.1.3"/> <apply id="p1.1.m1.1.7.1.2.1.5.cmml" xref="p1.1.m1.1.7.1.2.1.5"> <times id="p1.1.m1.1.7.1.2.1.5.1.cmml" xref="p1.1.m1.1.7.1.2.1.5.1"/> <mtext id="p1.1.m1.1.7.1.2.1.1.cmml" xref="p1.1.m1.1.7.1.2.1.1"> if </mtext> <cn type="integer" id="p1.1.m1.1.7.1.2.1.2.cmml" xref="p1.1.m1.1.7.1.2.1.2">0</cn> </apply> <ci id="p1.1.m1.1.7.1.2.1.4.cmml" xref="p1.1.m1.1.7.1.2.1.4">𝐴</ci> </apply> <cn type="integer" id="p1.1.m1.1.7.2.1.1.cmml" xref="p1.1.m1.1.7.2.1.1">0</cn> <apply id="p1.1.m1.1.7.2.2.1.cmml" xref="p1.1.m1.1.7.2.2.1"> <notin id="p1.1.m1.1.7.2.2.1.3.cmml" xref="p1.1.m1.1.7.2.2.1.3"/> <apply id="p1.1.m1.1.7.2.2.1.5.cmml" xref="p1.1.m1.1.7.2.2.1.5"> <times id="p1.1.m1.1.7.2.2.1.5.1.cmml" xref="p1.1.m1.1.7.2.2.1.5.1"/> <mtext id="p1.1.m1.1.7.2.2.1.1.cmml" xref="p1.1.m1.1.7.2.2.1.1"> if </mtext> <cn type="integer" id="p1.1.m1.1.7.2.2.1.2.cmml" xref="p1.1.m1.1.7.2.2.1.2">0</cn> </apply> <ci id="p1.1.m1.1.7.2.2.1.4.cmml" xref="p1.1.m1.1.7.2.2.1.4">𝐴</ci> </apply> </apply> </apply> </annotation-xml> </semantics> </math>