代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/198545/7929201
m contents.m
% Statbox 4.2 library of statistical routines
%
% Regression
% regr - least squares regression
% logist - logistic regression
% ordinal - ordinal logistic regression
% poisson
www.eeworm.com/read/298817/7933195
c 编随机数.c
/*自编随机数*/
#include"sys\types.h"
#include"sys\timeb.h"
#include
#define ALPHA 3.95 /*宏定义ALPHA值为3.95*/
double init_value(void);
double random(void);
void main()
{
float rdn
www.eeworm.com/read/298760/7938651
cpp rtcgpskur.cpp
// GPSKUR.cpp: implementation of the CGPSKUR class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RTDMOEA.h"
#include "RTCGPSKUR.h"
www.eeworm.com/read/298568/7950828
m ldpc_generate.m
function [H] = generate(M,N,t,q,seed)
%[H] = generate(M,N,t,q,seed)
% generates sparse LDPC parity check matrix over GFq
% (first H for GF2 is generated, then elements of GFq are created at random)
www.eeworm.com/read/197875/7964733
c alg36.c
#include
#include
#include
int main()
{
vector< int, allocator > vec;
for ( int ix = 0; ix < 20; ix++ )
vec.push_back( ix );
random_shuffle(
www.eeworm.com/read/297947/7984291
m compute_texture_patchwork.m
function [M,Id] = compute_texture_patchwork(H,n, options)
% compute_texture_patchwork - mix several textures
%
% M = compute_texture_patchwork(H,n,options);
%
% H can be a cell array of tex
www.eeworm.com/read/197263/8008433
m exp_randint.m
function out = exp_randint(p, q, r);
% random interger generator
% used in Experiment 4
r = [0, r-1];
r = sort(r);
r(1) = ceil(r(1));
r(2) = floor(r(2));
if r(1) == r(2)
out = ones(p, q) *
www.eeworm.com/read/197075/8032505
txt rand的用法.txt
// crt_rand.c
/* This program seeds the random-number generator
* with the time, then displays 10 random integers.
*/
#include
#include
#include
int main( vo
www.eeworm.com/read/297130/8051140
cpp ga_main.cpp
/******************************************************************/
/* 基于基本遗传算法的函数最优化 SGA.C */
/* A Function Optimizer using Simple Genetic Algorithm */
/*de
www.eeworm.com/read/196889/8052124
c ga.c
#include
#include
/* 全局变量 */
struct individual /* 个体*/
{
unsigned *chrom; /* 染色体 */
double fitness; /* 个体适应度*/
double varible; /* 个体对应的变量值*/
int xsite; /* 交叉位置 */
int pa