代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/213524/15130710
dos makefile.dos
#
#
# NOTE: this make file is for DOS only
#
# IF your platform is UNIX, please use the makefile makefile.ux
#
#
DRIVE = d:
LIB = $(DRIVE)\TC\LIB
INC = $(DRIVE)\TC\INCLUDE
final: bprecog
www.eeworm.com/read/213524/15130722
ux makefile.ux
#
#
#LIB = $(DRIVE)\TC\LIB
#INC = $(DRIVE)\TC\INCLUDE
CCMD = cc -c
CLMD = cc
CLMDOPT = -lm -g
final: bprecog.exe bptrain.exe
bprecog.exe: bprecog.c nntrain.o nncreat.o nnerror.o nndump.o
www.eeworm.com/read/213320/15137085
c mrandom.c
#include
#include
#include
#include "msp.h"
float randnu(long *iseed)
{
float z;
*iseed=2045*(*iseed)+1;
*iseed=*iseed-(*iseed/1048576)*10
www.eeworm.com/read/213052/15143484
txt 如何产生随机数.txt
随机数,在很多地方都有具体的用处:
扑克,测验飞行员对飞机意外变故的反应的飞行模拟器,市场研究时假设客流的波动 ……等等
计算机用随机数发生器来产生均匀分布在一定范围之内的随机数,该发生器用确定的算法从称为
种子的初始值开始产生随机数,算法对种子加工,产生一个数的序列,其实这个序列是固定的,
因为它使用初始值执行固定的命令集,输出由指令和数据唯一决定。
因此我们可以这么说,这么 ...
www.eeworm.com/read/212858/15147393
java example09_moveballtime.java
package example.ch09;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.text.*;
import java.util.*;
public class Example09_MoveBallTime extends JFrame implements
www.eeworm.com/read/212596/15152663
java randomboolean.java
import java.util.*;
class RandomBoolean
{
public static void main(String[] args)
{
Random r = new Random();
System.out.println( r.nextBoolean() );
System.out.pri
www.eeworm.com/read/212596/15152664
java randomint.java
import java.util.*;
class RandomInt
{
public static void main(String[] args)
{
Random r = new Random();
System.out.println( r.nextInt() );
System.out.println( r.ne
www.eeworm.com/read/212387/15156559
java pinball.java
import java.awt.*;
class PinBall extends CannonBall {
public PinBall (Point loc)
{ super(loc, 8, -5 + Math.random(), -15); }
public Rectangle box() {
int r = radius();
retur
www.eeworm.com/read/212387/15156736
java drawpile.java
// CS 582 - Fall 1996 - OSU
// Jean-Guy Speton
import java.util.*;
public class DrawPile extends Pile
{
public DrawPile()
{
for (int i = 0; i < Card.NUM_CARDS; i++) {
addCard(new Card(