代码搜索:Vector
找到约 10,000 项符合「Vector」的源代码
代码结果 10,000
www.eeworm.com/read/158443/11615432
c xrk4.c
/* Driver for routine rk4 */
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define N 4
void derivs(float x,float y[],float dydx[])
{
dydx[1] = -y[2];
dydx[2]=y
www.eeworm.com/read/158443/11615455
c xks2d2s.c
/* Driver for routine ks2d2s */
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define NMAX 1000
int main(void)
{
long idum;
unsigned long j,jtrial,n1,n2,ntrial
www.eeworm.com/read/158443/11615459
c ratint.c
#include
#include "nrutil.h"
#define TINY 1.0e-25
#define FREERETURN {free_vector(d,1,n);free_vector(c,1,n);return;}
void ratint(xa,ya,n,x,y,dy)
float *dy,*y,x,xa[],ya[];
int n;
{
www.eeworm.com/read/158443/11615471
c xsprsax.c
/* Driver for routine sprsax */
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define NP 5
#define NMAX (2*NP*NP+1)
int main(void)
{
unsigned long i,j,msize,*ij
www.eeworm.com/read/158443/11615479
c rkdumb.c
#include "nrutil.h"
float **y,*xx;
void rkdumb(vstart,nvar,x1,x2,nstep,derivs)
float vstart[],x1,x2;
int nstep,nvar;
void (*derivs)();
{
void rk4();
int i,k;
float x,h;
float *v,*vou
www.eeworm.com/read/158443/11615520
c linmin.c
#include "nrutil.h"
#define TOL 2.0e-4
int ncom;
float *pcom,*xicom,(*nrfunc)();
void linmin(p,xi,n,fret,func)
float (*func)(),*fret,p[],xi[];
int n;
{
float brent(),f1dim();
void mnbra
www.eeworm.com/read/158443/11615548
c xfred2.c
/* Driver for routine fred2 */
#include
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define N 8
#define PI 3.1415927
float g(float t)
{
return sqrt(
www.eeworm.com/read/158443/11615564
c xpccheb.c
/* Driver for routine pccheb */
#include
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define NCHECK 15
#define NFEW 13
#define NMANY 17
#define NMAX 100
www.eeworm.com/read/158443/11615649
c xpredic.c
/* Driver for routine predic */
#include
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
#define NPTS 500
#define NPOLES 10
#define NFUT 20
#define PI 3.141
www.eeworm.com/read/158443/11615711
c xnewt.c
/* Driver for routine newt */
#include
#include
#define NRANSI
#include "nr.h"
#include "nrutil.h"
void funcv(int n,float x[],float f[])
{
f[1]=SQR(x[1])+SQR(x[2])-2.0;