Changeset 70 in pacpusframework for trunk/include/Pacpus/PacpusTools/matrice.h
- Timestamp:
- 01/10/13 11:24:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/PacpusTools/matrice.h
r69 r70 57 57 } 58 58 59 /// @todo Documentation 59 60 matrice &operator+=(const matrice &m); //m+=m1 61 /// @todo Documentation 60 62 matrice &operator-=(const matrice &m); //m-=m1 61 63 64 /// @todo Documentation 62 65 matrice operator+(const matrice &m1) const; //m=m1+m2 66 /// @todo Documentation 63 67 matrice operator-(const matrice &m1) const; //m=m1-m2 68 /// @todo Documentation 64 69 matrice operator*(const matrice &m1) const; //m=m1*m2 65 70 71 /// @todo Documentation 66 72 matrice &operator+=(double x); //m+=x 73 /// @todo Documentation 67 74 matrice &operator-=(double x); //m-=x 68 75 76 /// @todo Documentation 69 77 matrice operator+(double x)const; //m+x 78 /// @todo Documentation 70 79 matrice operator-(double x)const; //m-x 80 /// @todo Documentation 71 81 matrice operator*(double x)const; //m*x 82 /// @todo Documentation 72 83 matrice operator/(double x)const; //m/x 73 84 85 /// @todo Documentation 74 86 friend matrice operator+(double x,matrice m1) {return m1+x ;} // x+m ; 87 /// @todo Documentation 75 88 friend matrice operator-(double x,matrice m1) {return m1-x ;} // x-m ; 89 /// @todo Documentation 76 90 friend matrice operator*(double x,matrice m1) {return m1*x ;} // x*m ; 77 91 78 matrice T(); //transposition 79 matrice I(); //inversion 92 /// Matrix transpose. 93 matrice T(); 94 /// Matrix inverse. 95 matrice I(); 80 96 97 /// @todo Documentation 81 98 double &operator()(unsigned short int i, unsigned short int j); // ecriture m(i,j)=x 99 /// @todo Documentation 82 100 double operator()(unsigned short int i, unsigned short int j) const; //lecture x=m(i,j) 101 /// @todo Documentation 83 102 double &operator()(unsigned short int i); // ecriture m(i)=x 103 /// @todo Documentation 84 104 double operator()(unsigned short int i) const; //lecture x=m(i) 85 105 106 /// @todo Documentation 86 107 void print(const char *nom); 87 108 };
Note:
See TracChangeset
for help on using the changeset viewer.