代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/161095/10453936
c slarnd.c
/* -- translated by f2c (version 19940927).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
doublereal slarnd_(integer *idist, intege
www.eeworm.com/read/161095/10453951
c dlaruv.c
#include "f2c.h"
/* Subroutine */ int dlaruv_(integer *iseed, integer *n, doublereal *x)
{
/* -- LAPACK auxiliary routine (version 2.0) --
Univ. of Tennessee, Univ. of California Berkeley,
www.eeworm.com/read/161095/10453963
c dlarnd.c
/* -- translated by f2c (version 19940927).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
doublereal dlarnd_(integer *idist, intege
www.eeworm.com/read/424281/10467346
todo
* Sort out "const" in prototypes, it looks odd since there are consts
for many functions which modify the state. (Applies to both qrng and rng)
* It would be useful to include functions to generate
www.eeworm.com/read/160819/10496596
h dice.h
#ifndef _DICE_H
#define _DICE_H
// class for simulating a die (object "rolled" to generate
// a random number)
//
// Dice(int sides) -- constructor, sides specifies num
www.eeworm.com/read/424063/10504160
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/423536/10553327
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/422708/10619076
dat rand_01_one.dat
random = 0.571930
random = 0.383469
random = 0.472412
random = 0.073380
random = 0.859467
random = 0.696152
random = 0.410828
random = 0.640457
random = 0.069855
random = 0.623093