ã¤ã³ã¹ã¿ã³ã¹ãå±ããã¯ã©ã¹ããã¨ããå¤æ´ããæä½ããããããªè¨èªã§
id:sumim:20090121:p2 ã®ç¶ããã¯ããã¦ã©ããªè¨èªã«ãã®ç¨®ã®æ©è½ãåãã£ã¦ããã®ãèå³ãæã£ãã®ã§èª¿ã¹ã¦æ¸ãã¦ã¿ããã¨ã«ãã¾ããããã ãä¼ç¤¾å¡ã¨å¦çã®ä¾ã®ã¾ã¾ã§ã¯ã¯ã³ãã£ã³åæ§ããããããã¨ãåºæ¥ã¦ä½ãå¬ããã®ãã¤ã¡ã¼ã¸ãã«ããã¨æãã®ã§ãCommon Lisp HyperSpec ã® CHANGE-CLASS ã«ãã座æ¨ç³»å¤æã®ä¾ã«å¤ãã¾ãããããã¡ãã®ã»ãããã·ã³ãã«ãªã¾ã¾è¦ç¹ãæ¼ããã¦ãã¦ããããããªã¨ã
念ã®ããæ¦è¦ã¨æ¡ä»¶ãæ¸ãã¦ããã¾ãã¨ãæé ã¨ãã¦ã¯ã
- ç´äº¤åº§æ¨ç³»ï¼cartesianï¼ã¨æ¥µåº§æ¨ç³»(polarï¼ã¨ããäºã¤ã®ã¯ã©ã¹ãå®ç¾©
- 極座æ¨ç³»ã®ã¤ã³ã¹ã¿ã³ã¹ãçæå¾ããããå±ããã¯ã©ã¹ãç´äº¤åº§æ¨ç³»ã«å¤æ´
- ï¼ãã¾ãã§ï¼ãµããã³æ¥µåº§æ¨ç³»ã«
ã¨ããæä½ãè¡ãªãããã®å¾ã
- ç´äº¤åº§æ¨ç³»ã¯ã©ã¹ã«å±ããããã«ãªã£ãã¨ãã« x ã y ã®å¤ãï¼å¤æããã¦ï¼å¼ãç¶ããã¦ãããï¼
- ãããããå¥ã®å¤æ°ã«ãé¢é£ã¥ããã¦ãããåä¸ãªãã¸ã§ã¯ããåæ§ãï¼
ã確èªã§ãã¦ãã¯ãªã¢ãã¨ãã¦ãã¾ãã
åè ã¯ãå®ç¨é¢ãèããã¨ãããããã¨ãã·ã³ãã«ã«å®ç¾ã§ããã»ãããã¿ã¼ããªâ¦ã¨ããç¨åº¦ã®ãã¢ã³ã¹ãã¬ã¼ã·ã§ã³ã®æå³åãã§ãããå¾è ã¯ããã¤ã¯å¥ã®ãªãã¸ã§ã¯ããåä»£å ¥ããã ãã ã£ãâ¦ã¨ããåéããé¿ããããã®ãã§ãã¯ãªã®ã§å¿ ã確èªãã¦ããã»ããããã¨æãã¾ãã
ã¨ãããããæãã¤ãç¯å²ã§ SmalltalkãCommon Lisp (CLOS)ãPython ã ãã試ãã¾ããããä»ã«è¦ã¤ããã°é 次追å ãã¦ããã¤ããã§ãã
追å å
ä»ãµã¤ãããï¼å¤è¬ï¼ï¼