b19e12d67b2a64bbb912cfdef59293981acd8699
[GPU.git] / TabTools.h
1 #ifndef TAB_TOOLS_H_
2 #define TAB_TOOLS_H_
3
4 /*----------------------------------------------------------------------*\
5 |* Declaration *|
6 \*---------------------------------------------------------------------*/
7
8 class TabTools
9 {
10 public:
11
12 /*--------------------------------------*\
13 |* Constructor *|
14 \*-------------------------------------*/
15
16 TabTools();
17 virtual ~TabTools();
18
19 /*--------------------------------------*\
20 |* Methodes *|
21 \*-------------------------------------*/
22
23 public:
24
25 static double reduction(double* tab, int n);
26
27 static void init(double* tab,int n,double a);
28
29 private:
30
31 /*--------------------------------------*\
32 |* Methodes *|
33 \*-------------------------------------*/
34
35 /*--------------------------------------*\
36 |* Attributs *|
37 \*-------------------------------------*/
38
39 };
40
41 #endif
42
43 /*----------------------------------------------------------------------*\
44 |* End *|
45 \*---------------------------------------------------------------------*/