代码搜索:Vector
找到约 10,000 项符合「Vector」的源代码
代码结果 10,000
www.eeworm.com/read/108219/15590866
c odeint.c
#include
#define MAXSTP 10000
#define TINY 1.0e-30
int kmax=0,kount=0; /* defining declaration */
float *xp=0,**yp=0,dxsav=0; /* defining declaration */
void odeint(ystart,nvar,x
www.eeworm.com/read/108219/15590876
c dlinmin.c
#define TOL 2.0e-4
int ncom=0; /* defining declarations */
float *pcom=0,*xicom=0,(*nrfunc)();
void (*nrdfun)();
void dlinmin(p,xi,n,fret,func,dfunc)
float p[],xi[],*fret,(*func)();
void (*d
www.eeworm.com/read/108219/15590883
c spear.c
#include
static float sqrarg;
#define SQR(a) (sqrarg=(a),sqrarg*sqrarg)
void spear(data1,data2,n,d,zd,probd,rs,probrs)
float data1[],data2[];
float *d,*zd,*probd,*rs,*probrs;
int n;
www.eeworm.com/read/108219/15590890
c splin2.c
void splin2(x1a,x2a,ya,y2a,m,n,x1,x2,y)
float x1a[],x2a[],**ya,**y2a,x1,x2,*y;
int m,n;
{
int j;
float *ytmp,*yytmp,*vector();
void spline(),splint(),free_vector();
ytmp=vector(1,n);
yy
www.eeworm.com/read/108219/15590893
c powell.c
#include
#define ITMAX 200
static float sqrarg;
#define SQR(a) (sqrarg=(a),sqrarg*sqrarg)
void powell(p,xi,n,ftol,iter,fret,func)
float p[],**xi,ftol,*fret,(*func)();
int n,*iter;
www.eeworm.com/read/107320/15609749
cpp lengyel.cpp
/* Copyright (C) Eric Lengyel, 2001.
* All rights reserved worldwide.
*
* This software is provided "as is" without express or implied
* warranties. You may freely copy and compile this sourc
www.eeworm.com/read/106940/15616834
c frprmn.c
#include
#define ITMAX 200
#define EPS 1.0e-10
#define FREEALL free_vector(xi,1,n);free_vector(h,1,n);free_vector(g,1,n);
void frprmn(p,n,ftol,iter,fret,func,dfunc)
float p[],ftol,*f
www.eeworm.com/read/106940/15616838
c tridag.c
void tridag(a,b,c,r,u,n)
float a[],b[],c[],r[],u[];
int n;
{
int j;
float bet,*gam,*vector();
void nrerror(),free_vector();
gam=vector(1,n);
if (b[1] == 0.0) nrerror("Error 1 in TRIDAG"
www.eeworm.com/read/106940/15616841
c df1dim.c
extern int ncom; /* defined in DLINMIN */
extern float *pcom,*xicom,(*nrfunc)();
extern void (*nrdfun)();
float df1dim(x)
float x;
{
int j;
float df1=0.0;
float *xt,*df,*vector();
void
www.eeworm.com/read/106940/15616844
c mmid.c
void mmid(y,dydx,nvar,xs,htot,nstep,yout,derivs)
float y[],dydx[],xs,htot,yout[];
void (*derivs)(); /* ANSI: void (*derivs)(float,float *,float *); */
int nvar,nstep;
{
int n,i;
float x,swap,h