packages feed

scholdoc-texmath-0.1: tests/writers/complex2.mml

<?xml version='1.0' ?>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
  <mtable>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Quadratic Equation</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>x</mi>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mo>-</mo>
              <mi>b</mi>
              <mo>±</mo>
              <msqrt>
                <mrow>
                  <msubsup>
                    <mi>b</mi>
                    <mrow />
                    <mn>2</mn>
                  </msubsup>
                  <mo>-</mo>
                  <mn>4</mn>
                  <mi>a</mi>
                  <mi>c</mi>
                </mrow>
              </msqrt>
            </mrow>
            <mrow>
              <mn>2</mn>
              <mi>a</mi>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">DisplayQuadratic Equation</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>x</mi>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mo>-</mo>
              <mi>b</mi>
              <mo>±</mo>
              <msqrt>
                <mrow>
                  <msubsup>
                    <mi>b</mi>
                    <mrow />
                    <mn>2</mn>
                  </msubsup>
                  <mo>-</mo>
                  <mn>4</mn>
                  <mi>a</mi>
                  <mi>c</mi>
                </mrow>
              </msqrt>
            </mrow>
            <mrow>
              <mn>2</mn>
              <mi>a</mi>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Rational Function</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>f</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>x</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>2</mn>
              </msubsup>
            </mrow>
            <mrow>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Rational Function</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>f</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>x</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mo stretchy="false" form="prefix">(</mo>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>2</mn>
              </msubsup>
              <mo stretchy="false" form="postfix">)</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
            </mrow>
            <mrow>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Rational Function</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>f</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>x</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mo stretchy="false" form="prefix">(</mo>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>2</mn>
              </msubsup>
              <mo stretchy="false" form="postfix">)</mo>
              <mo stretchy="false" form="prefix">(</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
              <mo>-</mo>
              <mn>5</mn>
              <mi>x</mi>
              <mo stretchy="false" form="postfix">)</mo>
            </mrow>
            <mrow>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Parametrize Rational Function</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>f</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>x</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <mfrac>
            <mrow>
              <mo stretchy="false" form="prefix">(</mo>
              <msubsup>
                <mi>a</mi>
                <mi>i</mi>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>2</mn>
              </msubsup>
              <msubsup>
                <mo stretchy="false" form="postfix">)</mo>
                <mrow />
                <mn>5</mn>
              </msubsup>
            </mrow>
            <mrow>
              <mn>1</mn>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>3</mn>
              </msubsup>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Stacked exponents</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>g</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>z</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <msubsup>
            <mi>e</mi>
            <mrow />
            <mrow>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mrow />
                <mn>2</mn>
              </msubsup>
            </mrow>
          </msubsup>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Stacked exponents</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>g</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>z</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <msubsup>
            <mi>e</mi>
            <mrow />
            <mrow>
              <mo>-</mo>
              <mo stretchy="false" form="prefix">(</mo>
              <mi>z</mi>
              <mo>-</mo>
              <mi>a</mi>
              <msubsup>
                <mo stretchy="false" form="postfix">)</mo>
                <mrow />
                <mn>2</mn>
              </msubsup>
            </mrow>
          </msubsup>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Stacked exponents</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>g</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>z</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <msubsup>
            <mi>e</mi>
            <mrow />
            <mrow>
              <mo>-</mo>
              <munderover>
                <mo>∑</mo>
                <mrow>
                  <mi>i</mi>
                  <mo>=</mo>
                  <mn>0</mn>
                </mrow>
                <mi>∞</mi>
              </munderover>
              <msubsup>
                <mi>z</mi>
                <mi>i</mi>
                <mn>2</mn>
              </msubsup>
            </mrow>
          </msubsup>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Stacked exponents</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>g</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>y</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <msubsup>
            <mi>e</mi>
            <mrow />
            <mrow>
              <mo>-</mo>
              <munderover>
                <mo>∑</mo>
                <mrow>
                  <mi>i</mi>
                  <mo>=</mo>
                  <mn>0</mn>
                </mrow>
                <mi>∞</mi>
              </munderover>
              <msubsup>
                <mi>y</mi>
                <mi>i</mi>
                <mn>2</mn>
              </msubsup>
            </mrow>
          </msubsup>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Stacked exponents</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mi>g</mi>
          <mo stretchy="false" form="prefix">(</mo>
          <mi>z</mi>
          <mo stretchy="false" form="postfix">)</mo>
          <mo>=</mo>
          <msubsup>
            <mi>e</mi>
            <mrow />
            <mrow>
              <mo>-</mo>
              <munderover>
                <mo>∑</mo>
                <mrow>
                  <mi>i</mi>
                  <mo>=</mo>
                  <mn>0</mn>
                </mrow>
                <mi>∞</mi>
              </munderover>
              <msubsup>
                <mi>z</mi>
                <mrow />
                <mfrac>
                  <mn>2</mn>
                  <mrow>
                    <mi>a</mi>
                    <mo>-</mo>
                    <mi>i</mi>
                  </mrow>
                </mfrac>
              </msubsup>
            </mrow>
          </msubsup>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Cross Product</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>1</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>2</mn>
                <mrow />
              </msubsup>
            </mrow>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>3</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>4</mn>
                <mrow />
              </msubsup>
            </mrow>
          </mfrac>
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>1</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>4</mn>
                <mrow />
              </msubsup>
            </mrow>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>2</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>3</mn>
                <mrow />
              </msubsup>
            </mrow>
          </mfrac>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Cross Product</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mo stretchy="false" form="prefix">(</mo>
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>1</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>2</mn>
                <mrow />
              </msubsup>
            </mrow>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>3</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>4</mn>
                <mrow />
              </msubsup>
            </mrow>
          </mfrac>
          <mo stretchy="false" form="postfix">)</mo>
          <mo stretchy="false" form="prefix">(</mo>
          <mfrac>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>1</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>4</mn>
                <mrow />
              </msubsup>
            </mrow>
            <mrow>
              <msubsup>
                <mi>x</mi>
                <mn>2</mn>
                <mrow />
              </msubsup>
              <mo>-</mo>
              <msubsup>
                <mi>x</mi>
                <mn>3</mn>
                <mrow />
              </msubsup>
            </mrow>
          </mfrac>
          <mo stretchy="false" form="postfix">)</mo>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Cross Product</mtext>
      </mtd>
      <mtd>
        <mrow>
          <mrow>
            <mo stretchy="true" form="prefix">(</mo>
            <mfrac>
              <mrow>
                <msubsup>
                  <mi>x</mi>
                  <mn>1</mn>
                  <mrow />
                </msubsup>
                <mo>-</mo>
                <msubsup>
                  <mi>x</mi>
                  <mn>2</mn>
                  <mrow />
                </msubsup>
              </mrow>
              <mrow>
                <msubsup>
                  <mi>x</mi>
                  <mn>3</mn>
                  <mrow />
                </msubsup>
                <mo>-</mo>
                <msubsup>
                  <mi>x</mi>
                  <mn>4</mn>
                  <mrow />
                </msubsup>
              </mrow>
            </mfrac>
            <mo stretchy="true" form="postfix">)</mo>
          </mrow>
          <mrow>
            <mo stretchy="true" form="prefix">(</mo>
            <mfrac>
              <mrow>
                <msubsup>
                  <mi>x</mi>
                  <mn>1</mn>
                  <mrow />
                </msubsup>
                <mo>-</mo>
                <msubsup>
                  <mi>x</mi>
                  <mn>4</mn>
                  <mrow />
                </msubsup>
              </mrow>
              <mrow>
                <msubsup>
                  <mi>x</mi>
                  <mn>2</mn>
                  <mrow />
                </msubsup>
                <mo>-</mo>
                <msubsup>
                  <mi>x</mi>
                  <mn>3</mn>
                  <mrow />
                </msubsup>
              </mrow>
            </mfrac>
            <mo stretchy="true" form="postfix">)</mo>
          </mrow>
        </mrow>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mtext mathvariant="normal">Cross Product</mtext>
      </mtd>
      <mtd>
        <mfrac>
          <mrow>
            <mo stretchy="false" form="prefix">(</mo>
            <msubsup>
              <mi>x</mi>
              <mn>1</mn>
              <mrow />
            </msubsup>
            <mo>-</mo>
            <msubsup>
              <mi>x</mi>
              <mn>2</mn>
              <mrow />
            </msubsup>
            <mo stretchy="false" form="postfix">)</mo>
            <mo stretchy="false" form="prefix">(</mo>
            <msubsup>
              <mi>x</mi>
              <mn>3</mn>
              <mrow />
            </msubsup>
            <mo>-</mo>
            <msubsup>
              <mi>x</mi>
              <mn>4</mn>
              <mrow />
            </msubsup>
            <mo stretchy="false" form="postfix">)</mo>
          </mrow>
          <mrow>
            <mo stretchy="false" form="prefix">(</mo>
            <msubsup>
              <mi>x</mi>
              <mn>1</mn>
              <mrow />
            </msubsup>
            <mo>-</mo>
            <msubsup>
              <mi>x</mi>
              <mn>4</mn>
              <mrow />
            </msubsup>
            <mo stretchy="false" form="postfix">)</mo>
            <mo stretchy="false" form="prefix">(</mo>
            <msubsup>
              <mi>x</mi>
              <mn>2</mn>
              <mrow />
            </msubsup>
            <mo>-</mo>
            <msubsup>
              <mi>x</mi>
              <mn>3</mn>
              <mrow />
            </msubsup>
            <mo stretchy="false" form="postfix">)</mo>
          </mrow>
        </mfrac>
      </mtd>
    </mtr>
  </mtable>
</math>