Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
cdf_35.c
Go to the documentation of this file.00001 #include "cdflib.h"
00002 void cumt(double *t,double *df,double *cum,double *ccum)
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 {
00042 static double K2 = 0.5e0;
00043 static double xx,a,oma,tt,yy,dfptt,T1;
00044
00045
00046
00047
00048 tt = *t**t;
00049 dfptt = *df+tt;
00050 xx = *df/dfptt;
00051 yy = tt/dfptt;
00052 T1 = 0.5e0**df;
00053 cumbet(&xx,&yy,&T1,&K2,&a,&oma);
00054 if(!(*t <= 0.0e0)) goto S10;
00055 *cum = 0.5e0*a;
00056 *ccum = oma+*cum;
00057 goto S20;
00058 S10:
00059 *ccum = 0.5e0*a;
00060 *cum = oma+*ccum;
00061 S20:
00062 return;
00063 }