代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/192919/7116247
cpp random.cpp
// random.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "random.h"
#include "randomDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
stat
www.eeworm.com/read/192919/7116252
dsp random.dsp
# Microsoft Developer Studio Project File - Name="random" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Ap
www.eeworm.com/read/463607/7177521
cpp random.cpp
#include
#include
#include
void main( void )
{
int i;
/* Seed the random-number generator with current time so that
* the numbers will be different e
www.eeworm.com/read/463300/7183849
inl random.inl
//random.inl 随机函数(方法)定义
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _RANDOM_INL
#define _RANDOM_INL
//产生一个[0,1]区间内均匀分布伪随机数
inline double
rand_01_One(double& seed)
{
www.eeworm.com/read/463300/7183857
h random.h
//random.h 宏定义及随机函数(方法)原型头文件
// Ver 1.0.0.0
// 版权所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _RANDOM_H
#define _RANDOM_H
#define RandCoef2053 2053
#define RandCoef13849 13849
#define MOD
www.eeworm.com/read/462739/7196842
h random.h
#include
/* variables are declared static so that they cannot conflict
with names of */
/* other global variables in other files. See K&R, p 80, for
scope of static */
static double
www.eeworm.com/read/461596/7223781
cpp random.cpp
#include
#include
#include
using namespace std;
#define LOOP 1000
void main()
{
int rgnC=0;
for (int i=0;i
www.eeworm.com/read/461294/7229691
c random.c
/*----------------------------------------------------------------------------*/
/* random.c - contains random number generator and related utilities, */
/* including advance_random, warmup_
www.eeworm.com/read/461294/7229765
c random.c
/*
SGPC: Simple Genetic Programming in C
(c) 1993 by Walter Alden Tackett and Aviram Carmi
This code and documentation is copyrighted and is not in the public domain.
All rights reserved.