Changeset 69 in pacpusframework for trunk/include/Pacpus/PacpusTools/matrice.h
- Timestamp:
- 01/10/13 00:04:42 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/PacpusTools/matrice.h
r66 r69 21 21 } t_m; 22 22 23 /// Simple matrix. 24 /// @todo Documentation 23 25 class matrice 24 26 { … … 29 31 30 32 public: 31 // constructeurs33 /// Ctor 32 34 matrice(); 35 /// Ctor 33 36 matrice(unsigned short int nl, unsigned short int nc); 37 /// Ctor 34 38 matrice(unsigned short int nl, unsigned short int nc,t_m type); 39 /// Copy ctor 35 40 matrice(const matrice &source); //constructeur par copie 36 // destructeur41 /// Dtor 37 42 virtual ~matrice(void); 38 void Alloue(unsigned short int nl, unsigned short int nc); //allocation de la matrice39 43 40 // fonction pour le calcul de matrice 44 /// Allocates matrix data 45 /// @todo Rename 46 void Alloue(unsigned short int nl, unsigned short int nc); 47 48 /// Assignment operator for matrix operand 41 49 matrice &operator=(const matrice &m);//m=m1 50 /// Assignment operator for scalar operand 42 51 matrice &operator=(double x); //m=x 43 operator double()const{return **lignes;} 52 /// Conversion operator to double 53 /// @todo FIXME 54 operator double() const 55 { 56 return **lignes; 57 } 44 58 45 59 matrice &operator+=(const matrice &m); //m+=m1
Note:
See TracChangeset
for help on using the changeset viewer.