TMatrixDiag
class description - source file - inheritance tree
private:
TMatrixDiag TMatrixDiag()
public:
TMatrixDiag TMatrixDiag(const TMatrix& matrix)
TMatrixDiag TMatrixDiag(const TMatrixDiag&)
void ~TMatrixDiag()
static TClass* Class()
Int_t GetNdiags() const
virtual TClass* IsA() const
const Real_t& operator()(Int_t i) const
Real_t& operator()(Int_t i)
void operator*=(Double_t val)
void operator+=(Double_t val)
void operator=(Real_t val)
void operator=(const TMatrixDiag& d)
void operator=(const TVector& vec)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
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]
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 TMatrixDiag& d)
void operator=(const TVector& vec)
const Real_t& operator()(Int_t i) const
Real_t& operator()(Int_t i)
Int_t GetNdiags() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void StreamerNVirtual(TBuffer& b)
TMatrixDiag TMatrixDiag(const TMatrixDiag&)
void ~TMatrixDiag()
Author: Fons Rademakers 05/11/97
Last update: root/matrix:$Name: $:$Id: TMatrixUtils.cxx,v 1.7 2002/09/09 05:37:26 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.