代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/439401/7710326
m random_binary.m
% File: random_binary.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with
www.eeworm.com/read/439401/7710339
m random_binary.m
% File: random_binary.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with
www.eeworm.com/read/439401/7710373
m random_binary.m
% File: random_binary.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with
www.eeworm.com/read/439401/7710386
m random_binary.m
% File: random_binary.m
% Software given here is to accompany the textbook: W.H. Tranter,
% K.S. Shanmugan, T.S. Rappaport, and K.S. Kosbar, Principles of
% Communication Systems Simulation with
www.eeworm.com/read/438832/7725272
sh random-test.sh
#!/bin/bash
# RANDOM到底有多随机?
RANDOM=$$ # 使用脚本的进程ID来作为随机数的种子.
PIPS=6 # 一个骰子有6个面.
MAXTHROWS=600 # 如果你没别的事做, 可以增加这个数值.
throw=0 # 抛骰子的次数.
ones=0 # 必须把所有的count都初始化为0,
t
www.eeworm.com/read/438832/7725291
sh random-between.sh
#!/bin/bash
# random-between.sh
# 产生两个指定值之间的随机数.
# 由Bill Gradwohl编写, 本书作者做了一些修改.
# 脚本作者允许在这里使用.
randomBetween() {
# 在$min和$max之间,
#+ 产生一个正的或负的随机数.
#+ 并且可以被$divisibleBy所整除.
# 给出一个合理的随机分
www.eeworm.com/read/438832/7725346
sh seeding-random.sh
#!/bin/bash
# seeding-random.sh: 设置RANDOM变量作为种子.
MAXCOUNT=25 # 决定产生多少个随机数.
random_numbers ()
{
count=0
while [ "$count" -lt "$MAXCOUNT" ]
do
number=$RANDOM
echo -n "$number "
let "count
www.eeworm.com/read/438832/7725373
sh random2.sh
#!/bin/bash
# random2.sh: 产生一个范围在 0 - 1 之间的伪随机数.
# 使用了awk的rand()函数.
AWKSCRIPT=' { srand(); print rand() } '
# Command(s) / 传递到awk中的参数
# 注意, srand()是awk中用来产生伪随机数种子的函数.
echo -n "Random num
www.eeworm.com/read/435572/7790079
sym read_random.sym
www.eeworm.com/read/435572/7790162
obj read_random.obj
XH
H 3 areas 7 global symbols
M E:\Cansum Project\I.T Mouse\I.T Mouse20040710\read_random.asm
A . size 0 flags 0 addr 0 0
A read_random_var size 6 flags 2 addr 0 0
S temp_rnd Def0000
S rnd_num D