代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/193611/8212918
cpp random.cpp
#include
#include "random.h"
RndGen::~RndGen()
{
if (oldrand)
free(oldrand);
}
void RndGen::init_random(const float randomseed)
{
float new_random = 1.0e-9f;
flo
www.eeworm.com/read/193611/8212945
h random.h
#if !defined(RNDGEN_H__ECEA7740)
#define RNDGEN_H__ECEA7740
/*################# Random Number Generator ##################################
Based on a portable subtractive pseudorandom number gene
www.eeworm.com/read/294538/8220543
hpp random.hpp
/* random.hpp
*
* Copyright (C) 2003 Sawtooth Consulting Ltd.
*
* This file is part of yaSSL.
*
* yaSSL is free software; you can redistribute it and/or mod
www.eeworm.com/read/294538/8220640
cpp random.cpp
/* random.cpp
*
* Copyright (C) 2003 Sawtooth Consulting Ltd.
*
* This file is part of yaSSL.
*
* yaSSL is free software; you can redistribute it and/or mod
www.eeworm.com/read/294234/8245431
cpp random.cpp
#include
#include "Random.h"
void Random::bubbleSort(int a[], int size)
{
int i, temp;
for(int pass=1; pass
www.eeworm.com/read/294234/8245452
h random.h
#ifndef RANDOM
#define RANDOM
#include
#include
class Random{
private:
unsigned long int seed; //previously LONG INT
unsigned long int seed_u;
public:
Random(v
www.eeworm.com/read/393665/8270275
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/393665/8270291
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/393223/8303226