代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/151609/12187785
i defns.i
/*************************************************************************/
/* */
/* Definitions used in C4.5 */
/* ------------------------ */
/* */
/*********
www.eeworm.com/read/151555/12201596
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/253561/12214601
as tool2.as
import game.phys.Particle;
import mx.utils.Delegate;
//补充_score点
class game.tool.Tool2 extends game.tool.Tool {
private var _score = 5
function Tool2() {
_id = "tool2";
_total = 5
}
www.eeworm.com/read/253561/12214606
as tool1.as
import game.phys.Particle;
import mx.utils.Delegate;
//补充_life点生命
class game.tool.Tool1 extends game.tool.Tool {
private var _life=10
function Tool1() {
_id = "tool1";
_total =1
}
pr
www.eeworm.com/read/339307/12243777
cpp unit1.cpp
//---------------------------------------------------------------------------
#include
#include "math.h"
#pragma hdrstop
#include "Unit1.h"
//-----------------------------------------
www.eeworm.com/read/339307/12243798
~cpp unit1.~cpp
//---------------------------------------------------------------------------
#include
#include "math.h"
#pragma hdrstop
#include "Unit1.h"
//-----------------------------------------
www.eeworm.com/read/150914/12245679
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/339051/12264573
v mult16.v
// **** Here's a simple, sequential multiplier. Very simple, unsigned..
// Not very well tested, play with testbench, use at your own risk, blah blah blah..
//
//
// Unsigned 16-bit multiply (m
www.eeworm.com/read/339051/12265644
v mult16.v
// **** Here's a simple, sequential multiplier. Very simple, unsigned..
// Not very well tested, play with testbench, use at your own risk, blah blah blah..
//
//
// Unsigned 16-bit multiply (m
www.eeworm.com/read/150725/12268889
m tmp601.m
%MATLAB PROGRAM 6-1
% Create random vector
N=100000;
y=randn(1,N);
%记算均值
disp('均 值 ')
yMean=mean(y)
%记算均方值
disp('均方值 ')
y2p=y*y'/N
%记算均方根值
disp('均方根值')
ysq=sqrt(y2p)
%记算均方差(标准差)