| SET :: Infinite :: Basic. SET :: Infinite :: BasicÀº °£°Ý ¼¼Æ®°¡ÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
SET :: Infinite :: Basic. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Flavio Soibelmann Glock
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~fglock/DateTime-Event-Random-0.03/lib/DateTime/Event/Random.pm
SET :: Infinite :: Basic. ű×
SET :: Infinite :: Basic. ¼³¸í
SET :: Infinite :: BasicÀº °£°Ý ¼¼Æ®°¡ÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. SET :: Infinite :: BasicÀº °£°Ý ¼¼Æ®°¡ÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù .Synopsis »ç¿ë Set :: Infinite :: Basic; $ set = set :: Infinite :: basic-> new (1,2); # $ SET-> UNION (5,6); # , SET :: Infinite :: BasicÀº ¹«ÇÑ SetÀÇ ¼³Á¤ ÀÌ·Ð ¸ðµâÀÔ´Ï´Ù. ½ÇÁ¦, Á¤¼ö ¹× °´Ã¼¿¡¼ ÀÛµ¿ÇÕ´Ï´Ù.ÀÌ ¸ðµâÀº Àç¹ßÀ» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. Àç¹ßÀº SET :: Infinite.MethodsEmpty_setCreates Empty_set.IF ±âÁ¸ ¼¼Æ®¿¡¼ È£ÃâµÇ´Â °æ¿ì ºó ¼¼Æ®´Â "À¯Çü"¹× "¹Ðµµ"Ư¼ºÀ» »ó¼Ó¹Þ½À´Ï´Ù. "¸ðµç"°¡´ÉÇÑ ¿ä¼Ò°¡ Æ÷ÇÔ µÈ ¼¼Æ®¸¦ Æ÷ÇÔÇÕ´Ï´Ù. , ¹ü¿ë ¼¼Æ®´Â "À¯Çü"¹× "¹Ðµµ"Ư¼ºÀ» »ó¼ÓÇÕ´Ï´Ù. ´Ù¸¥ : 0,5,7 -> 2,6,10GIVES () '..' ''ÀÔ´Ï´Ù. ¹«ÇÑ´ë '¹«ÇÑ´ë'¹øÈ£¸¦ ¹ÝȯÇÕ´Ï´Ù. Neg_Infinity '-infinity'¹øÈ£¸¦ ¹ÝȯÇÕ´Ï´Ù. iteration (ÇÏÀ§ {})Àº ¼ºê ·çƾÀ» ¹Ýº¹ÇÕ´Ï´Ù. ºÎºÐ °á°úÀÇ Á¶ÇÕÀ» ¹ÝȯÇÕ´Ï´Ù. ½ºÄ®¶ó ÄÁÅؽºÆ®¿¡¼ ¸ÕÀú ¼¼Æ®ÀÇ Ã¹ ¹ø° °£°ÝÀ» ¹ÝȯÇÕ´Ï´Ù. ¸ñ·Ï¿¡¼ ÄÁÅؽºÆ®´Â ¼¼Æ®ÀÇ Ã¹ ¹ø° °£°Ý°ú '²¿¸®'¸¦ ¹ÝȯÇÕ´Ï´Ù. ¹«ÇÑÇÑ ¼¼Æ® À¯Çü ($ i)¿¡¼ ÀÛµ¿ÇÏ´Â °ÍÀº ¿ÀºêÁ§Æ® µ¥ÀÌÅÍ À¯ÇüÀ» ¼±ÅÃÇÕ´Ï´Ù. ±âº»°ªÀº ¾øÀ½ (ÀÏ¹Ý Perl ½ºÄ®¶ó)ÀÔ´Ï´Ù. ¿¹ : À¯Çü ( '¼öÇÐ :: BigFloat'); À¯Çü ( '¼öÇÐ : bigint'); À¯Çü ( 'set :: Infinite :: date'); SET :: Infinite :: ¾Æ·¡ÀÇ ¸Þ¸ð¸¦ ÂüÁ¶ÇϽʽÿÀ. °øÂ÷ (0) ±âº»°ªÀº ½ÇÁ¦ ¼¼Æ® (±âº»°ª) °øÂ÷ (1) to Á¤¼ö¿¡ ´ëÇÑ ±âº»°ªÀº ½ÇÁ¦ ¼¼Æ® (±âº»°ª)ÀÇ ±âº»°ªÀ» ¼³Á¤ÇÕ´Ï´Ù (±âº»°ª) Á¤¼ö SetSInternal ÇÔ¼ö : $ set-> fixtype; $ set-> ¼ýÀÚ; ¿ä±¸ »çÇ× : ¡¤ Perl.
SET :: Infinite :: Basic. °ü·Ã ¼ÒÇÁÆ®¿þ¾î