projects
/
GPU.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remplacement des 'powf(a, 2)' par 'a*a'.
[GPU.git]
/
WCudaMSE
/
Student_Cuda_Image
/
src
/
cpp
/
core
/
03_Newton
/
moo
/
host
/
Newton.h
diff --git
a/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.h
b/WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.h
index
ad86979
..
0b876f0
100755
(executable)
--- a/
WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.h
+++ b/
WCudaMSE/Student_Cuda_Image/src/cpp/core/03_Newton/moo/host/Newton.h
@@
-4,6
+4,7
@@
#include "cudaTools.h"
\r
#include "AnimableFonctionel_I.h"
\r
#include "MathTools.h"
\r
#include "cudaTools.h"
\r
#include "AnimableFonctionel_I.h"
\r
#include "MathTools.h"
\r
+#include "VariateurI.h"
\r
#include "VariateurF.h"
\r
\r
class Newton : public AnimableFonctionel_I
\r
#include "VariateurF.h"
\r
\r
class Newton : public AnimableFonctionel_I
\r
@@
-24,8
+25,11
@@
class Newton : public AnimableFonctionel_I
string getTitle(void) /*override*/;
\r
\r
private:
\r
string getTitle(void) /*override*/;
\r
\r
private:
\r
- VariateurF variateurAnimation;
\r
+ VariateurI variateurN; // Variateur sur le nombre d'iteration max.
\r
+ VariateurF variateurEpsilon; // Variateur sur epsilon.
\r
+
\r
float t;
\r
float t;
\r
+ float epsilon;
\r
\r
// Inputs
\r
const int w;
\r
\r
// Inputs
\r
const int w;
\r