代码搜索:Simpson
找到约 618 项符合「Simpson」的源代码
代码结果 618
www.eeworm.com/read/214091/15113490
asv simpson.asv
%此程序是运用辛甫生公式求的函数的在区间中的积分,它是预先要输入一个在区间中n等分,其实程序是把区间分成了2n等分,
%因为进行辛甫生法是只能在区间2n等分进行的,此算法能较为精确的求得函数得积分值,f1是所需进行积分的函数,a,b是积分
%区间,a为
function s=<mark>Simpson</mark>(f1,a,b,n)
f=inline(f1);
h=(b-a)/(2*n);
s=h/3*(f( ...
www.eeworm.com/read/214091/15113492
m simpson.m
%此程序是运用辛甫生公式求的函数的在区间中的积分,它是预先要输入一个在区间中n等分,其实程序是把区间分成了2n等分,
%因为进行辛甫生法是只能在区间2n等分进行的,此算法能较为精确的求得函数得积分值,f1是所需进行积分的函数,a,b是积分
%区间,a为上限,b为下限,n是把区间n等分(实际是2n等分)
function s=<mark>Simpson</mark>(f1,a,b,n)
f=inline(f1);
...
www.eeworm.com/read/211912/15171013
c simpson.c
www.eeworm.com/read/15676/530406
c simpson.c
www.eeworm.com/read/294947/3914352
c simpson.c
/* -*- c -*- */
#include
#include
#define EPS (1.0e-5)
#define JMAX 16
/*
* Compute the Nth stage of refinement of an extended trapezoidal
* rule. FUNC is input as a pointer to
www.eeworm.com/read/294947/3914353
h simpson.h
double qsimp (double (*func)(double),
double a, double b);
www.eeworm.com/read/373367/2764465
c simpson.c
/* -*- c -*- */
#include
#include
#define EPS (1.0e-5)
#define JMAX 16
/*
* Compute the Nth stage of refinement of an extended trapezoidal
* rule. FUNC is input as a pointer to
www.eeworm.com/read/373367/2764466
h simpson.h
double qsimp (double (*func)(double),
double a, double b);
www.eeworm.com/read/351636/3104248
c simpson.c
/* mathews/simpson.f -- translated by f2c (version 20050501).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or
www.eeworm.com/read/351636/3104253
h simpson.h
extern int v3p_netlib_simpru_(
v3p_netlib_doublereal (*f)(v3p_netlib_doublereal*),
v3p_netlib_doublereal *a,
v3p_netlib_doublereal *b,
v3p_netlib_integer *m,
v3p_netlib_doublereal *srul