[BACK]Return to genkou19991125.tex CVS log [TXT][DIR] Up to [local] / OpenXM / doc

Diff for /OpenXM/doc/Attic/genkou19991125.tex between version 1.46 and 1.47

version 1.46, 1999/12/22 17:00:50 version 1.47, 1999/12/22 18:01:06
Line 170  OpenXM µ¬Ìó¤Ç¤Ï¡¢¿ô³ØŪ¥ª¥Ö¥¸¥§¥¯¥È¤òɽ¸½¤¹¤ë¥ª¥ê¥¸¥Ê¥
Line 170  OpenXM µ¬Ìó¤Ç¤Ï¡¢¿ô³ØŪ¥ª¥Ö¥¸¥§¥¯¥È¤òɽ¸½¤¹¤ë¥ª¥ê¥¸¥Ê¥
 CMO ·Á¼°(Common Mathematical Object format)¤òÄêµÁ¤·¤Æ¤¤¤ë¡£  CMO ·Á¼°(Common Mathematical Object format)¤òÄêµÁ¤·¤Æ¤¤¤ë¡£
 ¤³¤Î CMO ·Á¼°¤ò»È¤Ã¤Æ¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë¤Ë¤Ï¡¢  ¤³¤Î CMO ·Á¼°¤ò»È¤Ã¤Æ¥á¥Ã¥»¡¼¥¸¤òÁ÷¤ë¤Ë¤Ï¡¢
 ¥¿¥°¤ò OX\_DATA ¤Ë¤¹¤ì¤Ð¤è¤¤¡£  ¥¿¥°¤ò OX\_DATA ¤Ë¤¹¤ì¤Ð¤è¤¤¡£
   CMO ·Á¼°¤Ë¤ª¤±¤ë¥á¥Ã¥»¡¼¥¸¤Î¥Ü¥Ç¥£Éôʬ¤Ë¤Ä¤¤¤Æ°Ê²¼¤ÇÀâÌÀ¤¹¤ë¤¬¡¢
   
 %OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥Ã¥»¡¼¥¸¤ò¼ÂºÝ¤ËºîÀ®¤¹¤ë¾ì¹ç¡¢  %OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¥á¥Ã¥»¡¼¥¸¤ò¼ÂºÝ¤ËºîÀ®¤¹¤ë¾ì¹ç¡¢
 CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿ÇÜĹÀ°¿ô¤òÍý²ò¤·¤Æ¤ª¤¯¤È¡¢  CMO ·Á¼°¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ë¿ÇÜĹÀ°¿ô¤òÍý²ò¤·¤Æ¤ª¤¯¤È¡¢
 CMO ·Á¼°¤Î¾¤Î¥Ç¡¼¥¿¹½Â¤¤À¤±¤Ç¤Ê¤¯¡¢ OX ·Á¼°¡¢ SM ·Á¼°¤Î¥Ç¡¼¥¿¤ò  CMO ·Á¼°¤Î¾¤Î¥Ç¡¼¥¿¹½Â¤¤À¤±¤Ç¤Ê¤¯¡¢
 Íý²ò¤¹¤ë½õ¤±¤Ë¤Ê¤ë¤È»×¤¨¤ë¤Î¤Ç¡¢  OpenXM µ¬Ìó¤ÇÄêµÁ¤µ¤ì¤Æ¤¤¤ëÍÍ¡¹¤Ê¥Ç¡¼¥¿¹½Â¤¤òÍý²ò¤¹¤ë½õ¤±¤Ë¤Ê¤ë¤È»×¤¨¤ë¤Î¤Ç¡¢
 °Ê²¼ CMO ·Á¼°¤Î¿ÇÜĹÀ°¿ô¤Î¥Ç¡¼¥¿¹½Â¤¤Ë¤Ä¤¤¤ÆÀâÌÀ¤¹¤ë¡£  ¤³¤³¤Ç¤Ï 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 212  $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}

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>