TMatrixDiag


class description - source file - inheritance tree

class TMatrixDiag : public TObject

    private:
TMatrixDiag TMatrixDiag() public:
TMatrixDiag TMatrixDiag(const TMatrix& matrix) TMatrixDiag TMatrixDiag(TMatrixDiag&) void ~TMatrixDiag() TClass* Class() Int_t GetNdiags() const virtual TClass* IsA() const const Real_t& operator()(Int_t i) const void operator*=(Double_t val) void operator+=(Double_t val) void operator=(Real_t val) void operator=(const TVector& vec) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b)

Data Members

private:
const TMatrix* fMatrix the matrix I am the diagonal of Int_t fInc if ptr=@a[i,i], then ptr+inc = @a[i+1,i+1] Int_t fNdiag number of diag elems, min(nrows,ncols) Real_t* fPtr pointer to the a[0,0]

Class Description

                                                                      
 Matrix utility classes.                                              
                                                                      
 This file defines utility classes for the Linear Algebra Package.    
 The following classes are defined here:                              
   TMatrixAction                                                      
   TMatrixPosAction                                                   
   TLazyMatrix                                                        
   THaarMatrix                                                        
   TMatrixRow                                                         
   TMatrixColumn                                                      
   TMatrixDiag                                                        
   TMatrixPivoting                                                    
                                                                      


void Streamer(TBuffer &R__b)
 Stream an object of class TMatrixDiag.

TMatrixDiag(const TMatrix &matrix) : fMatrix(&matrix), fInc(matrix.fNrows+1), fNdiag(TMath::Min(matrix.fNrows, matrix.fNcols))



Inline Functions


          TMatrixDiag TMatrixDiag(const TMatrix& matrix)
                 void operator=(Real_t val)
                 void operator+=(Double_t val)
                 void operator*=(Double_t val)
                 void operator=(const TVector& vec)
        const Real_t& operator()(Int_t i) const
                Int_t GetNdiags() const
              TClass* Class()
              TClass* IsA() const
                 void ShowMembers(TMemberInspector& insp, char* parent)
          TMatrixDiag TMatrixDiag(TMatrixDiag&)
                 void ~TMatrixDiag()


Author: Fons Rademakers 05/11/97
Last update: 2.23/12 22/01/2000 18.32.48 by Rene Brun
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.