代码搜索结果

找到约 10,000 项符合 9 的代码

9lrgs.c

#include "math.h" double lrgs(a,b,eps,f) double a,b,eps,(*f)(); { int m,i,j; double s,p,ep,h,aa,bb,w,x,g; static double t[5]={-0.9061798459,-0.5384693101,0.0,

9part.c

#include "math.h" void part(a,b,m,n,fa,fb,s) int m,n; double a,b,fa[],fb[],s[]; { int mm,k,j; double sa[4],sb[4],ca[4],cb[4],sma,smb,cma,cmb; sma=sin(m*a); smb=sin(m*b);

9mtml.c

#include "stdlib.h" #include "math.h" #include "3rnd1.c" double mtml(n,a,b,f) int n; double a[],b[],(*f)(); { int m,i; double r,s,d,*x; x=malloc(n*sizeof(double));

9ffts.c

#include "math.h" double ffts(a,b,eps,f) double a,b,eps,(*f)(); { int n,k; double fa,fb,h,t1,p,s,x,t; fa=(*f)(a); fb=(*f)(b); n=1; h=b-a; t1=h*(fa+fb)/2.0; p=eps+

9romb.c

#include "math.h" double romb(a,b,eps,f) double a,b,eps,(*f)(); { int m,n,i,k; double y[10],h,ep,p,x,s,q; h=b-a; y[0]=h*((*f)(a)+(*f)(b))/2.0; m=1; n=1; ep=eps+1.0;

9simp.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;

9fpts.c

#include "math.h" double fpts(a,b,eps,d,f) double a,b,eps,d,(*f)(); { double h,t[2],f0,f1,t0,z; void ppp(); h=b-a; t[0]=0.0; f0=(*f)(a); f1=(*f)(b); t0=h*(f0+f1)/2.0;

9lags.c

#include "math.h" double lags(f) double (*f)(); { int i; double x,g; static double t[5]={0.26355990,1.41340290, 3.59642600,7.08580990,12.64080000}; static doub

9hmgs.c

#include "math.h" double hmgs(f) double (*f)(); { int i; double x,g; static double t[5]={-2.02018200,-0.95857190, 0.0,0.95857190,2.02018200}; static d

9cbsv.c

#include "math.h" double cbsv(a,b,eps,f) double a,b,eps,(*f)(); { int m,i,j; double h,d,p,ep,g,aa,bb,s,x; static double t[5]={-0.8324975,-0.3745414,0.0,