代码搜索:SIMP
找到约 1,031 项符合「SIMP」的源代码
代码结果 1,031
www.eeworm.com/read/137335/13328470
c 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;
www.eeworm.com/read/137053/13347083
chm strutsgossip_simp.chm
www.eeworm.com/read/320570/13423041
c 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;
www.eeworm.com/read/318926/13466398
c 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;
www.eeworm.com/read/317333/13505791
c simp0.c
#include "stdio.h"
#include "simp.c"
main()
{ double a,b,eps,t,simpf();
a=0.0; b=1.0; eps=0.000001;
t=simp(a,b,eps,simpf);
printf("\n");
printf("t=%e\n",t);
print
www.eeworm.com/read/312211/13615784
cpp simp1.cpp
#include
#include "nr.h"
using namespace std;
void NR::simp1(Mat_I_DP &a, const int mm, Vec_I_INT &ll, const int nll,
const int iabf, int &kp, DP &bmax)
{
int k;
DP test;
if (n
www.eeworm.com/read/312211/13615791
cpp simp2.cpp
#include "nr.h"
void NR::simp2(Mat_I_DP &a, const int m, const int n, int &ip, const int kp)
{
const DP EPS=1.0e-14;
int k,i;
DP qp,q0,q,q1;
ip=0;
for (i=0;i
www.eeworm.com/read/312211/13615891
cpp simp3.cpp
#include "nr.h"
void NR::simp3(Mat_IO_DP &a, const int i1, const int k1, const int ip,
const int kp)
{
int ii,kk;
DP piv;
piv=1.0/a[ip][kp];
for (ii=0;ii
www.eeworm.com/read/308359/13703627
m difstack_simp.m
% DIFSTACK_SIMP: create a diffraction stack from vrms(x,t) and a ZOS image
%
% Simplified version of a diffraction stack algorithms without parameter
% choices. The full version is available as
www.eeworm.com/read/142185/5765859
c simp0.c
#include "stdio.h"
#include "simp.c"
main()
{ double a,b,eps,t,simpf();
a=0.0; b=1.0; eps=0.000001;
t=simp(a,b,eps,simpf);
printf("\n");
printf("t=%e\n",t);
print