Matemáticas :: BIGINT :: RANDOM :: OO

Generar matemáticas distribuidas uniformemente :: Bigint Objetos
Descargar ahora

Matemáticas :: BIGINT :: RANDOM :: OO Clasificación y resumen

Anuncio publicitario

  • Rating:
  • Licencia:
  • Perl Artistic License
  • Nombre del editor:
  • Peter John Acklam
  • Sitio web del editor:
  • http://search.cpan.org/~pjacklam/

Matemáticas :: BIGINT :: RANDOM :: OO Etiquetas


Matemáticas :: BIGINT :: RANDOM :: OO Descripción

Generar matemáticas distribuidas uniformemente :: Bigint Objetos Matemáticas :: BIGINT :: RANDOM :: OO es un módulo PERL para generar enteros aleatorios arbitrariamente grandes de una distribución discreta y uniforme. Los números se devuelven como matemáticas :: BIGINT OBJETOS .SYNOPSIS USE MATEMÁTICOS :: BIGINT :: RANDOM :: OO; # Números aleatorios entre 1E20 y 2E30: My $ GEN = Matemáticas :: BIGINT :: RANDOM :: OO -> Nuevo (MIN => "1E20", MIN => "2E30"); $ x = $ GEN -> Generar (); # un número $ x = $ GEN -> Generar (1); # ditto @x = $ GEN -> Generar (100); # 100 números # números aleatorios con el ajuste del tamaño 20 dígitos hexadecimales: My $ GEN = Matemáticas :: BIGINT :: RANDOM :: OO -> Nuevo (Longitud => 20, Base => 16); @x = $ GEN -> Generar (100); Requisitos: · Perl


Matemáticas :: BIGINT :: RANDOM :: OO Software relacionado