代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/137308/7071836
cpp main.cpp
#include
#include
#include
#include
#include"interface.h"
//#define charRang (127-33)
void RandStr(char *a,char *b,int aLen,int bLen)
{
time_t t;
www.eeworm.com/read/140893/7117137
java randvals.java
//: c08:RandVals.java
// Initializing interface fields with
// non-constant initializers.
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in Co
www.eeworm.com/read/332978/7141659
java raggedarray.java
//: arrays/RaggedArray.java
import java.util.*;
public class RaggedArray {
public static void main(String[] args) {
Random rand = new Random(47);
// 3-D array with varied-length vecto
www.eeworm.com/read/151043/7142597
cpp algo0211.cpp
void CreateList_L(LinkList &L, int n) { // 算法2.11
// 逆位序输入(随机产生)n个元素的值,建立带表头结点的单链线性表L
LinkList p;
int i;
L = (LinkList)malloc(sizeof(LNode));
L->next = NULL; // 先建立一个带头结点
www.eeworm.com/read/165343/7143884
txt uran.cc.txt
/* Generate a uniform random number between 0 and 1. This
function calls rand(), so you can control the seed with srand().
*/
extern "C" {
#include
}
double uran(void)
{
return ra
www.eeworm.com/read/165343/7143906
c uran.c
/* Generate a uniform random number between 0 and 1. This
function calls rand(), so you can control the seed with srand().
*/
#include
double uran(void)
{
return rand()/(double)(R
www.eeworm.com/read/464335/7165238
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/463459/7180430
bat 在所有文件夹下建立随机文件.bat
@echo off
:: 在每个文件夹下建立一个 随机数-fly-随机数.txt 的文本
:: code by jm 2006-9-17 CMD@XP
cd.>list.txt
set current_dir=%cd%
setlocal enabledelayedexpansion
for /f "delims=\" %%i in ('fsutil fsinfo drives^|fin
www.eeworm.com/read/138660/7205232
asm util_asm.asm
.mmregs
FP .set AR7
.sect ".cinit"
.align 1
.field 1,16
.field _seed$1+0,16
.field 21845,16 ; _seed$1 @ 0
.sect ".text"
.bss _seed$1,1,0,0
.sect ".text"
.global _Set_
www.eeworm.com/read/461482/7226819
m q.m
function y=Q(x)
% This program computes the right-tail probability
% (Complementary cumulative distribution function)
% for a N(0,1) random variable
y= 0.5*erfc(x/sqrt(2));