Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP / src / cpp / core / omp / 02_pi / 00_pi_tools.h
1 #ifndef PI_TOOLS_H_
2 #define PI_TOOLS_H_
3
4 #include <string>
5
6 using std::string;
7
8 /*----------------------------------------------------------------------*\
9 |* Declaration *|
10 \*---------------------------------------------------------------------*/
11
12 // ptr fonction de type double xxx(int n)
13 // ou xxx sera une methode de calcul de pi
14 typedef double (*AlgoPI)(int);
15
16 /*--------------------------------------*\
17 |* Methode *|
18 \*-------------------------------------*/
19
20 double fpi(double x);
21 bool isAlgoPI_OK(AlgoPI algoPI, int n, string title);
22
23 #endif
24
25 /*----------------------------------------------------------------------*\
26 |* End *|
27 \*---------------------------------------------------------------------*/
28