代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/161772/10376109
c random.c
/* random.c - Demonstrates using a multidimensional array */
#include
#include
/* Declare a three-dimensional array with 1000 elements */
int random_array[10][10][10];
in
www.eeworm.com/read/161772/10376122
exe random.exe
www.eeworm.com/read/161731/10382282
c random.c
#include "random.h"
/* Copyright Numerical Recipes in C */
double ran0(long *idum)
{
long k;
double ans;
*idum ^= MASK;
k=(*idum)/IQ;
*idum=IA*(*idum-k*IQ)-IR*k;
if (*idum
www.eeworm.com/read/161731/10382296
h random.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
#define IA 16807
#define IM 2147483647
#define AM (1.0/IM)
#define IQ 127773
#define IR 2836
#define MASK 123459876
#defi
www.eeworm.com/read/161731/10382332
o random.o
www.eeworm.com/read/161731/10382410
h random.h
/* Random number generator */
/* Copyright Numerical Recipes in C */
#define IA 16807
#define IM 2147483647
#define AM (1.0/IM)
#define IQ 127773
#define IR 2836
#define MASK 123459876
#defi
www.eeworm.com/read/425005/10388382
c random.c
/*
*-----------------------------------------------------------------------------
* file: random.c
* desc: routine for a very-long-cycle random-number sequences
* by: patrick ko shu pui
* date
www.eeworm.com/read/425005/10388430
h random.h
/*
*-----------------------------------------------------------------------------
* file: random.h
* desc: random.c header
* by: patrick ko shu pui
* date: 6 sep 1991
*--------------------------
www.eeworm.com/read/279612/10410493
h random.h
#ifndef RANDOM_H
#define RANDOM_H
class RANDOM {
public:
RANDOM( uint08 stream ) { _construct( stream ); }
virtual ~RANDOM() { _destruct(); }
void reset();
uint08 bernoulli(
www.eeworm.com/read/424322/10463076