c21-1 (779629), страница 3
Текст из файла (страница 3)
Further reproduction, or any copying of machinereadable files (including this one) to any servercomputer, is strictly prohibited. To order Numerical Recipes books,diskettes, or CDROMsvisit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to trade@cup.cam.ac.uk (outside North America).void gaucof(int n, float a[], float b[], float amu0, float x[], float w[]);void gauher(float x[], float w[], int n);void gaujac(float x[], float w[], int n, float alf, float bet);void gaulag(float x[], float w[], int n, float alf);void gauleg(float x1, float x2, float x[], float w[], int n);void gaussj(float **a, int n, float **b, int m);void gcf(float *gammcf, float a, float x, float *gln);float golden(float ax, float bx, float cx, float (*f)(float), float tol,float *xmin);void gser(float *gamser, float a, float x, float *gln);void hpsel(unsigned long m, unsigned long n, float arr[], float heap[]);void hpsort(unsigned long n, float ra[]);void hqr(float **a, int n, float wr[], float wi[]);void hufapp(unsigned long index[], unsigned long nprob[], unsigned long n,unsigned long i);void hufdec(unsigned long *ich, unsigned char *code, unsigned long lcode,unsigned long *nb, huffcode *hcode);void hufenc(unsigned long ich, unsigned char **codep, unsigned long *lcode,unsigned long *nb, huffcode *hcode);void hufmak(unsigned long nfreq[], unsigned long nchin, unsigned long *ilong,unsigned long *nlong, huffcode *hcode);void hunt(float xx[], unsigned long n, float x, unsigned long *jlo);void hypdrv(float s, float yy[], float dyyds[]);fcomplex hypgeo(fcomplex a, fcomplex b, fcomplex c, fcomplex z);void hypser(fcomplex a, fcomplex b, fcomplex c, fcomplex z,fcomplex *series, fcomplex *deriv);unsigned short icrc(unsigned short crc, unsigned char *bufptr,unsigned long len, short jinit, int jrev);unsigned short icrc1(unsigned short crc, unsigned char onech);unsigned long igray(unsigned long n, int is);void iindexx(unsigned long n, long arr[], unsigned long indx[]);void indexx(unsigned long n, float arr[], unsigned long indx[]);void interp(double **uf, double **uc, int nf);int irbit1(unsigned long *iseed);int irbit2(unsigned long *iseed);void jacobi(float **a, int n, float d[], float **v, int *nrot);void jacobn(float x, float y[], float dfdx[], float **dfdy, int n);long julday(int mm, int id, int iyyy);void kendl1(float data1[], float data2[], unsigned long n, float *tau, float *z,float *prob);void kendl2(float **tab, int i, int j, float *tau, float *z, float *prob);void kermom(double w[], double y, int m);void ks2d1s(float x1[], float y1[], unsigned long n1,void (*quadvl)(float, float, float *, float *, float *, float *),float *d1, float *prob);void ks2d2s(float x1[], float y1[], unsigned long n1, float x2[], float y2[],unsigned long n2, float *d, float *prob);void ksone(float data[], unsigned long n, float (*func)(float), float *d,float *prob);void kstwo(float data1[], unsigned long n1, float data2[], unsigned long n2,float *d, float *prob);void laguer(fcomplex a[], int m, fcomplex *x, int *its);void lfit(float x[], float y[], float sig[], int ndat, float a[], int ia[],int ma, float **covar, float *chisq, void (*funcs)(float, float [], int));void linbcg(unsigned long n, double b[], double x[], int itol, double tol,int itmax, int *iter, double *err);void linmin(float p[], float xi[], int n, float *fret,float (*func)(float []));void lnsrch(int n, float xold[], float fold, float g[], float p[], float x[],float *f, float stpmax, int *check, float (*func)(float []));void load(float x1, float v[], float y[]);void load1(float x1, float v1[], float y[]);void load2(float x2, float v2[], float y[]);void locate(float xx[], unsigned long n, float x, unsigned long *j);Table of Prototype Declarations (nr.h)935Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)Copyright (C) 1988-1992 by Cambridge University Press.Programs Copyright (C) 1988-1992 by Numerical Recipes Software.Permission is granted for internet users to make one paper copy for their own personal use.
Further reproduction, or any copying of machinereadable files (including this one) to any servercomputer, is strictly prohibited. To order Numerical Recipes books,diskettes, or CDROMsvisit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to trade@cup.cam.ac.uk (outside North America).void lop(double **out, double **u, int n);void lubksb(float **a, int n, int *indx, float b[]);void ludcmp(float **a, int n, int *indx, float *d);void machar(int *ibeta, int *it, int *irnd, int *ngrd,int *machep, int *negep, int *iexp, int *minexp, int *maxexp,float *eps, float *epsneg, float *xmin, float *xmax);void matadd(double **a, double **b, double **c, int n);void matsub(double **a, double **b, double **c, int n);void medfit(float x[], float y[], int ndata, float *a, float *b, float *abdev);void memcof(float data[], int n, int m, float *xms, float d[]);int metrop(float de, float t);void mgfas(double **u, int n, int maxcyc);void mglin(double **u, int n, int ncycle);float midexp(float (*funk)(float), float aa, float bb, int n);float midinf(float (*funk)(float), float aa, float bb, int n);float midpnt(float (*func)(float), float a, float b, int n);float midsql(float (*funk)(float), float aa, float bb, int n);float midsqu(float (*funk)(float), float aa, float bb, int n);void miser(float (*func)(float []), float regn[], int ndim, unsigned long npts,float dith, float *ave, float *var);void mmid(float y[], float dydx[], int nvar, float xs, float htot,int nstep, float yout[], void (*derivs)(float, float[], float[]));void mnbrak(float *ax, float *bx, float *cx, float *fa, float *fb,float *fc, float (*func)(float));void mnewt(int ntrial, float x[], int n, float tolx, float tolf);void moment(float data[], int n, float *ave, float *adev, float *sdev,float *var, float *skew, float *curt);void mp2dfr(unsigned char a[], unsigned char s[], int n, int *m);void mpadd(unsigned char w[], unsigned char u[], unsigned char v[], int n);void mpdiv(unsigned char q[], unsigned char r[], unsigned char u[],unsigned char v[], int n, int m);void mpinv(unsigned char u[], unsigned char v[], int n, int m);void mplsh(unsigned char u[], int n);void mpmov(unsigned char u[], unsigned char v[], int n);void mpmul(unsigned char w[], unsigned char u[], unsigned char v[], int n,int m);void mpneg(unsigned char u[], int n);void mppi(int n);void mprove(float **a, float **alud, int n, int indx[], float b[],float x[]);void mpsad(unsigned char w[], unsigned char u[], int n, int iv);void mpsdv(unsigned char w[], unsigned char u[], int n, int iv, int *ir);void mpsmu(unsigned char w[], unsigned char u[], int n, int iv);void mpsqrt(unsigned char w[], unsigned char u[], unsigned char v[], int n,int m);void mpsub(int *is, unsigned char w[], unsigned char u[], unsigned char v[],int n);void mrqcof(float x[], float y[], float sig[], int ndata, float a[],int ia[], int ma, float **alpha, float beta[], float *chisq,void (*funcs)(float, float [], float *, float [], int));void mrqmin(float x[], float y[], float sig[], int ndata, float a[],int ia[], int ma, float **covar, float **alpha, float *chisq,void (*funcs)(float, float [], float *, float [], int), float *alamda);void newt(float x[], int n, int *check,void (*vecfunc)(int, float [], float []));void odeint(float ystart[], int nvar, float x1, float x2,float eps, float h1, float hmin, int *nok, int *nbad,void (*derivs)(float, float [], float []),void (*rkqs)(float [], float [], int, float *, float, float,float [], float *, float *, void (*)(float, float [], float [])));void orthog(int n, float anu[], float alpha[], float beta[], float a[],float b[]);void pade(double cof[], int n, float *resid);void pccheb(float d[], float c[], int n);936Appendix ASample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)Copyright (C) 1988-1992 by Cambridge University Press.Programs Copyright (C) 1988-1992 by Numerical Recipes Software.Permission is granted for internet users to make one paper copy for their own personal use.
Further reproduction, or any copying of machinereadable files (including this one) to any servercomputer, is strictly prohibited. To order Numerical Recipes books,diskettes, or CDROMsvisit website http://www.nr.com or call 1-800-872-7423 (North America only),or send email to trade@cup.cam.ac.uk (outside North America).void pcshft(float a, float b, float d[], int n);void pearsn(float x[], float y[], unsigned long n, float *r, float *prob,float *z);void period(float x[], float y[], int n, float ofac, float hifac,float px[], float py[], int np, int *nout, int *jmax, float *prob);void piksr2(int n, float arr[], float brr[]);void piksrt(int n, float arr[]);void pinvs(int ie1, int ie2, int je1, int jsf, int jc1, int k,float ***c, float **s);float plgndr(int l, int m, float x);float poidev(float xm, long *idum);void polcoe(float x[], float y[], int n, float cof[]);void polcof(float xa[], float ya[], int n, float cof[]);void poldiv(float u[], int n, float v[], int nv, float q[], float r[]);void polin2(float x1a[], float x2a[], float **ya, int m, int n,float x1, float x2, float *y, float *dy);void polint(float xa[], float ya[], int n, float x, float *y, float *dy);void powell(float p[], float **xi, int n, float ftol, int *iter, float *fret,float (*func)(float []));void predic(float data[], int ndata, float d[], int m, float future[], int nfut);float probks(float alam);void psdes(unsigned long *lword, unsigned long *irword);void pwt(float a[], unsigned long n, int isign);void pwtset(int n);float pythag(float a, float b);void pzextr(int iest, float xest, float yest[], float yz[], float dy[],int nv);float qgaus(float (*func)(float), float a, float b);void qrdcmp(float **a, int n, float *c, float *d, int *sing);float qromb(float (*func)(float), float a, float b);float qromo(float (*func)(float), float a, float b,float (*choose)(float (*)(float), float, float, int));void qroot(float p[], int n, float *b, float *c, float eps);void qrsolv(float **a, int n, float c[], float d[], float b[]);void qrupdt(float **r, float **qt, int n, float u[], float v[]);float qsimp(float (*func)(float), float a, float b);float qtrap(float (*func)(float), float a, float b);float quad3d(float (*func)(float, float, float), float x1, float x2);void quadct(float x, float y, float xx[], float yy[], unsigned long nn,float *fa, float *fb, float *fc, float *fd);void quadmx(float **a, int n);void quadvl(float x, float y, float *fa, float *fb, float *fc, float *fd);float ran0(long *idum);float ran1(long *idum);float ran2(long *idum);float ran3(long *idum);float ran4(long *idum);void rank(unsigned long n, unsigned long indx[], unsigned long irank[]);void ranpt(float pt[], float regn[], int n);void ratint(float xa[], float ya[], int n, float x, float *y, float *dy);void ratlsq(double (*fn)(double), double a, double b, int mm, int kk,double cof[], double *dev);double ratval(double x, double cof[], int mm, int kk);float rc(float x, float y);float rd(float x, float y, float z);void realft(float data[], unsigned long n, int isign);void rebin(float rc, int nd, float r[], float xin[], float xi[]);void red(int iz1, int iz2, int jz1, int jz2, int jm1, int jm2, int jmf,int ic1, int jc1, int jcf, int kc, float ***c, float **s);void relax(double **u, double **rhs, int n);void relax2(double **u, double **rhs, int n);void resid(double **res, double **u, double **rhs, int n);float revcst(float x[], float y[], int iorder[], int ncity, int n[]);void reverse(int iorder[], int ncity, int n[]);Table of Prototype Declarations (nr.h)937Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5)Copyright (C) 1988-1992 by Cambridge University Press.Programs Copyright (C) 1988-1992 by Numerical Recipes Software.Permission is granted for internet users to make one paper copy for their own personal use.















