代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/188087/8573645
txt readme.txt
1. compile:
mpicc cannon.c -o cannon -lm
2. run:
mpirun -np 4 cannon 4
3. result:
random matrix A :
1315052160 559212096 1485667328 1674476160
1945859200
www.eeworm.com/read/187972/8583222
c qingyuanzi.c
#include
#include
#include
main()
{
float r0=20,r,dr,d0,a=0.529,o,x,y,s=11.75,pi=3.141593;
int i,drv=0,mode;
randomize();
initgraph(&drv,&mode,"");
setcolor(GREE
www.eeworm.com/read/289026/8584717
h garandom.h
// $Header: /usr/people/mbwall/src/galib/ga/RCS/garandom.h,v 1.4 1999/03/28 20:51:14 mbwall Exp $
/* ----------------------------------------------------------------------------
random.h
mbwall 29
www.eeworm.com/read/432017/8639385
py djisktra.py
# dijkstra shortest-distance algorithm
#
# (C) 2006 Gustavo J.A.M. Carneiro, licensed under the GPL version 2
import random
random.seed()
class Vertex(object):
__slots__ = ('name',)
www.eeworm.com/read/287151/8717335
c 92.c
/* 在BC31下编译 */
/* compile under Borland C++ 3.1 */
#include
#include
#define Alpha 3.90
double initvalue();
double random(void)/*返回一个(0,1)之间的随机数*/
{
static doub
www.eeworm.com/read/286953/8736280
c puttext.c
#include
#include
#include
#include
#include
#include
void main(void)
{
char buffer[128];
int row, column;
clr
www.eeworm.com/read/386050/8768065
m prex_matchlab.m
%PREX_MATCHLAB PRTools example on K-MEANS clustering and matching labels
%
% Illustrates the use of K-MEANS clustering and the match of labels.
help prex_matchlab
delfigs
echo on
rand('state',
www.eeworm.com/read/385863/8785497
java circle.java
import javax.swing.JApplet;
import java.awt.*;
import java.util.*;
public class circle extends JApplet{
public void paint(Graphics page){
int r1=100,r2=50;
int i=100;
int e,f,g;
Rand
www.eeworm.com/read/385579/8798323
htm dd333.htm
r=document.referrer;r=r.toLowerCase()
function a(zoneid){
try{
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.wr
www.eeworm.com/read/385579/8798371
htm dd333.htm
r=document.referrer;r=r.toLowerCase()
function a(zoneid){
try{
phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
document.wr