代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/243560/12933881
c 编随机数.c
/*自编随机数*/
#include"sys\types.h"
#include"sys\timeb.h"
#include
#define ALPHA 3.95 /*宏定义ALPHA值为3.95*/
double init_value(void);
double random(void);
void main()
{
float rdn
www.eeworm.com/read/243541/12934965
v mult16.v
// **** Here's a simple, sequential multiplier. Very simple, unsigned..
// Not very well tested, play with testbench, use at your own risk, blah blah blah..
//
//
// Unsigned 16-bit multiply (m
www.eeworm.com/read/329680/12938903
c 编随机数.c
/*自编随机数*/
#include"sys\types.h"
#include"sys\timeb.h"
#include
#define ALPHA 3.95 /*宏定义ALPHA值为3.95*/
double init_value(void);
double random(void);
void main()
{
float rdn
www.eeworm.com/read/142539/12940893
c fig10_54.c
/* Bad random number generator */
#include
/* START: fig10_54.txt */
static unsigned long Seed = 1;
#define A 48271L
#define M 2147483647L
www.eeworm.com/read/141692/12991024
m randtx.m
function U = randtx(arg1,arg2)
% RANDTX Text book version of RAND
% Uniformly distributed random numbers
% This M-file exactly reproduces the numerical
% behavior of the builtin RAND function.
%
www.eeworm.com/read/141630/12993649
java laserpic.java
import java.applet.*;
import java.awt.*;
import java.awt.image.*;
import java.util.*;
public class LaserPic extends Applet
{
private Image image;
private int x = 25,y = 25;
private Random
www.eeworm.com/read/242661/12994343
cpp gasample.cpp
// gasample.cpp : Defines the entry point for the console application.
//
//#include "StdAfx.h"
#include
#include "malloc.h"
#include
#include "stdlib.h"
/* 全局变量 */
struct i
www.eeworm.com/read/141579/12997193
~pas gadelphi.~pas
unit GADelphi;
interface
uses
Math, SysUtils;
type
PUnsigned = array of Cardinal;
Pint = ^integer;
individual = record
chrom: PUnsigned;
fitness: double;
varible: double;
www.eeworm.com/read/141579/12997217
pas gadelphi.pas
unit GADelphi;
interface
uses
Math, SysUtils;
type
PUnsigned = array of Cardinal;
Pint = ^integer;
individual = record
chrom: PUnsigned;
fitness: double;
varible: double;
www.eeworm.com/read/141504/13008035
i defns.i
/*************************************************************************/
/* */
/* Definitions used in C4.5 */
/* ------------------------ */
/* */
/*********