代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/334951/12558560
cpp xran4.cpp
#include
#include
#include "nr.h"
using namespace std;
// Driver for routine ran4
int main(void)
{
const char *ansvax[4]={"0.275898","0.208204","0.034307","0.83
www.eeworm.com/read/147096/12586912
m ip_05_07.m
% MATLAB script for Illustrated Problem 7, Chapter 5.
echo on
n0=random('norm',0,0.5,100,1);
n1=random('norm',0,0.5,100,1);
n2=random('norm',0,0.5,100,1);
n3=random('norm',0,0.5,100,1);
x1=1.+n0
www.eeworm.com/read/247999/12608208
h lcgrand.h
/* The following 3 declarations are for use of the random-number generator
lcgrand and the associated functions lcgrandst and lcgrandgt for seed
management. This file (named lcgrand.h) should
www.eeworm.com/read/146694/12618790
cpp arr_sum.cpp
//arr_sum.cpp
#include //cout
#include //getch()
#include //randomize(),random()
const N=5;
void main()
{ int a[N+1]={0}; //全设为0
randomize();
www.eeworm.com/read/146694/12619150
cpp ex08-02.cpp
//EX08-02.cpp
#include //cout,cin
#include // getch()
#include //random;
#include //setw
const int N=5;
void add_arrays(float *,float *,float *,i
www.eeworm.com/read/146694/12619310
cpp ex10-03.cpp
//EX10-03.cpp
#include //cout,cin
#include // getch()
#include //randomize
const int N=20;
void list_data(int[],int);
void main()
{ int a[20],sum=0,i;
cou
www.eeworm.com/read/238320/13893556
c puttext.c
#include
#include
#include
#include
#include
#include
void main(void)
{
char buffer[128];
int row, column;
clr
www.eeworm.com/read/300442/13914283
h rand.h
/// \file
/// \brief \b [Internal] Random number generator
///
/// This file is part of RakNet Copyright 2003 Kevin Jenkins.
///
/// Usage of RakNet is subject to the appropriate license agreemen
www.eeworm.com/read/300086/13936919
m ip_05_07.m
% MATLAB script for Illustrated Problem 7, Chapter 5.
echo on
n0=random('norm',0,0.5,100,1);
n1=random('norm',0,0.5,100,1);
n2=random('norm',0,0.5,100,1);
n3=random('norm',0,0.5,100,1);
x1=1.+n0
www.eeworm.com/read/237003/13982928
h uniform.h
#ifndef BZ_RANDOM_UNIFORM_H
#define BZ_RANDOM_UNIFORM_H
#include
#ifndef FLT_MANT_DIG
#include
#endif
BZ_NAMESPACE(ranlib)
/******************************************