代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/212724/15150747
m random.m
% M-file function, Random.m
% 在1-50中随机选出n个不重复的值
% n 要求选出随机数的个数
% a 选出的值所组合成的n维向量
function a = Random(n)
if(n~=50)
for k = 1:n
a(k) = 0;
while(a(k)==0)
www.eeworm.com/read/212720/15150783
m random.m
% M-file function, Random.m
% 在1-50中随机选出n个不重复的值
% n 要求选出随机数的个数
% a 选出的值所组合成的n维向量
function a = Random(n)
if(n~=50)
for k = 1:n
a(k) = 0;
while(a(k)==0)
www.eeworm.com/read/212063/15166218
cpp random.cpp
#include
const int max_int = INT_MAX;
#include
#include
Random::Random(bool pseudo)
/*
Post: The values of seed, add_on, and multiplier
are initialized. Th
www.eeworm.com/read/212063/15166219
h random.h
class Random {
public:
Random(bool pseudo = true);
// Declare random-number generation methods here.
int random_integer(int low, int high);
double random_real();
int poisson
www.eeworm.com/read/212047/15167606
c random.c
/* rng/random.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000 James Theiler, Brian Gough
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GN
www.eeworm.com/read/210569/15196110
c random.c
/* Maintain source of random numbers for cryptographic keys, etc
* This is inherently machine dependent code
*/
#include "stdio.h"
#include
#include "global.h"
#include "timer.h"
#inc
www.eeworm.com/read/210394/15199476
c random.c
/* random.c - random number generation package */
/* Copyright 1994 Wind River Systems, Inc. */
#include "copyright_wrs.h"
/*
* Copyright (c) 1983 Regents of the University of California.
* All ri
www.eeworm.com/read/209207/15225829
bas random.bas
100 rem RANDOM.BAS -- Test RANDOMIZE and RND
110 print "This is a first sequence of three RND numbers:"
120 randomize timer
130 print rnd
140 print rnd
150 print rnd
160 print "This is a second sequen
www.eeworm.com/read/208359/15248381