代码搜索:factor
找到约 6,651 项符合「factor」的源代码
代码结果 6,651
www.eeworm.com/read/433368/7937132
m e0519.m
factor(1025)
%由执行结果可以看出1025=5×5×41,恰巧是素数之积。因此求全部两位数的素数的程序如下:
sushu=[];
for ii=10:99
x=factor(ii);
if x==ii
sushu=[sushu ii];
end
end
sushu
www.eeworm.com/read/297942/7985041
m igamma_for.m
function value = incomplete_gamma (x,n)
if( x == 0)
value = 0;
return
end
if(x > 1e100)
value = 1.;
return
end
eps = 3.0e-7;
if( x < 0. | n < 0.)
'error'
return
end
if
www.eeworm.com/read/398034/8008998
m sa_fig4_4.m
% Figure 4.4 2-D patterns for isotropic array of N elements
%
set(0,'defaultfigurecolor','w')
theta=0:.005:2*pi;
N=4;
% phase shift for end-fire
%delta=-pi*sqrt(2); % phase shift
www.eeworm.com/read/398034/8009045
m sa_fig4_5.m
% Figure 4.4 2-D patterns for isotropic array of N elements
%
set(0,'defaultfigurecolor','w')
theta=-pi/2:.005:pi/2;
N=4;
%delta=-pi*sqrt(2); % phase shift for broadside delta=0;
www.eeworm.com/read/196152/8112626
h factorgraph.h
/**************************************
*
* factorgraph
*
**************************************/
#ifndef FACTORGRAPH
#define FACTORGRAPH
#undef FACTORGRAPH_DEBUG
#include "BlockCodeGenerator.h"
www.eeworm.com/read/196016/8118345
cpp ai_1001.cpp
#include
#include
void Multiply(unsigned int[],int&, unsigned int[],int);
void Display(unsigned int[],unsigned int,int);
void main()
{
int PointLen,n,i,UsedNum,len,temp;
c
www.eeworm.com/read/246805/12704037
m igamma_for.m
function value = incomplete_gamma (x,n)
if( x == 0)
value = 0;
return
end
if(x > 1e100)
value = 1.;
return
end
eps = 3.0e-7;
if( x < 0. | n < 0.)
'error'
return
end
if
www.eeworm.com/read/246404/12727371
pas ac1138.pas
program tju1138;
const
maxterms=1000;
type
term=record factor,index:longint;end;
formula=array[1..maxterms]of term;
var
a,b,c:formula;
p,la,lb,lc,i,j:longint;
s:ansistring;
fir