
|
Go to the first, previous, next, last section, table of contents.
- map(function,arg0,arg1,...)
-
:: ¥ê¥¹¥È, ÇÛÎó¤Î³ÆÍ×ÁǤËÈ¡¿ô¤òŬÍѤ¹¤ë.
- return
-
arg0 ¤ÈƱ¤¸·¿¤Î¥ª¥Ö¥¸¥§¥¯¥È
- function
-
È¡¿ô̾
- arg0
-
¥ê¥¹¥È, ¥Ù¥¯¥È¥ë, ¹ÔÎó
- arg1, ...
-
Ǥ°Õ (»Ä¤ê¤Î°ú¿ô)
-
arg0 ¤Î³ÆÍ×ÁǤòºÇ½é¤Î°ú¿ô, arg1 °Ê²¼¤Î»Ä¤ê¤Î°ú¿ô¤È¤·¤Æ
È¡¿ô function ¤ò¸Æ¤Ó½Ð¤·, arg0 ¤ÎÂбþ¤¹¤ëÍ×ÁǤΰÌÃÖ¤Ë
È¡¿ô¸Æ¤Ó½Ð¤·¤Î·ë²Ì¤¬Æþ¤Ã¤¿Æ±¤¸·¿¤Î¥ª¥Ö¥¸¥§¥¯¥È¤òÀ¸À®¤·¤ÆÊÖ¤¹.
-
function ¤Ï, ¥À¥Ö¥ë¥¯¥©¡¼¥È¤Î¤Ê¤¤È¡¿ô̾¤òÍѤ¤¤ë.
-
function ¤Ë¥×¥í¥°¥é¥àÊÑ¿ô¤Ï»È¤¨¤Ê¤¤.
-
arg0 ¤¬¥ê¥¹¥È, ¥Ù¥¯¥È¥ë, ¹ÔÎó°Ê³°¤Î¾ì¹ç, ñ¤Ë arg0,
arg1, ... ¤ò°ú¿ô¤È¤·¤Æ function ¤ò¸Æ¤Ó½Ð¤·¤½¤Î
·ë²Ì¤òÊÖ¤¹.
[82] def afo(X) { return X^3; }
[83] map(afo,[1,2,3]);
[1,8,27]
Go to the first, previous, next, last section, table of contents.
|