TMatrixDDiag


class description - source file - inheritance tree

class TMatrixDDiag : public TObject

    private:
TMatrixDDiag TMatrixDDiag() public:
TMatrixDDiag TMatrixDDiag(const TMatrixD& matrix) TMatrixDDiag TMatrixDDiag(const TMatrixDDiag&) void ~TMatrixDDiag() static TClass* Class() Int_t GetNdiags() const virtual TClass* IsA() const const Double_t& operator()(Int_t i) const Double_t& operator()(Int_t i) void operator*=(Double_t val) void operator+=(Double_t val) void operator=(Double_t val) void operator=(const TMatrixDDiag& d) void operator=(const TVectorD& vec) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
const TMatrixD* 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) Double_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:                              
   TMatrixDAction                                                     
   TMatrixDPosAction                                                  
   TLazyMatrixD                                                       
   THaarMatrixD                                                       
   TMatrixDRow                                                        
   TMatrixDColumn                                                     
   TMatrixDDiag                                                       
   TMatrixDPivoting                                                   
                                                                      


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

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



Inline Functions


           TMatrixDDiag TMatrixDDiag(const TMatrixD& matrix)
                   void operator=(Double_t val)
                   void operator+=(Double_t val)
                   void operator*=(Double_t val)
                   void operator=(const TMatrixDDiag& d)
                   void operator=(const TVectorD& vec)
        const Double_t& operator()(Int_t i) const
              Double_t& operator()(Int_t i)
                  Int_t GetNdiags() const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void StreamerNVirtual(TBuffer& b)
           TMatrixDDiag TMatrixDDiag(const TMatrixDDiag&)
                   void ~TMatrixDDiag()


Author: Fons Rademakers 03/11/97
Last update: root/matrix:$Name: $:$Id: TMatrixDUtils.cxx,v 1.8 2002/09/13 08:52:13 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


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.