代码搜索:SIMP

找到约 1,031 项符合「SIMP」的源代码

代码结果 1,031
www.eeworm.com/read/199939/7814312

asv simp.asv

function I=simp(f,a,b,n) %n为偶数,复化simpson公式 h=(b-a)/n; s=feval(f,a); for i=1:2:n-1 x(i)=a+h*i; s=s+4*feval(f,x(i)); end for i=2:2:n-2 x(i)=a+h*i; s=s+2*feval(f,x(i)); end s=s+feval(
www.eeworm.com/read/199939/7814317

m simp.m

function I=simp(f,a,b,n) %n为偶数,复化simpson公式 h=(b-a)/n; s=feval(f,a); for i=1:2:n-1 x(i)=a+h*i; s=s+4*feval(f,x(i)); end t=s-feval(f,a) for i=2:2:n-2 x(i)=a+h*i; s=s+2*feval(f,x(i));
www.eeworm.com/read/198748/7913464

chr simp.chr

www.eeworm.com/read/297888/7989978

chr simp.chr

www.eeworm.com/read/141969/12975322

c simp.c

#include "c.h" #include static char rcsid[] = "$Id: simp.c,v 1.1 2002/08/28 23:12:45 drh Exp $"; #define foldcnst(TYPE,VAR,OP) \ if (l->op == CNST+TYPE && r->op == CNST+TYPE) \ r
www.eeworm.com/read/139758/13136278

chr simp.chr

www.eeworm.com/read/240985/13183186

chr simp.chr

www.eeworm.com/read/137955/13276737

c simp.c

#include "c.h" #include static char rcsid[] = "$Id: simp.c,v 1.1 2002/08/28 23:12:45 drh Exp $"; #define foldcnst(TYPE,VAR,OP) \ if (l->op == CNST+TYPE && r->op == CNST+TYPE) \ return c
www.eeworm.com/read/317333/13505796

c simp.c

#include "math.h" double simp(a,b,eps,f) double a,b,eps,(*f)(); { int n,k; double h,t1,t2,s1,s2,ep,p,x; n=1; h=b-a; t1=h*((*f)(a)+(*f)(b))/2.0; s1=t1; ep=eps+1.0;
www.eeworm.com/read/316786/13517866

c simp.c

#include #include double Function(double); double SIMP1(double,double,int); double SIMP2(double,double,double); void main() { double a1,b1,eps; int n1; double Result