Skip to content
Snippets Groups Projects
  1. Jul 31, 2002
  2. Jul 30, 2002
  3. Jul 29, 2002
  4. Jul 28, 2002
  5. Jul 27, 2002
  6. Jul 26, 2002
    • Fons Rademakers's avatar
      The following operations have been added to TMatrix,TMatrixD: · c15c3d11
      Fons Rademakers authored
      TMatrix  operator+(const TMatrix &source1, const TMatrix &source2);
      TMatrix  operator-(const TMatrix &source1, const TMatrix &source2);
      TMatrix  operator*(const TMatrix &source1, const TMatrix &source2);
      
      The next will accomplish together a[i][j]:
      
      const TMatrixRow operator[](Int_t rown) const;
      TMatrixRow operator[](Int_t rown);
      
      changes to TMatrixRow:
      const Double_t &operator[](Int_t i) const;
      Double_t &operator[](Int_t i);
      
      The following operations have been added to TVector,TVectorD:
      
      TVector  operator+(const TVector &source1, const TVector &source2);
      TVector  operator-(const TVector &source1, const TVector &source2);
      
      However, users should still take notion of the comments at in the
      class description of TMatrix:
      
      // 2. Use "two-address instructions"                                    //
      //        "void TMatrixD::operator += (const TMatrixD &B);"             //
      //    as much as possible.                                              //
      //    That is, to add two matrices, it's much more efficient to write   //
      //        A += B;                                                       //
      //    than                                                              //
      //        TMatrixD C = A + B;                                           //
      //    (if both operand should be preserved,                             //
      //        TMatrixD C = A; C += B;                                       //
      //    is still better).                                                 //
      
      Mods by Eddy Offermann.
      
      
      git-svn-id: http://root.cern.ch/svn/root/trunk@5011 27541ba8-7e3a-0410-8455-c3a389f83636
      c15c3d11
    • Fons Rademakers's avatar
      attach was not reset to false. By Maarten. · 8466d4d6
      Fons Rademakers authored
      git-svn-id: http://root.cern.ch/svn/root/trunk@5010 27541ba8-7e3a-0410-8455-c3a389f83636
      8466d4d6
  7. Jul 25, 2002
  8. Jul 24, 2002
  9. Jul 23, 2002
  10. Jul 22, 2002
  11. Jul 19, 2002
Loading