123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122 |
- Tue Feb 10 12:28:50 2004 run on Linux
- on mathml;
- % output
- sin (x);
- <math>
- <apply><sin/>
- <ci>x</ci>
- </apply>
- </math>
- (x + y)^5;
- <math>
- <apply><plus/>
- <apply><power/>
- <ci>x</ci>
- <cn type="integer">5</cn>
- </apply>
- <apply><times/>
- <cn type="integer">5</cn>
- <apply><power/>
- <ci>x</ci>
- <cn type="integer">4</cn>
- </apply>
- <ci>y</ci>
- </apply>
- <apply><times/>
- <cn type="integer">10</cn>
- <apply><power/>
- <ci>x</ci>
- <cn type="integer">3</cn>
- </apply>
- <apply><power/>
- <ci>y</ci>
- <cn type="integer">2</cn>
- </apply>
- </apply>
- <apply><times/>
- <cn type="integer">10</cn>
- <apply><power/>
- <ci>x</ci>
- <cn type="integer">2</cn>
- </apply>
- <apply><power/>
- <ci>y</ci>
- <cn type="integer">3</cn>
- </apply>
- </apply>
- <apply><times/>
- <cn type="integer">5</cn>
- <ci>x</ci>
- <apply><power/>
- <ci>y</ci>
- <cn type="integer">4</cn>
- </apply>
- </apply>
- <apply><power/>
- <ci>y</ci>
- <cn type="integer">5</cn>
- </apply>
- </apply>
- </math>
- off mathml;
- parseml();
- <math>
- <apply><plus/>
- <cn>3</cn>
- <cn>5</cn>
- </apply>
- </math>
- 8
-
- operator gt;
- % MathML 1.x form
- parseml();
- <math>
- <reln><gt/>
- <ci>x</ci>
- <ci>y</ci>
- </reln>
- </math>
- x>y
- % MathML 2.x form
- parseml();
- <math>
- <apply><gt/>
- <ci>x</ci>
- <ci>y</ci>
- </apply>
- </math>
- x>y
- end;
- Time for test: 1 ms, plus GC time: 20 ms
|