代码搜索:Random

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

代码结果 10,000
www.eeworm.com/read/425546/10348835

m pick.m

function [i,j] = pick(ndx) % PICK Pick an entry at random from a vector % function [i,j] = pick(ndx) % % i = ndx(j) for j ~ U(1:length(ndx)) dist = normalize(ones(1,length(ndx))); j = sample_d
www.eeworm.com/read/354492/10349599

c alg36.c

#include #include #include int main() { vector< int, allocator > vec; for ( int ix = 0; ix < 20; ix++ ) vec.push_back( ix ); random_shuffle(
www.eeworm.com/read/161775/10375817

htm ga_c.htm

www.eeworm.com/read/353439/10446964

java cointoss.java

//: operators/CoinToss.java // TIJ4 Chapter Operators, Exercise 7, page 106 // Write a program that simulates coin-flipping import java.util.*; import org.greggordon.tools.*; public class Co
www.eeworm.com/read/353425/10448404

m addnoise.m

function [noisy_image] = addnoise(image,variance) % % embed gaussian noise given variance in given image % noise = random('norm',0,sqrt(variance),size(image)); noisy_image = double(image) + noise;
www.eeworm.com/read/160819/10495986

cpp brownian.cpp

#include #include // for sin, cos, sqrt #include "randgen.h" #include "prompt.h" #include "mathutils.h" // for PI #include "point.h" using namespace std; // simluate tw
www.eeworm.com/read/424063/10502587

m randint.m

function out = randint(n, m, range, seed); %RANDINT Random integer matrix generator. % OUT = RANDINT(N) generates an N-by-N random binary numbers. The % appearance of "0" and "1" has ev
www.eeworm.com/read/424058/10504280

java obstaclemanager.java

/*ObstacleManager.java : creates and manages obstacles */ import java.io.IOException; import javax.microedition.lcdui.*; import javax.microedition.lcdui.game.*; public class ObstacleManager {
www.eeworm.com/read/424057/10504309

java obstaclemanager.java

/*ObstacleManager.java : creates and manages obstacles */ import java.io.IOException; import javax.microedition.lcdui.*; import javax.microedition.lcdui.game.*; public class ObstacleManager {
www.eeworm.com/read/160641/10511301

~pas gadelphi.~pas

unit GADelphi; interface uses Math, SysUtils; type PUnsigned = array of Cardinal; Pint = ^integer; individual = record chrom: PUnsigned; fitness: double; varible: d