File: fcoll.c

package info (click to toggle)
testu01 1.2.3%2Bds1-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye, buster
  • size: 17,740 kB
  • sloc: ansic: 52,357; makefile: 241; sh: 53
file content (35 lines) | stat: -rw-r--r-- 898 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#include <testu01/fcong.h>
#include <testu01/ffam.h>
#include <testu01/fcho.h>
#include <testu01/fmultin.h>
#include <testu01/smultin.h>

int main (void)
{
   int NbDelta = 1;
   double ValDelta[] = { -1 };
   int t = 2;
   ffam_Fam *fam;
   smultin_Param *par;
   fmultin_Res *res;
   fcho_Cho *chon;
   fcho_Cho *chod;
   fcho_Cho2 *cho;

   fam = fcong_CreateLCG ("LCGGood.par", 10, 30, 1);
   par = smultin_CreateParam (NbDelta, ValDelta, smultin_GenerCellSerial, 2);
   res = fmultin_CreateRes (par);
   chon = fcho_CreateSampleSize (0.5, 1, 0, NULL, "n");
   chod = fmultin_CreatePer_DT (t, 1);
   cho = fcho_CreateCho2 (chon, chod);

   fmultin_Serial1 (fam, par, res, cho, 1, 0, t, TRUE, 21, 1, 5, 1);

   fcho_DeleteCho2 (cho);
   fmultin_DeletePer (chod);
   fcho_DeleteSampleSize (chon);
   fmultin_DeleteRes (res);
   smultin_DeleteParam (par);
   fcong_DeleteLCG (fam);
   return 0;
}