File: double_permutation.h

package info (click to toggle)
altree 1.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,288 kB
  • sloc: perl: 3,482; ansic: 1,716; sh: 267; pascal: 67; makefile: 21
file content (24 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _DOUBLE_PERMUTATION_H
#define _DOUBLE_PERMUTATION_H

#include "datatype.h"

typedef datatype_t *ensemble_t;
typedef ensemble_t *matrice_t;
typedef datatype_t *replicat_t;

ensemble_t alloc_replicat(int nb_chi2);
void free_replicat(ensemble_t rep);

ensemble_t alloc_ensemble(int nb_sample);
void free_ensemble(ensemble_t ens);

matrice_t alloc_matrice(int nb_sample, int nb_chi2);
void free_matrice(matrice_t mat, int nb_sample, int nb_chi2);

datatype_t calcul(int nb_sample, int nb_chi2, matrice_t mat, replicat_t rep);
datatype_t double_permutation(int nb_sample, int nb_chi2, matrice_t mat,
			      replicat_t rep, ensemble_t ens_min_pval);

#endif