@overfullrule=0pt
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
‘om.rr’にこの節で定義されている関数が定義されている. Java の実行環境が設定されていることが必要である.
Author of OMproxy : Yasushi Tamura.
1.0.1 om_start | ||
1.0.2 om_xml | ||
1.0.3 om_xml_to_cmo |
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
om_start:: OMproxy をスタートする. このサーバは CMO と OpenMath XML (CD’s in 1999)
との間の変換をおこなう.
数
[155] load("om.rr");
1
[160] om_start();
control: wait OX
Trying to connect to the server... Done.
0
[161] om_xml(<<1,0>>+2*<<0,1>>);
<OMOBJ><OMA><OMS name="DMP" cd="poly"/>
<OMA><OMS name="PolyRing" cd="poly"/>
<OMI>2</OMI></OMA><OMA>
<OMS name="SDMP" cd="poly"/>
<OMA><OMS name="Monom" cd="poly"/><OMI>1</OMI><OMI>1</OMI><OMI>0</OMI></OMA>
<OMA><OMS name="Monom" cd="poly"/><OMI>2</OMI><OMI>0</OMI><OMI>1</OMI></OMA>
</OMA></OMA></OMOBJ>
[162] om_xml_to_cmo(@);
(1)*<<1,0>>+(2)*<<0,1>>
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
om_xml:: s の CMO 表現を OpenMath の XML (CD’s in 1999) 表現になおす.
文字列
数
オブジェクト
For (I=0; I<10; I++) {
A = 2^I;
B = om_xml(A);
C = om_xml_to_cmo(B);
print(A == C);
}
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
om_xml_to_cmo:: OpenMath の XML (CD’s in 1999) 表現 s を CMO になおす.
オブジェクト
数
文字列
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| Jump to: | O |
|---|
| Index Entry | Section | ||
|---|---|---|---|
| | |||
| O | |||
om_start | 1.0.1 om_start | ||
om_xml | 1.0.2 om_xml | ||
om_xml_to_cmo | 1.0.3 om_xml_to_cmo | ||
| | |||
| Jump to: | O |
|---|
| [Top] | [Contents] | [Index] | [ ? ] |
| [Top] | [Contents] | [Index] | [ ? ] |
| [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on November 5, 2025 using texi2html 5.0.
The buttons in the navigation panels have the following meaning:
| Button | Name | Go to | From 1.2.3 go to |
|---|---|---|---|
| [ << ] | FastBack | Beginning of this chapter or previous chapter | 1 |
| [ < ] | Back | Previous section in reading order | 1.2.2 |
| [ Up ] | Up | Up section | 1.2 |
| [ > ] | Forward | Next section in reading order | 1.2.4 |
| [ >> ] | FastForward | Next chapter | 2 |
| [Top] | Top | Cover (top) of document | |
| [Contents] | Contents | Table of contents | |
| [Index] | Index | Index | |
| [ ? ] | About | About (help) |
where the Example assumes that the current position is at Subsubsection One-Two-Three of a document of the following structure:
This document was generated on November 5, 2025 using texi2html 5.0.