version 1.45, 1999/12/22 16:17:47 |
version 1.47, 1999/12/22 18:01:06 |
Line 168 OpenXM µ¬Ìó¤Ç¤Î·×»»¤È¤Ï¥á¥Ã¥»¡¼¥¸¤ò¸ò´¹¤¹¤ë¤³¤È¤Ç¤¢¤ë¡ |
|
Line 168 OpenXM µ¬Ìó¤Ç¤Î·×»»¤È¤Ï¥á¥Ã¥»¡¼¥¸¤ò¸ò´¹¤¹¤ë¤³¤È¤Ç¤¢¤ë¡ |
|
|
|
OpenXM µ¬Ìó¤Ç¤Ï¡¢¿ô³ØŪ¥ª¥Ö¥¸¥§¥¯¥È¤òɽ¸½¤¹¤ë¥ª¥ê¥¸¥Ê¥ë¤ÎÊýË¡¤È¤·¤Æ |
OpenXM µ¬Ìó¤Ç¤Ï¡¢¿ô³ØŪ¥ª¥Ö¥¸¥§¥¯¥È¤òɽ¸½¤¹¤ë¥ª¥ê¥¸¥Ê¥ë¤ÎÊýË¡¤È¤·¤Æ |
CMO ·Á¼°(Common Mathematical Object format)¤òÄêµÁ¤·¤Æ¤¤¤ë¡£ |
CMO ·Á¼°(Common Mathematical Object format)¤òÄêµÁ¤·¤Æ¤¤¤ë¡£ |
|
¤³¤Î CMO ·Á¼°¤ò»È¤Ã¤Æ¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë¤Ë¤Ï¡¢ |
OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥Ã¥»¡¼¥¸¤ò¼ÂºÝ¤ËºîÀ®¤¹¤ë¾ì¹ç¡¢ |
¥¿¥°¤ò OX\_DATA ¤Ë¤¹¤ì¤Ð¤è¤¤¡£ |
|
CMO ·Á¼°¤Ë¤ª¤±¤ë¥á¥Ã¥»¡¼¥¸¤Î¥Ü¥Ç¥£Éôʬ¤Ë¤Ä¤¤¤Æ°Ê²¼¤ÇÀâÌÀ¤¹¤ë¤¬¡¢ |
|
%OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥Ã¥»¡¼¥¸¤ò¼ÂºÝ¤ËºîÀ®¤¹¤ë¾ì¹ç¡¢ |
CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿ÇÜĹÀ°¿ô¤òÍý²ò¤·¤Æ¤ª¤¯¤È¡¢ |
CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿ÇÜĹÀ°¿ô¤òÍý²ò¤·¤Æ¤ª¤¯¤È¡¢ |
CMO ·Á¼°¤Î¾¤Î¥Ç¡¼¥¿¹½Â¤¤À¤±¤Ç¤Ê¤¯¡¢ OX ·Á¼°¡¢ SM ·Á¼°¤Î¥Ç¡¼¥¿¤ò |
CMO ·Á¼°¤Î¾¤Î¥Ç¡¼¥¿¹½Â¤¤À¤±¤Ç¤Ê¤¯¡¢ |
Íý²ò¤¹¤ë½õ¤±¤Ë¤Ê¤ë¤È»×¤¨¤ë¤Î¤Ç¡¢ CMO ·Á¼°¤Î¿ÇÜĹÀ°¿ô¤Î |
OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ëÍÍ¡¹¤Ê¥Ç¡¼¥¿¹½Â¤¤òÍý²ò¤¹¤ë½õ¤±¤Ë¤Ê¤ë¤È»×¤¨¤ë¤Î¤Ç¡¢ |
¥Ç¡¼¥¿¹½Â¤¤Ë¤Ä¤¤¤ÆÀâÌÀ¤¹¤ë¡£ |
¤³¤³¤Ç¤Ï CMO ·Á¼°¤Î¿ÇÜĹÀ°¿ô¤Î¥Ç¡¼¥¿¹½Â¤¤Ë¤Ä¤¤¤Æ¤Î¤ßÀâÌÀ¤¹¤ë¡£ |
|
|
CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¤Ï¿ÇÜĹÀ°¿ô°Ê³°¤Ë¤â |
CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¤Ï¿ÇÜĹÀ°¿ô°Ê³°¤Ë¤â |
ʸ»úÎó¤ä¥ê¥¹¥È¹½Â¤¤Ê¤É¤¬¤¢¤ë¡£¤É¤Î¤è¤¦¤Ê¥Ç¡¼¥¿¤Ç¤¢¤ë¤«¤Ï |
ʸ»úÎó¤ä¥ê¥¹¥È¹½Â¤¤Ê¤É¤¬¤¢¤ë¡£¤É¤Î¤è¤¦¤Ê¥Ç¡¼¥¿¤Ç¤¢¤ë¤«¤Ï |
¥Ç¡¼¥¿¤ÎÀèƬ¤Ë¤¢¤ë¥¿¥°¤ò¸«¤ì¤ÐȽÊ̤Ǥ¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
¥Ç¡¼¥¿¤ÎÀèƬ¤Ë¤¢¤ë(¥á¥Ã¥»¡¼¥¸¤Î¼±Ê̻ҤȤÏÊ̤ˤ¢¤ë)¥¿¥°¤ò¸«¤ì¤Ð |
¤³¤ì¤Ï¥á¥Ã¥»¡¼¥¸¤Î¥Ç¡¼¥¿¤ÎȽÊ̤λÅÊý¤È¤ª¤Ê¤¸¤Ç¤¢¤ë¡£ |
ȽÊ̤Ǥ¤ë¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
|
¤³¤ì¤Ï¥á¥Ã¥»¡¼¥¸¤Î¼ïÎà¤ÎȽÊ̤λÅÊý¤È¤ª¤Ê¤¸¤Ç¤¢¤ë¡£ |
¤Ê¤ª¡¢¥¿¥°¤Ï³Æ¥Ç¡¼¥¿Ëè¤Ë 32 bit ¤ÎÀ°¿ô¤Çɽ¤µ¤ì¤Æ¤ª¤ê¡¢ |
¤Ê¤ª¡¢¥¿¥°¤Ï³Æ¥Ç¡¼¥¿Ëè¤Ë 32 bit ¤ÎÀ°¿ô¤Çɽ¤µ¤ì¤Æ¤ª¤ê¡¢ |
¿ÇÜĹÀ°¿ô¤Ï 20 ¤È¤Ê¤Ã¤Æ¤¤¤ë¡£ |
¿ÇÜĹÀ°¿ô¤Ï 20 ¤È¤Ê¤Ã¤Æ¤¤¤ë¡£ |
¤³¤³¤Ç 32 bit ¤ÎÀ°¿ô¤Îɽ¸½ÊýË¡¤Ë¤Ä¤¤¤ÆÀâÌÀ¤¹¤ëɬÍפ¬¤¢¤ë¡£ |
¤è¤¯»È¤ï¤ì¤ë¤È»×¤ï¤ì¤ë CMO ·Á¼°¤Î¥¿¥°¤ò¤¢¤²¤Æ¤ª¤¯¡£ |
OpenXM ¤Ç¤Ï¥Ð¥¤¥ÈÎó¤Ç 32 bit ¤ÎÀ°¿ô 20 ¤ò |
\begin{verbatim} |
|
#define CMO_INT32 2 /* 32 ¥Ó¥Ã¥ÈÀ°¿ô */ |
|
#define CMO_STRING 4 /* ʸ»úÎó */ |
|
#define CMO_LIST 17 /* ¥ê¥¹¥È¹½Â¤ */ |
|
#define CMO_ZZ 20 /* ¿ÇÜĹÀ°¿ô */ |
|
\end{verbatim} |
|
|
|
¤³¤³¤Ç TCP/IP ¼ÂÁõ¤Ë¤ª¤±¤ë 32 bit ¤ÎÀ°¿ô¤Î |
|
ɽ¸½ÊýË¡¤Ë¤Ä¤¤¤ÆÀâÌÀ¤¹¤ëɬÍפ¬¤¢¤ë¡£ |
|
OpenXM µ¬Ìó¤Î TCP/IP ¼ÂÁõ¤Ç¤Ï¥Ð¥¤¥È¥¹¥È¥ê¡¼¥à¤Ç 32 bit ¤ÎÀ°¿ô 20 ¤ò |
{\tt 00 00 00 14} ¤Èɽ¤¹ÊýË¡¤È {\tt 14 00 00 00} ¤Èɽ¤¹ÊýË¡¤¬¤¢¤ë¡£ |
{\tt 00 00 00 14} ¤Èɽ¤¹ÊýË¡¤È {\tt 14 00 00 00} ¤Èɽ¤¹ÊýË¡¤¬¤¢¤ë¡£ |
¤³¤Îɽ¸½ÊýË¡¤Î°ã¤¤¤Ï¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤ÎºÇ½é¤ÎÀܳ»þ¤Ë |
¤³¤Îɽ¸½ÊýË¡¤Î°ã¤¤¤Ï¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð¤ÎºÇ½é¤ÎÀܳ»þ¤Ë |
ÁÐÊý¤Î¹ç°Õ¤Ç·èÄꤹ¤ë¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
ÁÐÊý¤Î¹ç°Õ¤Ç·èÄꤹ¤ë¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
¤Ê¤ª¡¢¹ç°Õ¤¬¤Ê¤¤¾ì¹ç¤Ë¤Ï |
¤Ê¤ª¡¢¹ç°Õ¤¬¤Ê¤¤¾ì¹ç¤Ë¤ÏÁ°¼Ô¤Îɽ¸½ÊýË¡ |
Á°¼Ô¤Îɽ¸½ÊýË¡(°Ê¸å¡¢¤³¤Îɽ¸½ÊýË¡¤ò network byte order ¤È¸Æ¤Ö)¤ò |
(°Ê¸å¡¢¤³¤Îɽ¸½ÊýË¡¤ò¥Í¥Ã¥È¥ï¡¼¥¯¥Ð¥¤¥È¥ª¡¼¥À¡¼¤È¸Æ¤Ö)¤ò |
»È¤¦¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
»È¤¦¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
¤Þ¤¿¡¢Éé¤Î¿ô¤òɽ¸½¤¹¤ëɬÍפ¬¤¢¤ë¤È¤¤Ë¤Ï¡¢ |
¤Þ¤¿¡¢Éé¤Î¿ô¤òɽ¸½¤¹¤ëɬÍפ¬¤¢¤ë¤È¤¤Ë¤Ï¡¢ |
2 ¤ÎÊä¿ôɽ¸½¤ò»È¤¦¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
2 ¤ÎÊä¿ôɽ¸½¤ò»È¤¦¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¡£ |
|
|
ɽ¸½¤·¤¿¤¤Â¿ÇÜĹÀ°¿ô¤ÎÀäÂÐÃͤò 2 ¿Ê¿ô¤Çɽ¤·¤¿¾ì¹ç¤Î·å¿ô¤ò $n$ ¤È |
ɽ¸½¤·¤¿¤¤Â¿ÇÜĹÀ°¿ô¤ÎÀäÂÐÃͤò 2 ¿Ê¿ô¤Çɽ¤·¤¿¾ì¹ç¤Î·å¿ô¤ò $n$ ¤È |
¤·¤¿¤È¤¡¢¼¡¤Ë¤¯¤ë¥Ç¡¼¥¿¤Ï $[(n+31)/32]$ ¤ò 32 bit ¤ÎÀ°¿ô¤È¤Ê¤ë¡£ |
¤·¤¿¤È¤¡¢¼¡¤Ë¤¯¤ë¥Ç¡¼¥¿¤Ï $[(n+31)/32]$ ¤ò 32 bit ¤ÎÀ°¿ô¤Çɽ¤·¤¿ÃͤȤʤ롣 |
¤³¤ì¤Ï¿ÇÜĹÀ°¿ô¤ÎÀäÂÐÃͤò $2^{32}$ ¿Ê¿ô¤Çɽ¤·¤¿¾ì¹ç¤Î·å¿ô¤È¤È¤Ã¤Æ¤â¤è¤¤¡£ |
¤³¤ì¤Ï¿ÇÜĹÀ°¿ô¤ÎÀäÂÐÃͤò $2^{32}$ ¿Ê¿ô¤Çɽ¤·¤¿¾ì¹ç¤Î·å¿ô¤È¤È¤Ã¤Æ¤â¤è¤¤¡£ |
¤¿¤À¤·¡¢É½¸½¤·¤¿¤¤¿ô¤¬Éé¤Î¾ì¹ç¤Ï $[(n+31)/32]$ ¤ò 32 bit ¤ÎÀ°¿ô¤Çɽ¤·¤¿Ãͤò |
¤¿¤À¤·¡¢É½¸½¤·¤¿¤¤¿ô¤¬Éé¤Î¾ì¹ç¤Ï $[(n+31)/32]$ ¤ò 32 bit ¤ÎÀ°¿ô¤Çɽ¤·¤¿Ãͤò |
2 ¤ÎÊä¿ôɽ¸½¤ÇÉé¤Ë¤·¤Æ¡¢Àµ¤Î¾ì¹ç¤È¶èÊ̤¹¤ë¡£ |
2 ¤ÎÊä¿ôɽ¸½¤ÇÉé¤Ë¤·¤Æ¡¢Àµ¤Î¾ì¹ç¤È¶èÊ̤¹¤ë¡£ |
Line 209 $b_0$, $b_1$, $\cdots$, $b_k$ ¤ò¤½¤ì¤¾¤ì 32 bit À°¿ô¤Ç |
|
Line 221 $b_0$, $b_1$, $\cdots$, $b_k$ ¤ò¤½¤ì¤¾¤ì 32 bit À°¿ô¤Ç |
|
»²¹Í¤Ë¤·¤Æ¹ç¤ï¤»¤Æ¤¢¤ë¡£ |
»²¹Í¤Ë¤·¤Æ¹ç¤ï¤»¤Æ¤¢¤ë¡£ |
|
|
¤³¤³¤Ç¶ñÂÎÎã¤ò¤À¤½¤¦¡£ |
¤³¤³¤Ç¶ñÂÎÎã¤ò¤À¤½¤¦¡£ |
$4294967298 = 1 \times 2^{32} + 2$ ¤ò network byte order ¤Î¿ÇÜĹÀ°¿ô¤Ç |
$4294967298 = 1 \times 2^{32} + 2$ ¤ò¥Í¥Ã¥È¥ï¡¼¥¯¥Ð¥¤¥È¥ª¡¼¥À¡¼¤Î¿ÇÜĹÀ°¿ô¤Ç |
ɽ¸½¤¹¤ë¤È¡¢ |
ɽ¸½¤¹¤ë¤È¡¢ |
\begin{center} |
\begin{center} |
{\tt 00 00 00 14 00 00 00 02 00 00 00 02 00 00 00 01} |
{\tt 00 00 00 14 00 00 00 02 00 00 00 02 00 00 00 01} |