Logo ROOT   6.08/07
Reference Guide
Functions
TVectorT.cxx File Reference
#include "TVectorT.h"
#include "TClass.h"
#include "TMath.h"
#include "TROOT.h"
#include "Varargs.h"
#include "TMatrixFfwd.h"
#include "TMatrixFSymfwd.h"
#include "TMatrixFSparsefwd.h"
#include "TMatrixDfwd.h"
#include "TMatrixDSymfwd.h"
#include "TMatrixDSparsefwd.h"
Include dependency graph for TVectorT.cxx:

Functions

template<class Element >
TVectorT< Element > & Add (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source)
 Modify addition: target += scalar * source. More...
 
template<class Element >
TVectorT< Element > & Add (TVectorT< Element > &target, Element scalar, const TMatrixT< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += scalar * A * source. More...
 
template<class Element >
TVectorT< Element > & Add (TVectorT< Element > &target, Element scalar, const TMatrixTSym< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += A * source. More...
 
template<class Element >
TVectorT< Element > & Add (TVectorT< Element > &target, Element scalar, const TMatrixTSparse< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += A * source. More...
 
template TVectorDAdd< Double_t > (TVectorD &target, Double_t scalar, const TVectorD &source)
 
template TVectorDAdd< Double_t > (TVectorD &target, Double_t scalar, const TMatrixD &a, const TVectorD &source)
 
template TVectorDAdd< Double_t > (TVectorD &target, Double_t scalar, const TMatrixDSym &a, const TVectorD &source)
 
template TVectorDAdd< Double_t > (TVectorD &target, Double_t scalar, const TMatrixDSparse &a, const TVectorD &source)
 
template TVectorFAdd< Float_t > (TVectorF &target, Float_t scalar, const TVectorF &source)
 
template TVectorFAdd< Float_t > (TVectorF &target, Float_t scalar, const TMatrixF &a, const TVectorF &source)
 
template TVectorFAdd< Float_t > (TVectorF &target, Float_t scalar, const TMatrixFSym &a, const TVectorF &source)
 
template TVectorFAdd< Float_t > (TVectorF &target, Float_t scalar, const TMatrixFSparse &a, const TVectorF &source)
 
template<class Element >
TVectorT< Element > & AddElemDiv (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Modify addition: target += scalar * ElementDiv(source1,source2) . More...
 
template<class Element >
TVectorT< Element > & AddElemDiv (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2, const TVectorT< Element > &select)
 Modify addition: target += scalar * ElementDiv(source1,source2) only for those elements where select[i] != 0.0. More...
 
template TVectorDAddElemDiv< Double_t > (TVectorD &target, Double_t scalar, const TVectorD &source1, const TVectorD &source2)
 
template TVectorDAddElemDiv< Double_t > (TVectorD &target, Double_t scalar, const TVectorD &source1, const TVectorD &source2, const TVectorD &select)
 
template TVectorFAddElemDiv< Float_t > (TVectorF &target, Float_t scalar, const TVectorF &source1, const TVectorF &source2)
 
template TVectorFAddElemDiv< Float_t > (TVectorF &target, Float_t scalar, const TVectorF &source1, const TVectorF &source2, const TVectorF &select)
 
template<class Element >
TVectorT< Element > & AddElemMult (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Modify addition: target += scalar * ElementMult(source1,source2) . More...
 
template<class Element >
TVectorT< Element > & AddElemMult (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2, const TVectorT< Element > &select)
 Modify addition: target += scalar * ElementMult(source1,source2) only for those elements where select[i] != 0.0. More...
 
template TVectorDAddElemMult< Double_t > (TVectorD &target, Double_t scalar, const TVectorD &source1, const TVectorD &source2)
 
template TVectorDAddElemMult< Double_t > (TVectorD &target, Double_t scalar, const TVectorD &source1, const TVectorD &source2, const TVectorD &select)
 
template TVectorFAddElemMult< Float_t > (TVectorF &target, Float_t scalar, const TVectorF &source1, const TVectorF &source2)
 
template TVectorFAddElemMult< Float_t > (TVectorF &target, Float_t scalar, const TVectorF &source1, const TVectorF &source2, const TVectorF &select)
 
template<class Element1 , class Element2 >
Bool_t AreCompatible (const TVectorT< Element1 > &v1, const TVectorT< Element2 > &v2, Int_t verbose)
 Check if v1 and v2 are both valid and have the same shape. More...
 
template<class Element1 , class Element2 >
Bool_t AreCompatible (const TMatrixT< Element1 > &m, const TVectorT< Element2 > &v, Int_t verbose)
 Check if m and v are both valid and have compatible shapes for M * v. More...
 
template<class Element1 , class Element2 >
Bool_t AreCompatible (const TVectorT< Element1 > &v, const TMatrixT< Element2 > &m, Int_t verbose)
 Check if m and v are both valid and have compatible shapes for v * M. More...
 
template Bool_t AreCompatible< Double_t, Double_t > (const TVectorD &v1, const TVectorD &v2, Int_t verbose)
 
template Bool_t AreCompatible< Double_t, Double_t > (const TMatrixD &m, const TVectorD &v, Int_t verbose)
 
template Bool_t AreCompatible< Double_t, Double_t > (const TVectorD &v, const TMatrixD &m, Int_t verbose)
 
template Bool_t AreCompatible< Double_t, Float_t > (const TVectorD &v1, const TVectorF &v2, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Double_t > (const TVectorF &v1, const TVectorD &v2, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Float_t > (const TVectorF &v1, const TVectorF &v2, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Float_t > (const TMatrixF &m, const TVectorF &v, Int_t verbose)
 
template Bool_t AreCompatible< Float_t, Float_t > (const TVectorF &v, const TMatrixF &m, Int_t verbose)
 
template<class Element >
void Compare (const TVectorT< Element > &v1, const TVectorT< Element > &v2)
 Compare two vectors and print out the result of the comparison. More...
 
template void Compare< Double_t > (const TVectorD &v1, const TVectorD &v2)
 
template void Compare< Float_t > (const TVectorF &v1, const TVectorF &v2)
 
template<class Element >
Element Dot (const TVectorT< Element > &v1, const TVectorT< Element > &v2)
 return inner-produvt v1 . v2 More...
 
template Double_t Dot< Double_t > (const TVectorD &v1, const TVectorD &v2)
 
template Float_t Dot< Float_t > (const TVectorF &v1, const TVectorF &v2)
 
Double_t Drand (Double_t &ix)
 Random number generator [0....1] with seed ix. More...
 
template<class Element >
TVectorT< Element > & ElementDiv (TVectorT< Element > &target, const TVectorT< Element > &source)
 Divide target by the source, element-by-element. More...
 
template<class Element >
TVectorT< Element > & ElementDiv (TVectorT< Element > &target, const TVectorT< Element > &source, const TVectorT< Element > &select)
 Divide target by the source, element-by-element only where select[i] != 0.0. More...
 
template TVectorDElementDiv< Double_t > (TVectorD &target, const TVectorD &source)
 
template TVectorDElementDiv< Double_t > (TVectorD &target, const TVectorD &source, const TVectorD &select)
 
template TVectorFElementDiv< Float_t > (TVectorF &target, const TVectorF &source)
 
template TVectorFElementDiv< Float_t > (TVectorF &target, const TVectorF &source, const TVectorF &select)
 
template<class Element >
TVectorT< Element > & ElementMult (TVectorT< Element > &target, const TVectorT< Element > &source)
 Multiply target by the source, element-by-element. More...
 
template<class Element >
TVectorT< Element > & ElementMult (TVectorT< Element > &target, const TVectorT< Element > &source, const TVectorT< Element > &select)
 Multiply target by the source, element-by-element only where select[i] != 0.0. More...
 
template TVectorDElementMult< Double_t > (TVectorD &target, const TVectorD &source)
 
template TVectorDElementMult< Double_t > (TVectorD &target, const TVectorD &source, const TVectorD &select)
 
template TVectorFElementMult< Float_t > (TVectorF &target, const TVectorF &source)
 
template TVectorFElementMult< Float_t > (TVectorF &target, const TVectorF &source, const TVectorF &select)
 
template<class Element1 , class Element2 , class Element3 >
Element1 Mult (const TVectorT< Element1 > &v1, const TMatrixT< Element2 > &m, const TVectorT< Element3 > &v2)
 Perform v1 * M * v2, a scalar result. More...
 
template Double_t Mult< Double_t, Double_t, Double_t > (const TVectorD &v1, const TMatrixD &m, const TVectorD &v2)
 
template Float_t Mult< Float_t, Float_t, Float_t > (const TVectorF &v1, const TMatrixF &m, const TVectorF &v2)
 
template<class Element >
Element operator* (const TVectorT< Element > &v1, const TVectorT< Element > &v2)
 Compute the scalar product. More...
 
template<class Element >
TVectorT< Element > operator* (const TMatrixT< Element > &a, const TVectorT< Element > &source)
 return A * source More...
 
template<class Element >
TVectorT< Element > operator* (const TMatrixTSym< Element > &a, const TVectorT< Element > &source)
 return A * source More...
 
template<class Element >
TVectorT< Element > operator* (const TMatrixTSparse< Element > &a, const TVectorT< Element > &source)
 return A * source More...
 
template<class Element >
TVectorT< Element > operator* (Element val, const TVectorT< Element > &source)
 return val * source More...
 
template Double_t operator*<Double_t > (const TVectorD &source1, const TVectorD &source2)
 
template TVectorD operator*<Double_t > (const TMatrixD &a, const TVectorD &source)
 
template TVectorD operator*<Double_t > (const TMatrixDSym &a, const TVectorD &source)
 
template TVectorD operator*<Double_t > (const TMatrixDSparse &a, const TVectorD &source)
 
template TVectorD operator*<Double_t > (Double_t val, const TVectorD &source)
 
template Float_t operator*<Float_t > (const TVectorF &source1, const TVectorF &source2)
 
template TVectorF operator*<Float_t > (const TMatrixF &a, const TVectorF &source)
 
template TVectorF operator*<Float_t > (const TMatrixFSym &a, const TVectorF &source)
 
template TVectorF operator*<Float_t > (const TMatrixFSparse &a, const TVectorF &source)
 
template TVectorF operator*<Float_t > (Float_t val, const TVectorF &source)
 
template<class Element >
TVectorT< Element > operator+ (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Return source1+source2. More...
 
template TVectorD operator+<Double_t > (const TVectorD &source1, const TVectorD &source2)
 
template TVectorF operator+<Float_t > (const TVectorF &source1, const TVectorF &source2)
 
template<class Element >
TVectorT< Element > operator- (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Return source1-source2. More...
 
template TVectorD operator-<Double_t > (const TVectorD &source1, const TVectorD &source2)
 
template TVectorF operator-<Float_t > (const TVectorF &source1, const TVectorF &source2)
 
template<class Element >
Bool_t operator== (const TVectorT< Element > &v1, const TVectorT< Element > &v2)
 Check to see if two vectors are identical. More...
 
template Bool_t operator==< Double_t > (const TVectorD &source1, const TVectorD &source2)
 
template Bool_t operator==< Float_t > (const TVectorF &source1, const TVectorF &source2)
 
template<class Element1 , class Element2 >
TMatrixT< Element1 > OuterProduct (const TVectorT< Element1 > &v1, const TVectorT< Element2 > &v2)
 Return the matrix M = v1 * v2'. More...
 
template<class Element1 , class Element2 , class Element3 >
TMatrixT< Element1 > & OuterProduct (TMatrixT< Element1 > &target, const TVectorT< Element2 > &v1, const TVectorT< Element3 > &v2)
 Return the matrix M = v1 * v2'. More...
 
template TMatrixD OuterProduct< Double_t, Double_t > (const TVectorD &v1, const TVectorD &v2)
 
template TMatrixDOuterProduct< Double_t, Double_t, Double_t > (TMatrixD &target, const TVectorD &v1, const TVectorD &v2)
 
template TMatrixF OuterProduct< Float_t, Float_t > (const TVectorF &v1, const TVectorF &v2)
 
template TMatrixFOuterProduct< Float_t, Float_t, Float_t > (TMatrixF &target, const TVectorF &v1, const TVectorF &v2)
 
template<class Element >
Bool_t VerifyVectorIdentity (const TVectorT< Element > &v1, const TVectorT< Element > &v2, Int_t verbose, Element maxDevAllow)
 Verify that elements of the two vectors are equal within maxDevAllow . More...
 
template Bool_t VerifyVectorIdentity< Double_t > (const TVectorD &m1, const TVectorD &m2, Int_t verbose, Double_t maxDevAllow)
 
template Bool_t VerifyVectorIdentity< Float_t > (const TVectorF &m1, const TVectorF &m2, Int_t verbose, Float_t maxDevAllow)
 
template<class Element >
Bool_t VerifyVectorValue (const TVectorT< Element > &v, Element val, Int_t verbose, Element maxDevAllow)
 Validate that all elements of vector have value val within maxDevAllow . More...
 
template Bool_t VerifyVectorValue< Double_t > (const TVectorD &m, Double_t val, Int_t verbose, Double_t maxDevAllow)
 
template Bool_t VerifyVectorValue< Float_t > (const TVectorF &m, Float_t val, Int_t verbose, Float_t maxDevAllow)
 

Function Documentation

◆ Add() [1/4]

template<class Element >
TVectorT<Element>& Add ( TVectorT< Element > &  target,
Element  scalar,
const TVectorT< Element > &  source 
)

Modify addition: target += scalar * source.

Definition at line 1585 of file TVectorT.cxx.

◆ Add() [2/4]

template<class Element >
TVectorT<Element>& Add ( TVectorT< Element > &  target,
Element  scalar,
const TMatrixT< Element > &  a,
const TVectorT< Element > &  source 
)

Modify addition: target += scalar * A * source.

NOTE: in case scalar=0, do target = A * source.

Definition at line 1614 of file TVectorT.cxx.

◆ Add() [3/4]

template<class Element >
TVectorT<Element>& Add ( TVectorT< Element > &  target,
Element  scalar,
const TMatrixTSym< Element > &  a,
const TVectorT< Element > &  source 
)

Modify addition: target += A * source.

NOTE: in case scalar=0, do target = A * source.

Definition at line 1692 of file TVectorT.cxx.

◆ Add() [4/4]

template<class Element >
TVectorT<Element>& Add ( TVectorT< Element > &  target,
Element  scalar,
const TMatrixTSparse< Element > &  a,
const TVectorT< Element > &  source 
)

Modify addition: target += A * source.

NOTE: in case scalar=0, do target = A * source.

Definition at line 1764 of file TVectorT.cxx.

◆ Add< Double_t >() [1/4]

template TVectorD& Add< Double_t > ( TVectorD target,
Double_t  scalar,
const TVectorD source 
)

◆ Add< Double_t >() [2/4]

template TVectorD& Add< Double_t > ( TVectorD target,
Double_t  scalar,
const TMatrixD a,
const TVectorD source 
)

◆ Add< Double_t >() [3/4]

template TVectorD& Add< Double_t > ( TVectorD target,
Double_t  scalar,
const TMatrixDSym a,
const TVectorD source 
)

◆ Add< Double_t >() [4/4]

template TVectorD& Add< Double_t > ( TVectorD target,
Double_t  scalar,
const TMatrixDSparse a,
const TVectorD source 
)

◆ Add< Float_t >() [1/4]

template TVectorF& Add< Float_t > ( TVectorF target,
Float_t  scalar,
const TVectorF source 
)

◆ Add< Float_t >() [2/4]

template TVectorF& Add< Float_t > ( TVectorF target,
Float_t  scalar,
const TMatrixF a,
const TVectorF source 
)

◆ Add< Float_t >() [3/4]

template TVectorF& Add< Float_t > ( TVectorF target,
Float_t  scalar,
const TMatrixFSym a,
const TVectorF source 
)

◆ Add< Float_t >() [4/4]

template TVectorF& Add< Float_t > ( TVectorF target,
Float_t  scalar,
const TMatrixFSparse a,
const TVectorF source 
)

◆ AddElemDiv() [1/2]

template<class Element >
TVectorT<Element>& AddElemDiv ( TVectorT< Element > &  target,
Element  scalar,
const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2 
)

Modify addition: target += scalar * ElementDiv(source1,source2) .

Definition at line 1915 of file TVectorT.cxx.

◆ AddElemDiv() [2/2]

template<class Element >
TVectorT<Element>& AddElemDiv ( TVectorT< Element > &  target,
Element  scalar,
const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2,
const TVectorT< Element > &  select 
)

Modify addition: target += scalar * ElementDiv(source1,source2) only for those elements where select[i] != 0.0.

Definition at line 1969 of file TVectorT.cxx.

◆ AddElemDiv< Double_t >() [1/2]

template TVectorD& AddElemDiv< Double_t > ( TVectorD target,
Double_t  scalar,
const TVectorD source1,
const TVectorD source2 
)

◆ AddElemDiv< Double_t >() [2/2]

template TVectorD& AddElemDiv< Double_t > ( TVectorD target,
Double_t  scalar,
const TVectorD source1,
const TVectorD source2,
const TVectorD select 
)

◆ AddElemDiv< Float_t >() [1/2]

template TVectorF& AddElemDiv< Float_t > ( TVectorF target,
Float_t  scalar,
const TVectorF source1,
const TVectorF source2 
)

◆ AddElemDiv< Float_t >() [2/2]

template TVectorF& AddElemDiv< Float_t > ( TVectorF target,
Float_t  scalar,
const TVectorF source1,
const TVectorF source2,
const TVectorF select 
)

◆ AddElemMult() [1/2]

template<class Element >
TVectorT<Element>& AddElemMult ( TVectorT< Element > &  target,
Element  scalar,
const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2 
)

Modify addition: target += scalar * ElementMult(source1,source2) .

Definition at line 1842 of file TVectorT.cxx.

◆ AddElemMult() [2/2]

template<class Element >
TVectorT<Element>& AddElemMult ( TVectorT< Element > &  target,
Element  scalar,
const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2,
const TVectorT< Element > &  select 
)

Modify addition: target += scalar * ElementMult(source1,source2) only for those elements where select[i] != 0.0.

Definition at line 1875 of file TVectorT.cxx.

◆ AddElemMult< Double_t >() [1/2]

template TVectorD& AddElemMult< Double_t > ( TVectorD target,
Double_t  scalar,
const TVectorD source1,
const TVectorD source2 
)

◆ AddElemMult< Double_t >() [2/2]

template TVectorD& AddElemMult< Double_t > ( TVectorD target,
Double_t  scalar,
const TVectorD source1,
const TVectorD source2,
const TVectorD select 
)

◆ AddElemMult< Float_t >() [1/2]

template TVectorF& AddElemMult< Float_t > ( TVectorF target,
Float_t  scalar,
const TVectorF source1,
const TVectorF source2 
)

◆ AddElemMult< Float_t >() [2/2]

template TVectorF& AddElemMult< Float_t > ( TVectorF target,
Float_t  scalar,
const TVectorF source1,
const TVectorF source2,
const TVectorF select 
)

◆ AreCompatible() [1/3]

template<class Element1 , class Element2 >
Bool_t AreCompatible ( const TVectorT< Element1 > &  v1,
const TVectorT< Element2 > &  v2,
Int_t  verbose 
)

Check if v1 and v2 are both valid and have the same shape.

Definition at line 2129 of file TVectorT.cxx.

◆ AreCompatible() [2/3]

template<class Element1 , class Element2 >
Bool_t AreCompatible ( const TMatrixT< Element1 > &  m,
const TVectorT< Element2 > &  v,
Int_t  verbose 
)

Check if m and v are both valid and have compatible shapes for M * v.

Definition at line 2155 of file TVectorT.cxx.

◆ AreCompatible() [3/3]

template<class Element1 , class Element2 >
Bool_t AreCompatible ( const TVectorT< Element1 > &  v,
const TMatrixT< Element2 > &  m,
Int_t  verbose 
)

Check if m and v are both valid and have compatible shapes for v * M.

Definition at line 2181 of file TVectorT.cxx.

◆ AreCompatible< Double_t, Double_t >() [1/3]

template Bool_t AreCompatible< Double_t, Double_t > ( const TVectorD v1,
const TVectorD v2,
Int_t  verbose 
)

◆ AreCompatible< Double_t, Double_t >() [2/3]

template Bool_t AreCompatible< Double_t, Double_t > ( const TMatrixD m,
const TVectorD v,
Int_t  verbose 
)

◆ AreCompatible< Double_t, Double_t >() [3/3]

template Bool_t AreCompatible< Double_t, Double_t > ( const TVectorD v,
const TMatrixD m,
Int_t  verbose 
)

◆ AreCompatible< Double_t, Float_t >()

template Bool_t AreCompatible< Double_t, Float_t > ( const TVectorD v1,
const TVectorF v2,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Double_t >()

template Bool_t AreCompatible< Float_t, Double_t > ( const TVectorF v1,
const TVectorD v2,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Float_t >() [1/3]

template Bool_t AreCompatible< Float_t, Float_t > ( const TVectorF v1,
const TVectorF v2,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Float_t >() [2/3]

template Bool_t AreCompatible< Float_t, Float_t > ( const TMatrixF m,
const TVectorF v,
Int_t  verbose 
)

◆ AreCompatible< Float_t, Float_t >() [3/3]

template Bool_t AreCompatible< Float_t, Float_t > ( const TVectorF v,
const TMatrixF m,
Int_t  verbose 
)

◆ Compare()

template<class Element >
void Compare ( const TVectorT< Element > &  v1,
const TVectorT< Element > &  v2 
)

Compare two vectors and print out the result of the comparison.

Definition at line 2207 of file TVectorT.cxx.

◆ Compare< Double_t >()

template void Compare< Double_t > ( const TVectorD v1,
const TVectorD v2 
)

◆ Compare< Float_t >()

template void Compare< Float_t > ( const TVectorF v1,
const TVectorF v2 
)

◆ Dot()

template<class Element >
Element Dot ( const TVectorT< Element > &  v1,
const TVectorT< Element > &  v2 
)

return inner-produvt v1 . v2

Definition at line 1476 of file TVectorT.cxx.

◆ Dot< Double_t >()

template Double_t Dot< Double_t > ( const TVectorD v1,
const TVectorD v2 
)

◆ Dot< Float_t >()

template Float_t Dot< Float_t > ( const TVectorF v1,
const TVectorF v2 
)

◆ Drand()

Double_t Drand ( Double_t ix)

Random number generator [0....1] with seed ix.

Definition at line 1854 of file TMatrixTUtils.cxx.

◆ ElementDiv() [1/2]

template<class Element >
TVectorT<Element>& ElementDiv ( TVectorT< Element > &  target,
const TVectorT< Element > &  source 
)

Divide target by the source, element-by-element.

Definition at line 2073 of file TVectorT.cxx.

◆ ElementDiv() [2/2]

template<class Element >
TVectorT<Element>& ElementDiv ( TVectorT< Element > &  target,
const TVectorT< Element > &  source,
const TVectorT< Element > &  select 
)

Divide target by the source, element-by-element only where select[i] != 0.0.

Definition at line 2099 of file TVectorT.cxx.

◆ ElementDiv< Double_t >() [1/2]

template TVectorD& ElementDiv< Double_t > ( TVectorD target,
const TVectorD source 
)

◆ ElementDiv< Double_t >() [2/2]

template TVectorD& ElementDiv< Double_t > ( TVectorD target,
const TVectorD source,
const TVectorD select 
)

◆ ElementDiv< Float_t >() [1/2]

template TVectorF& ElementDiv< Float_t > ( TVectorF target,
const TVectorF source 
)

◆ ElementDiv< Float_t >() [2/2]

template TVectorF& ElementDiv< Float_t > ( TVectorF target,
const TVectorF source,
const TVectorF select 
)

◆ ElementMult() [1/2]

template<class Element >
TVectorT<Element>& ElementMult ( TVectorT< Element > &  target,
const TVectorT< Element > &  source 
)

Multiply target by the source, element-by-element.

Definition at line 2030 of file TVectorT.cxx.

◆ ElementMult() [2/2]

template<class Element >
TVectorT<Element>& ElementMult ( TVectorT< Element > &  target,
const TVectorT< Element > &  source,
const TVectorT< Element > &  select 
)

Multiply target by the source, element-by-element only where select[i] != 0.0.

Definition at line 2050 of file TVectorT.cxx.

◆ ElementMult< Double_t >() [1/2]

template TVectorD& ElementMult< Double_t > ( TVectorD target,
const TVectorD source 
)

◆ ElementMult< Double_t >() [2/2]

template TVectorD& ElementMult< Double_t > ( TVectorD target,
const TVectorD source,
const TVectorD select 
)

◆ ElementMult< Float_t >() [1/2]

template TVectorF& ElementMult< Float_t > ( TVectorF target,
const TVectorF source 
)

◆ ElementMult< Float_t >() [2/2]

template TVectorF& ElementMult< Float_t > ( TVectorF target,
const TVectorF source,
const TVectorF select 
)

◆ Mult()

template<class Element1 , class Element2 , class Element3 >
Element1 Mult ( const TVectorT< Element1 > &  v1,
const TMatrixT< Element2 > &  m,
const TVectorT< Element3 > &  v2 
)

Perform v1 * M * v2, a scalar result.

Definition at line 1540 of file TVectorT.cxx.

◆ Mult< Double_t, Double_t, Double_t >()

template Double_t Mult< Double_t, Double_t, Double_t > ( const TVectorD v1,
const TMatrixD m,
const TVectorD v2 
)

◆ Mult< Float_t, Float_t, Float_t >()

template Float_t Mult< Float_t, Float_t, Float_t > ( const TVectorF v1,
const TMatrixF m,
const TVectorF v2 
)

◆ operator*() [1/5]

template<class Element >
Element operator* ( const TVectorT< Element > &  v1,
const TVectorT< Element > &  v2 
)

Compute the scalar product.

Definition at line 1394 of file TVectorT.cxx.

◆ operator*() [2/5]

template<class Element >
TVectorT<Element> operator* ( const TMatrixT< Element > &  a,
const TVectorT< Element > &  source 
)

return A * source

Definition at line 1432 of file TVectorT.cxx.

◆ operator*() [3/5]

template<class Element >
TVectorT<Element> operator* ( const TMatrixTSym< Element > &  a,
const TVectorT< Element > &  source 
)

return A * source

Definition at line 1443 of file TVectorT.cxx.

◆ operator*() [4/5]

template<class Element >
TVectorT<Element> operator* ( const TMatrixTSparse< Element > &  a,
const TVectorT< Element > &  source 
)

return A * source

Definition at line 1454 of file TVectorT.cxx.

◆ operator*() [5/5]

template<class Element >
TVectorT<Element> operator* ( Element  val,
const TVectorT< Element > &  source 
)

return val * source

Definition at line 1465 of file TVectorT.cxx.

◆ operator*() [1/5]

template Double_t operator*<Double_t > ( const TVectorD source1,
const TVectorD source2 
)

◆ operator*() [2/5]

template TVectorD operator*<Double_t > ( const TMatrixD a,
const TVectorD source 
)

◆ operator*() [3/5]

template TVectorD operator*<Double_t > ( const TMatrixDSym a,
const TVectorD source 
)

◆ operator*() [4/5]

template TVectorD operator*<Double_t > ( const TMatrixDSparse a,
const TVectorD source 
)

◆ operator*() [5/5]

template TVectorD operator*<Double_t > ( Double_t  val,
const TVectorD source 
)

◆ operator*() [1/5]

template Float_t operator*<Float_t > ( const TVectorF source1,
const TVectorF source2 
)

◆ operator*() [2/5]

template TVectorF operator*<Float_t > ( const TMatrixF a,
const TVectorF source 
)

◆ operator*() [3/5]

template TVectorF operator*<Float_t > ( const TMatrixFSym a,
const TVectorF source 
)

◆ operator*() [4/5]

template TVectorF operator*<Float_t > ( const TMatrixFSparse a,
const TVectorF source 
)

◆ operator*() [5/5]

template TVectorF operator*<Float_t > ( Float_t  val,
const TVectorF source 
)

◆ operator+()

template<class Element >
TVectorT<Element> operator+ ( const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2 
)

Return source1+source2.

Definition at line 1410 of file TVectorT.cxx.

◆ operator+()

template TVectorD operator+<Double_t > ( const TVectorD source1,
const TVectorD source2 
)

◆ operator+()

template TVectorF operator+<Float_t > ( const TVectorF source1,
const TVectorF source2 
)

◆ operator-()

template<class Element >
TVectorT<Element> operator- ( const TVectorT< Element > &  source1,
const TVectorT< Element > &  source2 
)

Return source1-source2.

Definition at line 1421 of file TVectorT.cxx.

◆ operator-()

template TVectorD operator-<Double_t > ( const TVectorD source1,
const TVectorD source2 
)

◆ operator-()

template TVectorF operator-<Float_t > ( const TVectorF source1,
const TVectorF source2 
)

◆ operator==()

template<class Element >
Bool_t operator== ( const TVectorT< Element > &  v1,
const TVectorT< Element > &  v2 
)

Check to see if two vectors are identical.

Definition at line 1384 of file TVectorT.cxx.

◆ operator==< Double_t >()

template Bool_t operator==< Double_t > ( const TVectorD source1,
const TVectorD source2 
)

◆ operator==< Float_t >()

template Bool_t operator==< Float_t > ( const TVectorF source1,
const TVectorF source2 
)

◆ OuterProduct() [1/2]

template<class Element1 , class Element2 >
TMatrixT<Element1> OuterProduct ( const TVectorT< Element1 > &  v1,
const TVectorT< Element2 > &  v2 
)

Return the matrix M = v1 * v2'.

Definition at line 1493 of file TVectorT.cxx.

◆ OuterProduct() [2/2]

template<class Element1 , class Element2 , class Element3 >
TMatrixT<Element1>& OuterProduct ( TMatrixT< Element1 > &  target,
const TVectorT< Element2 > &  v1,
const TVectorT< Element3 > &  v2 
)

Return the matrix M = v1 * v2'.

Definition at line 1509 of file TVectorT.cxx.

◆ OuterProduct< Double_t, Double_t >()

template TMatrixD OuterProduct< Double_t, Double_t > ( const TVectorD v1,
const TVectorD v2 
)

◆ OuterProduct< Double_t, Double_t, Double_t >()

template TMatrixD& OuterProduct< Double_t, Double_t, Double_t > ( TMatrixD target,
const TVectorD v1,
const TVectorD v2 
)

◆ OuterProduct< Float_t, Float_t >()

template TMatrixF OuterProduct< Float_t, Float_t > ( const TVectorF v1,
const TVectorF v2 
)

◆ OuterProduct< Float_t, Float_t, Float_t >()

template TMatrixF& OuterProduct< Float_t, Float_t, Float_t > ( TMatrixF target,
const TVectorF v1,
const TVectorF v2 
)

◆ VerifyVectorIdentity()

template<class Element >
Bool_t VerifyVectorIdentity ( const TVectorT< Element > &  v1,
const TVectorT< Element > &  v2,
Int_t  verbose,
Element  maxDevAllow 
)

Verify that elements of the two vectors are equal within maxDevAllow .

Definition at line 2295 of file TVectorT.cxx.

◆ VerifyVectorIdentity< Double_t >()

template Bool_t VerifyVectorIdentity< Double_t > ( const TVectorD m1,
const TVectorD m2,
Int_t  verbose,
Double_t  maxDevAllow 
)

◆ VerifyVectorIdentity< Float_t >()

template Bool_t VerifyVectorIdentity< Float_t > ( const TVectorF m1,
const TVectorF m2,
Int_t  verbose,
Float_t  maxDevAllow 
)

◆ VerifyVectorValue()

template<class Element >
Bool_t VerifyVectorValue ( const TVectorT< Element > &  v,
Element  val,
Int_t  verbose,
Element  maxDevAllow 
)

Validate that all elements of vector have value val within maxDevAllow .

Definition at line 2260 of file TVectorT.cxx.

◆ VerifyVectorValue< Double_t >()

template Bool_t VerifyVectorValue< Double_t > ( const TVectorD m,
Double_t  val,
Int_t  verbose,
Double_t  maxDevAllow 
)

◆ VerifyVectorValue< Float_t >()

template Bool_t VerifyVectorValue< Float_t > ( const TVectorF m,
Float_t  val,
Int_t  verbose,
Float_t  maxDevAllow 
)