library: libMatrix #include "TMatrixDUtils.h"

# TMatrixDDiag_const

class description - source file - inheritance tree (.pdf)

## class TMatrixDDiag_const

| Inheritance Chart:

`TMatrixDDiag_const`

<-

`TMatrixDDiag` |

        public:

                              TMatrixDDiag_const()
                              TMatrixDDiag_const(const TMatrixD& matrix)
                              TMatrixDDiag_const(const TMatrixDSym& matrix)
                              TMatrixDDiag_const(const TMatrixDDiag_const&)
                      virtual ~TMatrixDDiag_const()
               static TClass* Class()
                        Int_t GetInc() const
          const TMatrixDBase* GetMatrix() const
                        Int_t GetNdiags() const
              const Double_t* GetPtr() const
              virtual TClass* IsA() const
              const Double_t& operator()(Int_t i) const
              const Double_t& operator[](Int_t i) const
                 virtual void ShowMembers(TMemberInspector& insp, char* parent)
                 virtual void Streamer(TBuffer& b)
                         void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          const TMatrixDBase* 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)
              const 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:

     Different matrix views without copying data elements :
       TMatrixDRow_const        TMatrixDRow
       TMatrixDColumn_const     TMatrixDColumn
       TMatrixDDiag_const       TMatrixDDiag
       TMatrixDFlat_const       TMatrixDFlat
       TMatrixDSub_const        TMatrixDSub
       TMatrixDSparseRow_const  TMatrixDSparseRow
       TMatrixDSparseDiag_const TMatrixDSparseDiag

       TElementActionD
       TElementPosActionD

### Inline Functions

                           void ~TMatrixDDiag_const()
             TMatrixDDiag_const TMatrixDDiag_const()
             TMatrixDDiag_const TMatrixDDiag_const(const TMatrixD& matrix)
             TMatrixDDiag_const TMatrixDDiag_const(const TMatrixDSym& matrix)
            const TMatrixDBase* GetMatrix() const
                const Double_t* GetPtr() const
                          Int_t GetInc() const
                const Double_t& operator()(Int_t i) const
                const Double_t& operator[](Int_t i) const
                          Int_t GetNdiags() const
                        TClass* Class()
                        TClass* IsA() const
                           void ShowMembers(TMemberInspector& insp, char* parent)
                           void Streamer(TBuffer& b)
                           void StreamerNVirtual(TBuffer& b)
             TMatrixDDiag_const TMatrixDDiag_const(const TMatrixDDiag_const&)

Last update: root/matrix:$Name: $:$Id: TMatrixDUtils.h,v 1.30 2005/04/07 14:43:35 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *