代码搜索:normal
找到约 10,000 项符合「normal」的源代码
代码结果 10,000
www.eeworm.com/read/118409/14873330
gif normal.gif
www.eeworm.com/read/219562/14875848
h normal.h
// 文件过滤属性
#define FLAG_NORMAL 0
#define FLAG_SINGLE_DOT 1
#define FLAG_DOUBLE_DOT 2
#define FLAG_PREV_CHAR 3
// 装入数据步骤
#define LOAD_STEP_DONE 0
#define LOAD_STEP_DATA0 1
#defi
www.eeworm.com/read/219562/14875859
cpp normal.cpp
#include "stdafx.h"
#include "normal.h"
//=================================================================================================
// 转换字符为数据
//=======================================
www.eeworm.com/read/216898/14987048
h normal.h
/*
* This is a modification of the Kinderman + Monahan algorithm for
* generating normal random numbers, due to Leva:
*
* J.L. Leva, Algorithm 712. A normal random number generator, ACM Trans.
*
www.eeworm.com/read/216045/15028869
m normal.m
function y=normal(x,m,s)
% FUNCTION y=NORMAL(x,m,s)
% Gaussian distribution
% m=mean
% s=standard deviation
y=(1/sqrt(2*pi*s^2))*exp(-((x-m).^2)/(2*s^2));
www.eeworm.com/read/213958/15120458
h normal.h
// Normal.h -*- C++ -*-
/*
Copyright (C) 1988 Free Software Foundation
written by Dirk Grunwald (grunwald@cs.uiuc.edu)
This file is part of the GNU C++ Library. This library is free
s
www.eeworm.com/read/213958/15120523
cc normal.cc
// Normal.cc
/*
Copyright (C) 1988 Free Software Foundation
written by Dirk Grunwald (grunwald@cs.uiuc.edu)
This file is part of the GNU C++ Library. This library is free
software; you can red
www.eeworm.com/read/213940/15121878
m normal.m
function y=normal(x,m,s)
% FUNCTION y=NORMAL(x,m,s)
% Gaussian distribution
% m=mean
% s=standard deviation
y=(1/sqrt(2*pi*s^2))*exp(-((x-m).^2)/(2*s^2));
www.eeworm.com/read/211603/15176756
m normal.m
%产生n个N(a,b)正态分布随机数
%其中a为均值,b为方差
%function x=normal(a,b,n)
function x=normal(a,b,n)
m=48;%
for i=1:n
r=rand(1,m);
x(i)=a+sqrt(b)*(sum(r)-m/2)/sqrt(m/12);
end
www.eeworm.com/read/211379/15181885