StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
TRArray Class Reference
Inheritance diagram for TRArray:
TRDiagMatrix TRMatrix TRSymMatrix TRVector

Public Types

enum  ETRMatrixType {
  kUndefined, kVector, kRectangular, kSemiPosDefinedSymMatrix,
  kDiagonalMatrix
}
 
enum  ETRMatrixCreatorsOp {
  kZero, kUnit, kTransposed, kInverted,
  kInvertedPosDef, kInvertedA, kMult, kAxB,
  kAxBT, kATxB, kATxBT, kAxBxAT,
  kATxBxA, kSxA, kAxS, kSxAT,
  kATxS, kAxAT, kATxA, kAxSxAT,
  kATxSxA, kRxSxR
}
 

Public Member Functions

 TRArray (Int_t N=0)
 
 TRArray (Int_t N, Double_t a0,...)
 
 TRArray (Int_t N, const Double_t *Array)
 
 TRArray (Int_t N, const Float_t *Array)
 
 TRArray (const TRArray &A, const Double_t fA, TRArray &B, const Double_t fB)
 
 TRArray (Int_t N, const Char_t *s)
 
virtual Int_t GetNrows () const
 
virtual Int_t GetNcols () const
 
virtual ETRMatrixType GetMatrixType () const
 
virtual Bool_t IsValid () const
 
virtual Double_t Mag2 () const
 
virtual Double_t Mag () const
 
virtual void SetValid (Bool_t Valid=kTRUE)
 
void Set (Int_t n)
 
void Set (Int_t n, const Double_t *array)
 
void Set (Int_t n, const Float_t *array)
 
void AdoptA (Int_t n, Double_t *arr)
 
void reset ()
 
TRArrayoperator= (const TRArray &rhs)
 
virtual Double_t & operator() (Int_t i)
 
virtual Double_t operator() (Int_t i) const
 
Bool_t Verify (const TRArray &A, const Double_t zeru=5.e-7, Int_t Level=1) const
 
virtual void Print (Option_t *opt="") const
 

Protected Attributes

Bool_t fValid
 
Bool_t fIsNotOwn
 

Friends

TRArrayoperator-= (TRArray &target, Double_t scalar)
 
TRArrayoperator+= (TRArray &target, Double_t scalar)
 
Double_t operator* (const TRArray &target, const TRArray &source)
 
TRArrayoperator*= (TRArray &target, Double_t scalar)
 
TRArrayoperator/= (TRArray &target, Double_t scalar)
 
TRArrayoperator-= (TRArray &target, const TRArray &A)
 
TRArrayoperator+= (TRArray &target, const TRArray &A)
 
Bool_t operator== (TRArray &target, Double_t scalar)
 
Bool_t operator== (TRArray &target, const TRArray &A)
 
TRArray operator+ (const TRArray &A, const TRArray &B)
 
TRArray operator- (const TRArray &A, const TRArray &B)
 

Detailed Description

Definition at line 29 of file TRArray.h.


The documentation for this class was generated from the following files: