il y a t il un probleme a ecrire:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
# ifndef _Tensor
# define _Tensor
 
#include <math.h>
 
 
template< class U,int n>
class Tensor{
public:
 
	Tensor();
	~Tensor(); 	
 
public:
Tensor<U,n-1> operator () ( const int & aLine, const int & aElem );
 
public:
	int              Dim;
	int	*NbElem;
	U	*pTensor;
 
};
 
 
#include "Tensor.cpp"
 
# endif