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

Public Member Functions

 TRVector (Int_t nrows=0)
 
 TRVector (Int_t nrows, const Double_t *Array)
 
 TRVector (Int_t nrows, const Float_t *Array)
 
 TRVector (const TRVector &A, ETRMatrixCreatorsOp kop, const TRMatrix &B)
 
 TRVector (const TRMatrix &A, ETRMatrixCreatorsOp kop, const TRVector &B)
 
 TRVector (const TRMatrix &A, Int_t I=1)
 
 TRVector (Int_t nrows, const Char_t *s)
 
 TRVector (const TRSymMatrix &S, ETRMatrixCreatorsOp kop, const TRVector &A)
 
 TRVector (const TRVector &A, ETRMatrixCreatorsOp kop, const TRSymMatrix &S)
 
TRVectoroperator= (const TVector3 &rhs)
 
TRVectoroperator= (const StThreeVectorD &rhs)
 
 TRVector (const TVector3 &rhs)
 
 TRVector (const StThreeVectorD &rhs)
 
TRVector Cross (const TRVector &v) const
 
TRVector Unit () const
 
 TRVector (Int_t nrows, Double_t a0,...)
 
ETRMatrixType GetMatrixType () const
 
virtual void Print (Option_t *opt="") const
 
- Public Member Functions inherited from TRMatrix
 TRMatrix (Int_t nrows=0, Int_t ncols=0)
 
 TRMatrix (Int_t nrows, Int_t ncols, const Double_t *Array)
 
 TRMatrix (Int_t nrows, Int_t ncols, const Float_t *Array)
 
 TRMatrix (const TRMatrix &A, ETRMatrixCreatorsOp kop, const TRMatrix &B)
 
 TRMatrix (ETRMatrixCreatorsOp kop, Int_t nrows)
 
 TRMatrix (const TRMatrix &A, ETRMatrixCreatorsOp kop)
 
 TRMatrix (Int_t nrows, Int_t ncols, const Char_t *s)
 
 TRMatrix (const TRSymMatrix &S, ETRMatrixCreatorsOp kop, const TRMatrix &A)
 
 TRMatrix (const TRMatrix &A, ETRMatrixCreatorsOp kop, const TRSymMatrix &S)
 
 TRMatrix (const TRSymMatrix &S)
 
 TRMatrix (const TRMatrix &S, Int_t NI, Int_t NJ=0, Int_t I=1, Int_t J=1)
 
 TRMatrix (Int_t nrows, Int_t ncols, Double_t a0,...)
 
TRMatrixoperator= (const TRMatrix &rhs)
 
Int_t GetNrows () const
 
Int_t GetNcols () const
 
Int_t NI () const
 
Int_t NJ () const
 
void SetMatrix (Int_t nrows, Int_t ncols, const Double_t *array=0)
 
Double_t & operator() (Int_t i)
 
Double_t operator() (Int_t i) const
 
Double_t & operator() (Int_t i, Int_t j)
 
Double_t operator() (Int_t i, Int_t j) const
 
void Add (const TRMatrix &A, ETRMatrixCreatorsOp kop, const TRMatrix &B)
 
void Substruct (const TRMatrix &A, ETRMatrixCreatorsOp kop, const TRMatrix &B)
 
void AddRow (const Double_t *row)
 
void AddRow (const Float_t *row)
 
const Double_t * GetRow (UInt_t col=0) const
 
- Public Member Functions inherited from TRArray
 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 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)
 
Bool_t Verify (const TRArray &A, const Double_t zeru=5.e-7, Int_t Level=1) const
 

Friends

TRVector operator* (const TRVector &source, Double_t scalar)
 
TRVector operator* (Double_t scalar, const TRVector &source)
 
TRVector operator/ (const TRVector &source, Double_t scalar)
 
TRVector operator+ (const TRVector &source, Double_t scalar)
 
TRVector operator+ (Double_t scalar, const TRVector &source)
 
TRVector operator- (const TRVector &source, Double_t scalar)
 
TRVector operator- (Double_t scalar, const TRVector &source)
 

Additional Inherited Members

- Public Types inherited from TRArray
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
}
 
- Protected Attributes inherited from TRMatrix
Int_t fNrows
 
Int_t fNcols
 
- Protected Attributes inherited from TRArray
Bool_t fValid
 
Bool_t fIsNotOwn
 

Detailed Description

Definition at line 7 of file TRVector.h.


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