代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/315915/13534911
m gngauss.m
function [n1,n2]=gngauss(m,sgma)
% [n1 n2]=gngauss(m,sgma)
% [n1 n2]=gngauss(sgma)
% [n1 n2]=gngauss
% GNGAUSS generates two independent gaussian variables with
% mean m & S.D sgma
% if one of
www.eeworm.com/read/315789/13536608
txt chap3-5.txt
// 程序3-5
public class GenerateDoubleNumbers { // 产生一个大于0.9的随机数为止
public static void main(String args[ ]){
double d;
do{
d=Math.random( );
www.eeworm.com/read/315512/13541393
cpp utils.cpp
#include "StdAfx.h"
#include "utils.h"
int CGlobals::WIN_WIDTH = 800;
int CGlobals::WIN_HEIGHT = 600;
double CGlobals::EPSILON = 0.005;
long CGlobals::INFINITY=999999;
double CGlobals::PI= 3
www.eeworm.com/read/315460/13542043
makefile
# Makefile for cslib/simplified directory
# Last modified on Sat Oct 1 11:59:01 1994 by eroberts
#****************************************************************
OBJECTS = \
genlib.o \
strl
www.eeworm.com/read/315460/13542055
makefile
# Makefile for cslib/standard directory
# Last modified on Thu Oct 20 13:49:04 1994 by eroberts
#****************************************************************
OBJECTS = \
genlib.o \
except
www.eeworm.com/read/315458/13542219
cpp utils.cpp
#include "StdAfx.h"
#include "utils.h"
int CGlobals::WIN_WIDTH = 800;
int CGlobals::WIN_HEIGHT = 600;
double CGlobals::EPSILON = 0.005;
long CGlobals::INFINITY=999999;
double CGlobals::PI= 3
www.eeworm.com/read/315278/13547257
java shellsort.java
/**
* @version 1.20 27 Mar 1998
* @author Cay Horstmann
*/
public class ShellSort
{ public static void sort(int[] a)
{ int n = a.length;
int incr = n / 2;
while (incr >=
www.eeworm.com/read/314681/13561784
m fcar_sim2.m
function [rvcorr]=fcar_sim2(d, rv, alpha)
%
%[rvcorr]=fcar_sim2(d, rv, truerho)
%
%This function creates correlated random variables, rvcorr, of the same dimensions as the
%supplied random variab
www.eeworm.com/read/314681/13561813
m fsar_sim2.m
function [rvcorr]=fsar_sim2(d,rv,alpha)
%
%[rvcorr]=fcar_sim2(d,rv,truerho)
%
%This function creates correlated random variables,rvcorr, of the same dimensions as the
%supplied random variables,