代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/461294/7229768
h random.h
/*
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.
www.eeworm.com/read/461294/7229790
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.
www.eeworm.com/read/461294/7229795
h random.h
/*
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.
www.eeworm.com/read/461147/7232690
h random.h
#ifndef RANDOM_H_
#define RANDOM_H_
class Random
{
public:
Random(bool pseudo=true);
//declare random-number generation methods here
double random_real();
int poisson(double mean);
pr
www.eeworm.com/read/461147/7232694
cpp random.cpp
#include "Random.h"
#include
#include
#include
int Random::reseed()
//Post:The seed is replaced by a psuedorandom successor
{
seed=seed*multiplier+add_on;
retu
www.eeworm.com/read/461147/7232701
obj random.obj
www.eeworm.com/read/459898/7263764
m random.m
%Generate a random sequence of such length definded in the arguement..
%Programmed by Benjamin.Frank, 05-Mar-2009
%
function y = random(n)
% y = ceil(10*rand(1,n))
% n = 5;
% n = input('Enter
www.eeworm.com/read/459025/7284054
cpp random.cpp
#include "stdafx.h"
#include
#include "random.h"
RndGen::~RndGen()
{
if (oldrand)
free(oldrand);
}
void RndGen::init_random(const float randomseed)
{
float new_rando
www.eeworm.com/read/459025/7284064
h random.h
#if !defined(RNDGEN_H__ECEA7740)
#define RNDGEN_H__ECEA7740
/*################# Random Number Generator ##################################
Based on a portable subtractive pseudorandom number gene