Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TVectorT.h File Reference
#include "TMatrixT.h"
#include "TMatrixTSym.h"
#include "TMatrixTSparse.h"
Include dependency graph for TVectorT.h:
This graph shows which files directly or indirectly include this file:

Classes

class  TVectorT< Element >
 TVectorT. More...
 

Namespaces

namespace  TMatrixTAutoloadOps
 

Functions

template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::Add (TVectorT< Element > &target, Element scalar, const TMatrixT< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += scalar * A * source.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::Add (TVectorT< Element > &target, Element scalar, const TMatrixTSparse< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += A * source.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::Add (TVectorT< Element > &target, Element scalar, const TMatrixTSym< Element > &a, const TVectorT< Element > &source)
 Modify addition: target += A * source.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::Add (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source)
 Modify addition: target += scalar * source.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::AddElemDiv (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Modify addition: target += scalar * ElementDiv(source1,source2) .
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::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.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::AddElemMult (TVectorT< Element > &target, Element scalar, const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Modify addition: target += scalar * ElementMult(source1,source2) .
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::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.
 
template<class Element1 , class Element2 >
Bool_t TMatrixTAutoloadOps::AreCompatible (const TMatrixT< Element1 > &m, const TVectorT< Element2 > &v, Int_t verbose=0)
 Check if m and v are both valid and have compatible shapes for M * v.
 
template<class Element1 , class Element2 >
Bool_t TMatrixTAutoloadOps::AreCompatible (const TVectorT< Element1 > &v, const TMatrixT< Element2 > &m, Int_t verbose=0)
 Check if m and v are both valid and have compatible shapes for v * M.
 
template<class Element1 , class Element2 >
Bool_t TMatrixTAutoloadOps::AreCompatible (const TVectorT< Element1 > &v1, const TVectorT< Element2 > &v2, Int_t verbose=0)
 Check if v1 and v2 are both valid and have the same shape.
 
template<class Element >
void TMatrixTAutoloadOps::Compare (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Compare two vectors and print out the result of the comparison.
 
template<class Element >
Element TMatrixTAutoloadOps::Dot (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 return inner-produvt v1 . v2
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::ElementDiv (TVectorT< Element > &target, const TVectorT< Element > &source)
 Divide target by the source, element-by-element.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::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.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::ElementMult (TVectorT< Element > &target, const TVectorT< Element > &source)
 Multiply target by the source, element-by-element.
 
template<class Element >
TVectorT< Element > & TMatrixTAutoloadOps::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.
 
template<class Element1 , class Element2 , class Element3 >
Element1 TMatrixTAutoloadOps::Mult (const TVectorT< Element1 > &v1, const TMatrixT< Element2 > &m, const TVectorT< Element3 > &v2)
 Perform v1 * M * v2, a scalar result.
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator* (const TMatrixT< Element > &a, const TVectorT< Element > &source)
 return A * source
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator* (const TMatrixTSparse< Element > &a, const TVectorT< Element > &source)
 return A * source
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator* (const TMatrixTSym< Element > &a, const TVectorT< Element > &source)
 return A * source
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator* (const TVectorT< Element > &source, Element val)
 
template<class Element >
Element TMatrixTAutoloadOps::operator* (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Compute the scalar product.
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator* (Element val, const TVectorT< Element > &source)
 return val * source
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator+ (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Return source1+source2.
 
template<class Element >
TVectorT< Element > TMatrixTAutoloadOps::operator- (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Return source1-source2.
 
template<class Element >
Bool_t TMatrixTAutoloadOps::operator== (const TVectorT< Element > &source1, const TVectorT< Element > &source2)
 Check to see if two vectors are identical.
 
template<class Element1 , class Element2 >
TMatrixT< Element1 > TMatrixTAutoloadOps::OuterProduct (const TVectorT< Element1 > &v1, const TVectorT< Element2 > &v2)
 Return the matrix M = v1 * v2'.
 
template<class Element1 , class Element2 , class Element3 >
TMatrixT< Element1 > & TMatrixTAutoloadOps::OuterProduct (TMatrixT< Element1 > &target, const TVectorT< Element2 > &v1, const TVectorT< Element3 > &v2)
 Return the matrix M = v1 * v2'.
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorIdentity (const TVectorT< Element > &m1, const TVectorT< Element > &m2)
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorIdentity (const TVectorT< Element > &m1, const TVectorT< Element > &m2, Int_t verbose)
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorIdentity (const TVectorT< Element > &m1, const TVectorT< Element > &m2, Int_t verbose, Element maxDevAllow)
 Verify that elements of the two vectors are equal within maxDevAllow .
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorValue (const TVectorT< Element > &m, Element val)
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorValue (const TVectorT< Element > &m, Element val, Int_t verbose)
 
template<class Element >
Bool_t TMatrixTAutoloadOps::VerifyVectorValue (const TVectorT< Element > &m, Element val, Int_t verbose, Element maxDevAllow)
 Validate that all elements of vector have value val within maxDevAllow .