代码搜索:while
找到约 10,000 项符合「while」的源代码
代码结果 10,000
www.eeworm.com/read/405558/11460504
m betap.m
function bp = betap(x,a,b)
%自变量的值:x
%第一个参数:a
%第二个参数:b
%自变量取x值时的不完全贝塔函数值:gp
format long;
if a
www.eeworm.com/read/405555/11460540
m aeldist.m
function x = AELDist(x0,m,beta,n)
format long;
x = zeros(n,1);
u = zeros(m,1);
for i=1:n
for j=1:m
r = MixMOD(x0,10,1);
k = 0;
while r(10) == 0
k = k +
www.eeworm.com/read/405555/11460542
m powerdist.m
function x = PowerDist(x0,beta,n)
x = zeros(n,1);
for i=1:n
r = MixMOD(x0,2,1);
k = 0;
while r(2) == 0
k = k + 1;
r(2) = power(2,k);
r = MixMOD(r(2),2,1);
www.eeworm.com/read/405333/11465040
cpp strfile.cpp
//: C04:Strfile.cpp
// From "Thinking in C++, 2nd Edition, Volume 2"
// by Bruce Eckel & Chuck Allison, (c) 2003 MindView, Inc.
// Available at www.BruceEckel.com.
// Stream I/O with files
// The
www.eeworm.com/read/405333/11465100
h applymember.h
//: C05:applyMember.h
// From "Thinking in C++, 2nd Edition, Volume 2"
// by Bruce Eckel & Chuck Allison, (c) 2003 MindView, Inc.
// Available at www.BruceEckel.com.
// applySequence.h modified to
www.eeworm.com/read/405283/11466949
c 16进制10进制.c
自己写一个转换函数不就行了?
//返回16进制字符串s对应的整数值,遇到任何一个非法字符都返回-1。
int HexToDec(char *s)
{
char *p = s;
//空串返回0。
if(*p == '\0')
return 0;
//忽略开头的'0'字符
while(*p == '0')
p++;
int dec = 0;
www.eeworm.com/read/405283/11467065
c 杨辉三角形.c
#include
int c(x,y);
main()
{
int i,j,n=13;
printf("N=");
while(n>12)
scanf("%d",&n);
for(i=0;i
www.eeworm.com/read/405283/11467066
c 桶排序.c
#include
void comp(int k[],int m,int l)
{
int i=10,j=0,z=1,y=1,x,w,b[500][10];
for(w=0;w
www.eeworm.com/read/404974/11474817
c misc.c
/* **************************************************** */
/* file misc.c: contains pattern manipulation routines */
/* and miscellaneous other functions. */
/*
www.eeworm.com/read/404974/11474824
c bp.c
/* ************************************************** */
/* file bp.c: contains the main program and network */
/* creation routines. */
/*