代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/300199/13929234
txt neurons.txt
init state :
oldX=X=random 49 t/m 51
oldY=Y=random 49 t/m 51
Xmod++ || Xmod=Xmod || Xmod--
Ymod++ || Ymod=Ymod || Ymod--
[==============neuron=============
www.eeworm.com/read/135438/13930391
txt gasdev.txt
Function GASDEV:real;
var
V1,V2,FAC,R:real;
begin
If ISET^= 0 Then
begin
repeat
V1:=2 * Random - 1;
V2:=2 * Random - 1;
R:=Sqr(V1) + Sqr(V2);
u
www.eeworm.com/read/135438/13931653
pas unit2.pas
unit Unit2;
interface
uses
unit1;
Function GASDEV:real;
implementation
Function GASDEV:real;
var
V1,V2,FAC,R:real;
begin
If ISET^= 0 Then
begin
repeat
V1:=2
www.eeworm.com/read/135410/13935086
c mrandom.c
#include
#include
#include
#include "msp.h"
float randnu(long *iseed)
{
float z;
*iseed=2045*(*iseed)+1;
*iseed=*iseed-(*iseed/1048576)*10
www.eeworm.com/read/300086/13936320
m gngauss.m
function [gsrv1,gsrv2]=gngauss(m,sgma)
% [gsrv1,gsrv2]=gngauss(m,sgma)
% [gsrv1,gsrv2]=gngauss(sgma)
% [gsrv1,gsrv2]=gngauss
% GNGAUSS generates two independent Gaussian random variables w
www.eeworm.com/read/135259/13944486
cpp rndshufl.cpp
#include "stlexam.h"
#pragma hdrstop
/**************************************************************************
*
* rndshufl.cpp - Example program of random shuffle algorithm.
*
www.eeworm.com/read/237384/13965344
m cross.m
function Ret=Cross(PCross,LenChrom,Individuals,Size,Opts,Pop)
% In this function,it fulfils a crossover among Chromosomes
% PCross input : probability of crossover
% LenChrom input : Length o
www.eeworm.com/read/135036/13966196
dos makefile.dos
#
#
# NOTE: this make file is for DOS only
#
# IF your platform is UNIX, please use the makefile makefile.ux
#
#
DRIVE = F:
LIB = $(DRIVE)\TC\LIB
INC = $(DRIVE)\TC\INCLUDE
final: bprecog
www.eeworm.com/read/135036/13966218
ux makefile.ux
#
#
#LIB = $(DRIVE)\TC\LIB
#INC = $(DRIVE)\TC\INCLUDE
CCMD = cc -c
CLMD = cc
CLMDOPT = -lm -g
final: bprecog.exe bptrain.exe
bprecog.exe: bprecog.c nntrain.o nncreat.o nnerror.o nndump.o