代码搜索:Random

找到约 10,000 项符合「Random」的源代码

代码结果 10,000
www.eeworm.com/read/157821/11660930

c util.c

/* ITU-T G.729 Speech Coder with Annex B ANSI-C Source Code Version 1.3 Last modified: August 1997 Copyright (c) 1996, AT&T, France Telecom, NTT, Universite de Sherbrooke, Luce
www.eeworm.com/read/261137/11664476

c mrandom.c

#include #include #include #include "msp.h" float randnu(long *iseed) { float z; *iseed=2045*(*iseed)+1; *iseed=*iseed-(*iseed/1048576)*10
www.eeworm.com/read/261064/11667749

f randn.f

real*8 function randn( seed ) integer*4 seed ! Random number generator; Normal (Gaussian) dist. ! Input ! seed Integer seed (DO NOT USE A SEED OF ZERO) ! Output ! randn Ran
www.eeworm.com/read/261064/11667822

f rand.f

real*8 function rand( seed ) integer*4 seed ! Random number generator; Uniform dist. in [0,1) ! Input ! seed Integer seed (DO NOT USE A SEED OF ZERO) ! Output ! rand Random
www.eeworm.com/read/260986/11676400

cpp e22-03.cpp

// ======================================================= // Chapter 22, Example 3 // Using a seed with time // ======================================================= #include #i
www.eeworm.com/read/260986/11676411

cpp e22-01.cpp

// ======================================================= // Chapter 22, Example 1 // Using rand // ======================================================= #include #include
www.eeworm.com/read/260986/11676417

cpp e22-02.cpp

// ======================================================= // Chapter 22, Example 2 // Using a seed // ======================================================= #include #include
www.eeworm.com/read/157641/11679422

java randsize.java

import java.lang.* ; import java.util.* ; public class RandSize { private String[] fontSize={ "-4", "-3", "-2", "-1", "+1", "+2", "+3", "+4" } ; private Random randNum ;
www.eeworm.com/read/260947/11685063

cpp 6_60.cpp

#include #include #include const unsigned long maxshort=65536L; const unsigned long multiplier=1194211693L; const unsigned long adder=12345; class RandomNumber
www.eeworm.com/read/260947/11685245

cpp 6_59.cpp

#include #include #include const unsigned long maxshort=65536L; const unsigned long multiplier=1194211693L; const unsigned long adder=12345; class RandomNumber