ROOT
6.06/09
Reference Guide
|
Definition at line 27 of file TMatrixDBasefwd.h.
Public Member Functions | |
TMatrixTBase () | |
virtual | ~TMatrixTBase () |
Int_t | GetRowLwb () const |
Int_t | GetRowUpb () const |
Int_t | GetNrows () const |
Int_t | GetColLwb () const |
Int_t | GetColUpb () const |
Int_t | GetNcols () const |
Int_t | GetNoElements () const |
Element | GetTol () const |
virtual const Element * | GetMatrixArray () const =0 |
virtual Element * | GetMatrixArray ()=0 |
virtual const Int_t * | GetRowIndexArray () const =0 |
virtual Int_t * | GetRowIndexArray ()=0 |
virtual const Int_t * | GetColIndexArray () const =0 |
virtual Int_t * | GetColIndexArray ()=0 |
virtual TMatrixTBase< Element > & | SetRowIndexArray (Int_t *data)=0 |
virtual TMatrixTBase< Element > & | SetColIndexArray (Int_t *data)=0 |
virtual TMatrixTBase< Element > & | SetMatrixArray (const Element *data, Option_t *option="") |
Copy array data to matrix . More... | |
Element | SetTol (Element tol) |
virtual void | Clear (Option_t *option="")=0 |
void | Invalidate () |
void | MakeValid () |
Bool_t | IsValid () const |
Bool_t | IsOwner () const |
virtual Bool_t | IsSymmetric () const |
Check whether matrix is symmetric. More... | |
virtual TMatrixTBase< Element > & | GetSub (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, TMatrixTBase< Element > &target, Option_t *option="S") const =0 |
virtual TMatrixTBase< Element > & | SetSub (Int_t row_lwb, Int_t col_lwb, const TMatrixTBase< Element > &source)=0 |
virtual void | GetMatrix2Array (Element *data, Option_t *option="") const |
Copy matrix data to array . More... | |
virtual TMatrixTBase< Element > & | InsertRow (Int_t row, Int_t col, const Element *v, Int_t n=-1) |
Copy n elements from array v to row rown starting at column coln. More... | |
virtual void | ExtractRow (Int_t row, Int_t col, Element *v, Int_t n=-1) const |
Store in array v, n matrix elements of row rown starting at column coln. More... | |
virtual TMatrixTBase< Element > & | Shift (Int_t row_shift, Int_t col_shift) |
Shift the row index by adding row_shift and the column index by adding col_shift, respectively. More... | |
virtual TMatrixTBase< Element > & | ResizeTo (Int_t nrows, Int_t ncols, Int_t nr_nonzeros=-1)=0 |
virtual TMatrixTBase< Element > & | ResizeTo (Int_t row_lwb, Int_t row_upb, Int_t col_lwb, Int_t col_upb, Int_t nr_nonzeros=-1)=0 |
virtual Double_t | Determinant () const |
virtual void | Determinant (Double_t &d1, Double_t &d2) const |
virtual TMatrixTBase< Element > & | Zero () |
Set matrix elements to zero. More... | |
virtual TMatrixTBase< Element > & | Abs () |
Take an absolute value of a matrix, i.e. apply Abs() to each element. More... | |
virtual TMatrixTBase< Element > & | Sqr () |
Square each element of the matrix. More... | |
virtual TMatrixTBase< Element > & | Sqrt () |
Take square root of all elements. More... | |
virtual TMatrixTBase< Element > & | UnitMatrix () |
Make a unit matrix (matrix need not be a square one). More... | |
virtual TMatrixTBase< Element > & | NormByDiag (const TVectorT< Element > &v, Option_t *option="D") |
option: "D" : b(i,j) = a(i,j)/sqrt(abs*(v(i)*v(j))) (default) else : b(i,j) = a(i,j)*sqrt(abs*(v(i)*v(j))) (default) More... | |
virtual Element | RowNorm () const |
Row matrix norm, MAX{ SUM{ |M(i,j)|, over j}, over i}. More... | |
virtual Element | ColNorm () const |
Column matrix norm, MAX{ SUM{ |M(i,j)|, over i}, over j}. More... | |
virtual Element | E2Norm () const |
Square of the Euclidian norm, SUM{ m(i,j)^2 }. More... | |
Element | NormInf () const |
Element | Norm1 () const |
virtual Int_t | NonZeros () const |
Compute the number of elements != 0.0. More... | |
virtual Element | Sum () const |
Compute sum of elements. More... | |
virtual Element | Min () const |
return minimum matrix element value More... | |
virtual Element | Max () const |
return maximum vector element value More... | |
void | Draw (Option_t *option="") |
Draw this matrix The histogram is named "TMatrixT" by default and no title. More... | |
void | Print (Option_t *name="") const |
Print the matrix as a table of elements. More... | |
virtual Element | operator() (Int_t rown, Int_t coln) const =0 |
virtual Element & | operator() (Int_t rown, Int_t coln)=0 |
Bool_t | operator== (Element val) const |
Are all matrix elements equal to val? More... | |
Bool_t | operator!= (Element val) const |
Are all matrix elements not equal to val? More... | |
Bool_t | operator< (Element val) const |
Are all matrix elements < val? More... | |
Bool_t | operator<= (Element val) const |
Are all matrix elements <= val? More... | |
Bool_t | operator> (Element val) const |
Are all matrix elements > val? More... | |
Bool_t | operator>= (Element val) const |
Are all matrix elements >= val? More... | |
virtual TMatrixTBase< Element > & | Apply (const TElementActionT< Element > &action) |
Apply action to each matrix element. More... | |
virtual TMatrixTBase< Element > & | Apply (const TElementPosActionT< Element > &action) |
Apply action to each element of the matrix. More... | |
virtual TMatrixTBase< Element > & | Randomize (Element alpha, Element beta, Double_t &seed) |
Randomize matrix element values. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
virtual Bool_t | IsSortable () const |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static Element & | NaNValue () |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Protected Types | |
enum | { kSizeMax = 25 } |
enum | { kWorkMax = 100 } |
enum | EMatrixStatusBits { kStatus = BIT(14) } |
Static Protected Member Functions | |
static void | DoubleLexSort (Int_t n, Int_t *first, Int_t *second, Element *data) |
default kTRUE, when Use array kFALSE More... | |
static void | IndexedLexSort (Int_t n, Int_t *first, Int_t swapFirst, Int_t *second, Int_t swapSecond, Int_t *index) |
Lexical sort on array data using indices first and second. More... | |
Protected Attributes | |
Int_t | fNrows |
Int_t | fNcols |
Int_t | fRowLwb |
Int_t | fColLwb |
Int_t | fNelems |
Int_t | fNrowIndex |
Element | fTol |
Bool_t | fIsOwner |
Private Member Functions | |
Element * | GetElements () |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
#include <TMatrixDBasefwd.h>
|
protected |
Enumerator | |
---|---|
kSizeMax |
Definition at line 117 of file TMatrixTBase.h.
|
protected |
Enumerator | |
---|---|
kWorkMax |
Definition at line 118 of file TMatrixTBase.h.
|
protected |
Enumerator | |
---|---|
kStatus |
Definition at line 120 of file TMatrixTBase.h.
|
inline |
Definition at line 126 of file TMatrixTBase.h.
|
inlinevirtual |
Definition at line 130 of file TMatrixTBase.h.
|
virtual |
Take an absolute value of a matrix, i.e. apply Abs() to each element.
Definition at line 542 of file TMatrixTBase.cxx.
Referenced by TQpDataSparse::DataNorm(), and TQpDataDens::DataNorm().
|
virtual |
Apply action to each matrix element.
Reimplemented in TMatrixTSym< Element >.
Definition at line 980 of file TMatrixTBase.cxx.
|
virtual |
Apply action to each element of the matrix.
To action the location of the current element is passed.
Reimplemented in TMatrixTSym< Element >.
Definition at line 997 of file TMatrixTBase.cxx.
|
pure virtual |
Reimplemented from TObject.
Implemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSparse< Element >, TMatrixTSparse< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
|
virtual |
Column matrix norm, MAX{ SUM{ |M(i,j)|, over i}, over j}.
The norm is induced by the 1 vector norm.
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSparse< Double_t >.
Definition at line 696 of file TMatrixTBase.cxx.
Referenced by TMatrixTBase< Element >::Norm1().
|
inlinevirtual |
Reimplemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Definition at line 173 of file TMatrixTBase.h.
|
inlinevirtual |
Reimplemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Definition at line 174 of file TMatrixTBase.h.
|
staticprotected |
default kTRUE, when Use array kFALSE
Referenced by TMatrixTSparse< Element >::SetMatrixArray(), and TMatrixTSparse< Element >::Transpose().
|
virtual |
Draw this matrix The histogram is named "TMatrixT" by default and no title.
Reimplemented from TObject.
Definition at line 802 of file TMatrixTBase.cxx.
|
virtual |
Square of the Euclidian norm, SUM{ m(i,j)^2 }.
Definition at line 723 of file TMatrixTBase.cxx.
|
virtual |
Store in array v, n matrix elements of row rown starting at column coln.
Reimplemented in TMatrixTSparse< Element >.
Definition at line 484 of file TMatrixTBase.cxx.
Referenced by TMatrixTSparseRow< Element >::operator*=(), TMatrixTSparseRow< Element >::operator+=(), and TMatrixTSparseRow< Element >::operator=().
|
pure virtual |
Implemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSparse< Element >, TMatrixTSparse< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Referenced by TMatrixTSym< Element >::GetSub(), TMatrixT< Element >::GetSub(), TMatrixTSparse< Element >::GetSub(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), and TMatrixTSparse< Element >::SetSub().
|
pure virtual |
|
inline |
Definition at line 135 of file TMatrixTBase.h.
Referenced by Add(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), Compare(), TDecompSparse::CopyUpperTriang(), TMatrixTCramerInv::Inv2x2(), TMatrixTCramerInv::Inv3x3(), TMatrixTCramerInv::Inv4x4(), TMatrixTCramerInv::Inv5x5(), TMatrixTCramerInv::Inv6x6(), TMatrixTSymCramerInv::Inv6x6(), TDecompChol::Invert(), TDecompBK::Invert(), TDecompLU::Invert(), TDecompQRH::Invert(), TDecompSVD::Invert(), TDecompLU::InvertLU(), TMatrixT< Element >::Mult(), TDecompBase::MultiSolve(), TMatrixT< Element >::MultT(), TDecompSparse::NonZerosUpperTriang(), TMatrixTRow_const< Element >::operator()(), TMatrixTSparseDiag< Element >::operator()(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTRow< Element >::operator*=(), TMatrixTSub< Element >::operator*=(), TMatrixTSparseRow< Element >::operator*=(), TMatrixTRow< Element >::operator+=(), TMatrixTSub< Element >::operator+=(), TMatrixTSparseRow< Element >::operator+=(), TVectorT< Element >::operator=(), TMatrixT< Element >::operator=(), TMatrixTRow< Element >::operator=(), TMatrixTSub< Element >::operator=(), TMatrixTSparseRow< Element >::operator=(), TMatrixTSparse< Double_t >::ResizeTo(), TMatrixTSym< Double_t >::ResizeTo(), TMatrixT< Double_t >::ResizeTo(), TDecompChol::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompSVD::SetMatrix(), TDecompSparse::SetMatrix(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), TMatrixTSym< Element >::Similarity(), TDecompSVD::Solve(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TH2D::TH2D(), TH2F::TH2F(), TMatrixT< Element >::TMatrixT(), TMatrixT< Double_t >::TMatrixT(), TMatrixTColumn_const< Element >::TMatrixTColumn_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSub_const< Element >::TMatrixTSub_const(), TMatrixTSym< Element >::TMatrixTSym(), TMatrixTSym< Double_t >::TMatrixTSym(), TMatrixTSym< Element >::Transpose(), TMatrixT< Element >::Transpose(), TMatrixTSparse< Element >::Transpose(), TDecompQRH::TransSolve(), TDecompSVD::TransSolve(), TVectorT< Element >::TVectorT(), TMatrixT< Element >::Use(), TMatrixTSparse< Element >::Use(), VerifyMatrixIdentity(), and VerifyMatrixValue().
|
inline |
Definition at line 136 of file TMatrixTBase.h.
Referenced by Compare(), TDecompChol::Invert(), TDecompBK::Invert(), TDecompBase::MultiSolve(), TMatrixTSparse< Double_t >::ResizeTo(), TMatrixTSym< Double_t >::ResizeTo(), TMatrixT< Double_t >::ResizeTo(), TH2D::TH2D(), TH2F::TH2F(), TMatrixTSub_const< Element >::TMatrixTSub_const(), TVectorT< Element >::TVectorT(), TMatrixT< Element >::Use(), TMatrixTSparse< Element >::Use(), VerifyMatrixIdentity(), and VerifyMatrixValue().
|
private |
|
virtual |
Copy matrix data to array .
It is assumed that array is of size >= fNelems (=)))) fNrows*fNcols option indicates how the data is stored in the array: option = 'F' : column major (Fortran) array[i+j*fNrows] = m[i][j] else : row major (C) array[i*fNcols+j] = m[i][j] (default)
Reimplemented in TMatrixTSparse< Element >.
Definition at line 424 of file TMatrixTBase.cxx.
Referenced by Rcpp::wrap().
|
pure virtual |
Implemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSparse< Element >, TMatrixTSparse< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Referenced by E2Norm(), TMatrixTSym< Element >::GetSub(), TMatrixT< Element >::GetSub(), TMatrixTSparse< Element >::GetSub(), TMatrixTSub_const< Element >::operator()(), TMatrixTSub< Element >::operator+=(), TMatrixT< Element >::operator/=(), TMatrixTSparse< Element >::operator=(), TMatrixTRow< Element >::operator=(), TMatrixTColumn< Element >::operator=(), TMatrixTFlat< Element >::operator=(), TMatrixTSub< Element >::operator=(), operator==(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), and TMatrixTSparse< Element >::SetSub().
|
pure virtual |
|
inline |
Definition at line 137 of file TMatrixTBase.h.
Referenced by Add(), TUnfold::AddMSparse(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), TMVA::VariablePCATransform::AttachXMLTo(), TDecompSVD::Bidiagonalize(), RooFitResult::conditionalCovarianceMatrix(), RooFitResult::correlationHist(), RooFitResult::createHessePdf(), TDecompBK::Decompose(), TDecompLU::DecomposeLUCrout(), TDecompLU::DecomposeLUGauss(), TDecompSVD::Diag_1(), TDecompSVD::Diag_3(), TDecompSVD::Diagonalize(), TUnfold::DoUnfold(), ElementDiv(), ElementMult(), RooFitResult::fillCorrMatrix(), RooFitResult::fillLegacyCorrMatrix(), TMVA::Tools::FormattedOutput(), RooMultiVarGaussian::generateEvent(), TRobustEstimator::GetCorrelation(), TMVA::Tools::GetCorrelationMatrix(), TRobustEstimator::GetCovariance(), TLinearFitter::GetCovarianceMatrix(), ROOT::Math::RMinimizer::GetCovMatrix(), TLinearFitter::GetDesignMatrix(), TQpDataSparse::GetDiagonalOfQ(), TQpDataDens::GetDiagonalOfQ(), TDecompLU::GetMatrix(), TDecompSVD::GetMatrix(), TDecompChol::GetNcols(), TDecompQRH::GetNcols(), TDecompBK::GetNcols(), TDecompLU::GetNcols(), TDecompSVD::GetNcols(), TDecompSparse::GetNcols(), TUnfold::GetNx(), TSPlot::GetSWeights(), TMatrixTCramerInv::Inv2x2(), TMatrixTCramerInv::Inv3x3(), TMatrixTCramerInv::Inv4x4(), TMatrixTCramerInv::Inv5x5(), TMatrixTCramerInv::Inv6x6(), TMatrixTSymCramerInv::Inv6x6(), TDecompLU::Invert(), TDecompQRH::Invert(), TDecompSVD::Invert(), TDecompLU::InvertLU(), TUnfold::InvertMSparseSymmPos(), TSVDUnfold::M2H(), TQpProbDens::MakeData(), TQpProbSparse::MakeData(), TMVA::VariableDecorrTransform::MakeFunction(), MakeHaarMat(), MakeHilbertMat(), TSVDUnfold::MatDivVec(), TMatrixT< Element >::Mult(), TUnfold::MultiplyMSparseM(), TUnfold::MultiplyMSparseMSparse(), TUnfold::MultiplyMSparseMSparseTranspVector(), TUnfold::MultiplyMSparseTranspMSparse(), TMatrixT< Element >::MultT(), TMatrixTRow_const< Element >::operator()(), TMatrixTSub_const< Element >::operator()(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTRow< Element >::operator*=(), TMatrixTSub< Element >::operator*=(), TMatrixTSparseRow< Element >::operator*=(), TMatrixTRow< Element >::operator+=(), TMatrixTSub< Element >::operator+=(), TMatrixTSparseRow< Element >::operator+=(), TMatrixT< Element >::operator/=(), TVectorT< Element >::operator=(), TMatrixT< Element >::operator=(), TMatrixTRow< Element >::operator=(), TMatrixTSub< Element >::operator=(), TMatrixTSparseRow< Element >::operator=(), TDecompQRH::QRH(), TMVA::Tools::ReadTMatrixDFromXML(), TMVA::VariableDecorrTransform::ReadTransformationFromStream(), RooFitResult::reducedCovarianceMatrix(), TUnfoldSys::ScaleColumnsByVector(), RooFitResult::setCovarianceMatrix(), TDecompChol::SetMatrix(), TDecompBK::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompSVD::SetMatrix(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), TMatrixTSparse< Element >::SetSub(), TMatrixTSym< Element >::Similarity(), TMatrixTSym< Element >::SimilarityT(), TDecompQRH::Solve(), TDecompSVD::Solve(), TDecompSVD::SortSingular(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TMatrixT< Element >::TMatrixT(), TMatrixT< Double_t >::TMatrixT(), TMatrixTColumn_const< Element >::TMatrixTColumn_const(), TMatrixTDiag_const< Element >::TMatrixTDiag_const(), TMatrixTRow_const< Element >::TMatrixTRow_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparseDiag_const< Element >::TMatrixTSparseDiag_const(), TMatrixTSym< Element >::TMatrixTSym(), TMatrixTSym< Double_t >::TMatrixTSym(), TMatrixTSym< Element >::TMult(), TMatrixT< Element >::TMult(), TMatrixTSym< Element >::Transpose(), TMatrixT< Element >::Transpose(), TMatrixTSparse< Element >::Transpose(), TDecompQRH::TransSolve(), TDecompSVD::TransSolve(), TVectorT< Element >::TVectorT(), Rcpp::wrap(), TMVA::Tools::WriteTMatrixDToXML(), TMVA::VariablePCATransform::WriteTransformationToStream(), TMVA::VariableDecorrTransform::WriteTransformationToStream(), and Yields().
|
inline |
Definition at line 138 of file TMatrixTBase.h.
Referenced by Add(), TQpDataSparse::Amult(), TQpDataDens::Amult(), AreCompatible(), TQpDataSparse::ATransmult(), TQpDataDens::ATransmult(), TQpDataSparse::Cmult(), TQpDataDens::Cmult(), TQpDataSparse::CTransmult(), TQpDataDens::CTransmult(), E2Norm(), ElementDiv(), ElementMult(), RooFitResult::fillCorrMatrix(), TSPlot::FillSWeightsHists(), TMatrixT< Element >::Mult(), Mult(), TMatrixT< Element >::MultT(), operator!=(), operator&&(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTFlat< Element >::operator*=(), TMatrixTSub< Element >::operator*=(), TMatrixTFlat< Element >::operator+=(), TMatrixT< Element >::operator/=(), operator<(), operator<=(), TVectorT< Element >::operator=(), TMatrixTFlat< Element >::operator=(), operator==(), operator>(), operator>=(), operator||(), OuterProduct(), TQpDataSparse::Qmult(), TQpDataDens::Qmult(), TMatrixTSparse< Double_t >::ResizeTo(), TMatrixTSym< Element >::Similarity(), TMatrixTSym< Element >::SimilarityT(), TMatrixTFlat_const< Element >::TMatrixTFlat_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSym< Element >::TMult(), TMatrixT< Element >::TMult(), TMatrixT< Element >::Transpose(), and TMatrixTSparse< Element >::Use().
|
inline |
Definition at line 134 of file TMatrixTBase.h.
Referenced by Add(), TUnfold::AddMSparse(), TLinearFitter::AddTempMatrices(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), TMVA::VariablePCATransform::AttachXMLTo(), TDecompSVD::Bidiagonalize(), TDecompSparse::CopyUpperTriang(), TDecompChol::Decompose(), TDecompBase::Det(), TUnfoldSys::DoBackgroundSubtraction(), TUnfold::DoUnfold(), ElementDiv(), ElementMult(), TSVDUnfold::FillCurvatureMatrix(), RooAbsPdf::fitTo(), TMVA::Tools::FormattedOutput(), TUnfoldSys::GetChi2Sys(), TRobustEstimator::GetCorrelation(), TMVA::Tools::GetCorrelationMatrix(), TRobustEstimator::GetCovariance(), TLinearFitter::GetCovarianceMatrix(), ROOT::Math::RMinimizer::GetCovMatrix(), TLinearFitter::GetDesignMatrix(), TQpDataSparse::GetDiagonalOfQ(), TQpDataDens::GetDiagonalOfQ(), TMatrixDEigen::GetEigenValues(), TUnfold::GetInputInverseEmatrix(), TUnfoldDensity::GetLxMinusBias(), TDecompSVD::GetMatrix(), TUnfold::GetNr(), TDecompChol::GetNrows(), TDecompBK::GetNrows(), TDecompQRH::GetNrows(), TDecompLU::GetNrows(), TDecompSVD::GetNrows(), TDecompSparse::GetNrows(), TUnfold::GetNy(), TUnfold::GetProbabilityMatrix(), TUnfold::GetRhoIFromMatrix(), TMVA::Tools::GetSQRootMatrix(), TSPlot::GetSWeights(), TDecompBase::Hager(), TMatrixTCramerInv::Inv2x2(), TMatrixTSymCramerInv::Inv2x2(), TMatrixTCramerInv::Inv3x3(), TMatrixTSymCramerInv::Inv3x3(), TMatrixTCramerInv::Inv4x4(), TMatrixTSymCramerInv::Inv4x4(), TMatrixTCramerInv::Inv5x5(), TMatrixTSymCramerInv::Inv5x5(), TMatrixTSymCramerInv::Inv6x6(), TMatrixTCramerInv::Inv6x6(), TDecompChol::Invert(), TDecompBK::Invert(), TDecompLU::Invert(), TDecompQRH::Invert(), TDecompSVD::Invert(), TDecompLU::InvertLU(), TUnfold::InvertMSparseSymmPos(), TSVDUnfold::M2H(), TQpProbDens::MakeData(), TQpProbSparse::MakeData(), TMatrixDSymEigen::MakeEigenVectors(), TMVA::VariableDecorrTransform::MakeFunction(), MakeHaarMat(), TMatrixDEigen::MakeHessenBerg(), MakeHilbertMat(), TPrincipal::MakePrincipals(), TMatrixDEigen::MakeSchurr(), TMatrixDSymEigen::MakeTridiagonal(), TSVDUnfold::MatDivVec(), TMatrixT< Element >::Mult(), TUnfold::MultiplyMSparseM(), TUnfold::MultiplyMSparseMSparse(), TUnfold::MultiplyMSparseMSparseTranspVector(), TUnfold::MultiplyMSparseTranspMSparse(), TDecompSparse::NonZerosUpperTriang(), NormalEqn(), TMatrixTColumn_const< Element >::operator()(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTColumn< Element >::operator*=(), TMatrixTSub< Element >::operator*=(), TMatrixTColumn< Element >::operator+=(), TMatrixTSub< Element >::operator+=(), TMatrixT< Element >::operator/=(), TVectorT< Element >::operator=(), TMatrixT< Element >::operator=(), TMatrixTColumn< Element >::operator=(), TMatrixTSub< Element >::operator=(), TUnfoldSys::PrepareSysError(), TUnfoldSys::PrepareUncorrEmat(), TDecompQRH::QRH(), TMVA::Tools::ReadTMatrixDFromXML(), TMVA::VariableDecorrTransform::ReadTransformationFromStream(), TSVDUnfold::RegularisedSymMatInvert(), TUnfoldSys::ScaleColumnsByVector(), RooFitResult::setCovarianceMatrix(), TUnfold::SetInput(), TDecompChol::SetMatrix(), TDecompBK::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompSVD::SetMatrix(), TDecompSparse::SetMatrix(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), TMatrixTSparse< Element >::SetSub(), TMatrixTSym< Element >::Similarity(), TMatrixTSym< Element >::SimilarityT(), TDecompChol::Solve(), TDecompBK::Solve(), TDecompLU::Solve(), TDecompQRH::Solve(), TDecompSVD::Solve(), TMatrixDEigen::Sort(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TMatrixT< Element >::TMatrixT(), TMatrixT< Double_t >::TMatrixT(), TMatrixTDiag_const< Element >::TMatrixTDiag_const(), TMatrixTRow_const< Element >::TMatrixTRow_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparseDiag_const< Element >::TMatrixTSparseDiag_const(), TMatrixTSparseRow_const< Element >::TMatrixTSparseRow_const(), TMatrixTSym< Element >::TMatrixTSym(), TMatrixTSym< Double_t >::TMatrixTSym(), TMatrixTSym< Element >::TMult(), TMatrixT< Element >::TMult(), TQpDataDens::TQpDataDens(), TQpDataSparse::TQpDataSparse(), TMatrixT< Element >::Transpose(), TMatrixTSparse< Element >::Transpose(), TDecompLU::TransSolve(), TDecompQRH::TransSolve(), TDecompSVD::TransSolve(), TVectorT< Element >::TVectorT(), Rcpp::wrap(), TMVA::Tools::WriteTMatrixDToXML(), TMVA::VariablePCATransform::WriteTransformationToStream(), TMVA::VariableDecorrTransform::WriteTransformationToStream(), and Yields().
|
pure virtual |
Implemented in TMatrixT< Element >, TMatrixT< Double_t >, TMatrixTSparse< Element >, TMatrixTSparse< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Referenced by TMatrixTSym< Element >::GetSub(), TMatrixT< Element >::GetSub(), TMatrixTSparse< Element >::GetSub(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), and TMatrixTSparse< Element >::SetSub().
|
pure virtual |
|
inline |
Definition at line 132 of file TMatrixTBase.h.
Referenced by Add(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), Compare(), TDecompSparse::CopyUpperTriang(), TMatrixDEigen::GetEigenValues(), TMatrixTCramerInv::Inv2x2(), TMatrixTCramerInv::Inv3x3(), TMatrixTCramerInv::Inv4x4(), TMatrixTCramerInv::Inv5x5(), TMatrixTSymCramerInv::Inv6x6(), TMatrixTCramerInv::Inv6x6(), TDecompChol::Invert(), TDecompBK::Invert(), TDecompLU::Invert(), TDecompQRH::Invert(), TDecompSVD::Invert(), TDecompLU::InvertLU(), TMatrixT< Element >::Mult(), TDecompSparse::NonZerosUpperTriang(), TMatrixTColumn_const< Element >::operator()(), TMatrixTSparseRow< Element >::operator()(), TMatrixTSparseDiag< Element >::operator()(), operator*(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTColumn< Element >::operator*=(), TMatrixTSub< Element >::operator*=(), TMatrixTSparseRow< Element >::operator*=(), TMatrixTColumn< Element >::operator+=(), TMatrixTSub< Element >::operator+=(), TMatrixTSparseRow< Element >::operator+=(), TVectorT< Element >::operator=(), TMatrixT< Element >::operator=(), TMatrixTColumn< Element >::operator=(), TMatrixTSub< Element >::operator=(), TMatrixTSparseRow< Element >::operator=(), TMatrixTSparse< Double_t >::ResizeTo(), TMatrixTSym< Double_t >::ResizeTo(), TMatrixT< Double_t >::ResizeTo(), TDecompChol::SetMatrix(), TDecompBK::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompSVD::SetMatrix(), TDecompSparse::SetMatrix(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), TMatrixTSym< Element >::SimilarityT(), TDecompChol::Solve(), TDecompBK::Solve(), TDecompLU::Solve(), TDecompQRH::Solve(), TDecompSVD::Solve(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TH2D::TH2D(), TH2F::TH2F(), TMatrixT< Element >::TMatrixT(), TMatrixT< Double_t >::TMatrixT(), TMatrixTRow_const< Element >::TMatrixTRow_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparseRow_const< Element >::TMatrixTSparseRow_const(), TMatrixTSub_const< Element >::TMatrixTSub_const(), TMatrixTSym< Element >::TMatrixTSym(), TMatrixTSym< Double_t >::TMatrixTSym(), TMatrixT< Element >::TMult(), TMatrixT< Element >::Transpose(), TMatrixTSparse< Element >::Transpose(), TDecompLU::TransSolve(), TDecompQRH::TransSolve(), TDecompSVD::TransSolve(), TVectorT< Element >::TVectorT(), TMatrixTSym< Element >::Use(), TMatrixT< Element >::Use(), TMatrixTSparse< Element >::Use(), VerifyMatrixIdentity(), and VerifyMatrixValue().
|
inline |
Definition at line 133 of file TMatrixTBase.h.
Referenced by Compare(), operator*(), TMatrixTSparse< Double_t >::ResizeTo(), TMatrixTSym< Double_t >::ResizeTo(), TMatrixT< Double_t >::ResizeTo(), TH2D::TH2D(), TH2F::TH2F(), TMatrixTSub_const< Element >::TMatrixTSub_const(), TVectorT< Element >::TVectorT(), TMatrixTSym< Element >::Use(), TMatrixT< Element >::Use(), TMatrixTSparse< Element >::Use(), VerifyMatrixIdentity(), and VerifyMatrixValue().
|
pure virtual |
Implemented in TMatrixTSparse< Element >, TMatrixT< Element >, and TMatrixTSym< Element >.
Referenced by TMatrixTSub< Element >::operator*=(), TMatrixTSub< Element >::operator+=(), and TMatrixTSub< Element >::operator=().
|
inline |
Definition at line 139 of file TMatrixTBase.h.
Referenced by TMatrixTSym< Double_t >::operator=(), TMatrixT< Element >::operator=(), TMatrixT< Double_t >::operator=(), TMatrixTSparse< Element >::operator=(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), and TDecompSVD::TDecompSVD().
|
staticprotected |
Lexical sort on array data using indices first and second.
Definition at line 260 of file TMatrixTBase.cxx.
|
virtual |
Copy n elements from array v to row rown starting at column coln.
Reimplemented in TMatrixTSparse< Element >.
Definition at line 450 of file TMatrixTBase.cxx.
|
inline |
Definition at line 155 of file TMatrixTBase.h.
|
inline |
Definition at line 158 of file TMatrixTBase.h.
|
virtual |
Check whether matrix is symmetric.
Reimplemented in TMatrixTSparse< Element >, TMatrixTSparse< Double_t >, TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Definition at line 395 of file TMatrixTBase.cxx.
Referenced by TMatrixTSym< Element >::SetSub().
|
inline |
Definition at line 157 of file TMatrixTBase.h.
Referenced by Add(), TMatrixTSparse< Element >::AMinusB(), TMatrixTSparse< Element >::AMultBt(), TMatrixTSparse< Element >::APlusB(), AreCompatible(), TMultiDimFit::Browse(), TDecompBase::Det(), TDecompBase::Hager(), TMatrixT< Double_t >::Invert(), MakeHaarMat(), MakeHilbertMat(), TMatrixT< Element >::Mult(), TDecompBase::MultiSolve(), TMatrixT< Element >::MultT(), TMatrixTRow_const< Element >::operator()(), TMatrixTColumn_const< Element >::operator()(), TMatrixTDiag_const< Element >::operator()(), TMatrixTFlat_const< Element >::operator()(), TMatrixTSub_const< Element >::operator()(), operator*(), TVectorT< Element >::operator*=(), TMatrixT< Element >::operator*=(), TMatrixTRow< Element >::operator*=(), TMatrixTColumn< Element >::operator*=(), TMatrixTDiag< Element >::operator*=(), TMatrixTFlat< Element >::operator*=(), TMatrixTSparseRow< Element >::operator*=(), TMatrixTSparseDiag< Element >::operator*=(), TMatrixTRow< Element >::operator+=(), TMatrixTColumn< Element >::operator+=(), TMatrixTDiag< Element >::operator+=(), TMatrixTFlat< Element >::operator+=(), TMatrixTSub< Element >::operator+=(), TMatrixTSparseRow< Element >::operator+=(), TMatrixTSparseDiag< Element >::operator+=(), TMatrixT< Element >::operator/=(), TVectorT< Element >::operator=(), TDecompSparse::operator=(), TMatrixTRow< Element >::operator=(), TMatrixTColumn< Element >::operator=(), TMatrixTDiag< Element >::operator=(), TMatrixTFlat< Element >::operator=(), TMatrixTSub< Element >::operator=(), TMatrixTSparseRow< Element >::operator=(), TMatrixTSparseDiag< Element >::operator=(), TMultiDimFit::Print(), TDecompChol::SetMatrix(), TDecompBK::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompSVD::SetMatrix(), TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSym< Element >::SetSub(), TMatrixT< Element >::SetSub(), TMatrixTSparse< Element >::SetSub(), TMatrixTSym< Element >::Similarity(), TMatrixTSym< Element >::SimilarityT(), TDecompChol::Solve(), TDecompBK::Solve(), TDecompLU::Solve(), TDecompQRH::Solve(), TDecompSVD::Solve(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), TDecompQRH::TDecompQRH(), TDecompSVD::TDecompSVD(), TMatrixT< Element >::TMatrixT(), TMatrixT< Double_t >::TMatrixT(), TMatrixTColumn_const< Element >::TMatrixTColumn_const(), TMatrixTDiag_const< Element >::TMatrixTDiag_const(), TMatrixTFlat_const< Element >::TMatrixTFlat_const(), TMatrixTRow_const< Element >::TMatrixTRow_const(), TMatrixTSparse< Element >::TMatrixTSparse(), TMatrixTSparseDiag_const< Element >::TMatrixTSparseDiag_const(), TMatrixTSparseRow_const< Element >::TMatrixTSparseRow_const(), TMatrixTSub_const< Element >::TMatrixTSub_const(), TMatrixTSym< Element >::TMatrixTSym(), TMatrixTSym< Double_t >::TMatrixTSym(), TMatrixTSym< Element >::TMult(), TMatrixT< Element >::TMult(), TPrincipal::TPrincipal(), TMatrixTSym< Element >::Transpose(), TMatrixT< Element >::Transpose(), TMatrixTSparse< Element >::Transpose(), TDecompLU::TransSolve(), TDecompQRH::TransSolve(), TDecompSVD::TransSolve(), TVectorT< Element >::TVectorT(), TMatrixT< Element >::Use(), TMatrixTSparse< Element >::Use(), and VerifyMatrixValue().
|
inline |
Definition at line 156 of file TMatrixTBase.h.
|
virtual |
return maximum vector element value
Definition at line 788 of file TMatrixTBase.cxx.
|
virtual |
return minimum matrix element value
Definition at line 775 of file TMatrixTBase.cxx.
|
static |
Definition at line 1265 of file TMatrixTBase.cxx.
Referenced by TVectorT< Element >::operator()(), TMatrixTRow_const< Element >::operator()(), TMatrixTSym< Element >::operator()(), TMatrixT< Element >::operator()(), TMatrixTRow< Element >::operator()(), TMatrixTColumn_const< Element >::operator()(), TMatrixTColumn< Element >::operator()(), TMatrixTDiag_const< Element >::operator()(), TMatrixTDiag< Element >::operator()(), TMatrixTFlat_const< Element >::operator()(), TMatrixTFlat< Element >::operator()(), TMatrixTSub_const< Element >::operator()(), TMatrixTSub< Element >::operator()(), TMatrixTSparseRow_const< Element >::operator()(), and TMatrixTSparseRow< Element >::operator()().
|
virtual |
Compute the number of elements != 0.0.
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSparse< Double_t >.
Definition at line 741 of file TMatrixTBase.cxx.
Referenced by TMatrixTSparse< Element >::SetSparseIndex(), TMatrixTSparse< Element >::SetSparseIndexAB(), TMatrixTSparse< Element >::SetSub(), and TMatrixTSparse< Element >::TMatrixTSparse().
|
inline |
Definition at line 188 of file TMatrixTBase.h.
Referenced by TDecompBK::SetMatrix(), TDecompLU::SetMatrix(), TDecompQRH::SetMatrix(), TDecompBK::TDecompBK(), TDecompChol::TDecompChol(), TDecompLU::TDecompLU(), and TDecompQRH::TDecompQRH().
|
virtual |
option: "D" : b(i,j) = a(i,j)/sqrt(abs*(v(i)*v(j))) (default) else : b(i,j) = a(i,j)*sqrt(abs*(v(i)*v(j))) (default)
Reimplemented in TMatrixTSparse< Element >.
Definition at line 615 of file TMatrixTBase.cxx.
Referenced by TMultiDimFit::MakeCoefficientErrors().
|
inline |
Definition at line 187 of file TMatrixTBase.h.
Bool_t TMatrixTBase< Element >::operator!= | ( | Element | val | ) | const |
Are all matrix elements not equal to val?
Definition at line 892 of file TMatrixTBase.cxx.
|
pure virtual |
|
pure virtual |
Bool_t TMatrixTBase< Element >::operator< | ( | Element | val | ) | const |
Are all matrix elements < val?
Definition at line 912 of file TMatrixTBase.cxx.
Bool_t TMatrixTBase< Element >::operator<= | ( | Element | val | ) | const |
Are all matrix elements <= val?
Definition at line 929 of file TMatrixTBase.cxx.
Bool_t TMatrixTBase< Element >::operator== | ( | Element | val | ) | const |
Are all matrix elements equal to val?
Definition at line 872 of file TMatrixTBase.cxx.
Bool_t TMatrixTBase< Element >::operator> | ( | Element | val | ) | const |
Are all matrix elements > val?
Definition at line 946 of file TMatrixTBase.cxx.
Bool_t TMatrixTBase< Element >::operator>= | ( | Element | val | ) | const |
Are all matrix elements >= val?
Definition at line 963 of file TMatrixTBase.cxx.
|
virtual |
Print the matrix as a table of elements.
By default the format "%11.4g" is used to print one element. One can specify an alternative format with eg option ="f= %6.2f "
Reimplemented from TObject.
Definition at line 815 of file TMatrixTBase.cxx.
Referenced by RooStats::SPlot::AddSWeight(), DataFrame(), funm(), TMVA::MethodFisher::GetFisherCoeff(), TMVA::LDA::Initialize(), RooNDKeysPdf::loadDataSet(), TDecompChol::Print(), TDecompBK::Print(), TDecompLU::Print(), TDecompQRH::Print(), TDecompSVD::Print(), TQpDataSparse::Print(), TQpDataDens::Print(), TDecompSparse::Print(), TMultiDimFit::Print(), and Proxy().
|
virtual |
Randomize matrix element values.
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSym< Element >.
Definition at line 1015 of file TMatrixTBase.cxx.
Referenced by TQpDataDens::DataRandom().
|
pure virtual |
|
pure virtual |
|
virtual |
Row matrix norm, MAX{ SUM{ |M(i,j)|, over j}, over i}.
The norm is induced by the infinity vector norm.
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSparse< Double_t >.
Definition at line 669 of file TMatrixTBase.cxx.
Referenced by TMatrixTBase< Element >::NormInf().
|
pure virtual |
|
virtual |
Copy array data to matrix .
It is assumed that array is of size >= fNelems (=)))) fNrows*fNcols option indicates how the data is stored in the array: option = 'F' : column major (Fortran) m[i][j] = array[i+j*fNrows] else : row major (C) m[i][j] = array[i*fNcols+j] (default)
Reimplemented in TMatrixTSym< Element >, and TMatrixTSparse< Element >.
Definition at line 367 of file TMatrixTBase.cxx.
Referenced by TMatrixTSym< Element >::SetMatrixArray(), and TMatrixT< Element >::TMatrixT().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 218 of file TMatrixTBase.h.
|
virtual |
Shift the row index by adding row_shift and the column index by adding col_shift, respectively.
So [rowLwb..rowUpb][colLwb..colUpb] becomes [rowLwb+row_shift..rowUpb+row_shift][colLwb+col_shift..colUpb+col_shift]
Reimplemented in TMatrixTSym< Element >, and TMatrixTSym< Double_t >.
Definition at line 518 of file TMatrixTBase.cxx.
Referenced by TDecompBK::Decompose(), TDecompQRH::Decompose(), TDecompSVD::Decompose(), TDecompSVD::GetMatrix(), and TMatrixTSym< Element >::Shift().
|
virtual |
Square each element of the matrix.
Definition at line 560 of file TMatrixTBase.cxx.
|
virtual |
Take square root of all elements.
Definition at line 578 of file TMatrixTBase.cxx.
|
virtual |
Compute sum of elements.
Definition at line 758 of file TMatrixTBase.cxx.
|
virtual |
Make a unit matrix (matrix need not be a square one).
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSparse< Double_t >.
Definition at line 596 of file TMatrixTBase.cxx.
Referenced by TMVA::MethodMLP::BFGSMinimize(), TDecompChol::Invert(), TDecompBK::Invert(), TDecompLU::Invert(), TDecompQRH::Invert(), TDecompSVD::Invert(), TDecompSVD::SetMatrix(), TDecompSVD::TDecompSVD(), and TMultiLayerPerceptron::Train().
|
virtual |
Set matrix elements to zero.
Reimplemented in TMatrixTSparse< Element >, and TMatrixTSparse< Double_t >.
Definition at line 530 of file TMatrixTBase.cxx.
Referenced by TLinearFitter::Add(), TLinearFitter::AddTempMatrices(), TLinearFitter::AddToDesign(), TPrincipal::Clear(), TMultiDimFit::Clear(), TLinearFitter::ClearPoints(), TLinearFitter::CreateSubset(), TLinearFitter::CStep(), TLinearFitter::Eval(), TLinearFitter::Linf(), RooNDKeysPdf::loadDataSet(), TLinearFitter::SetBasisFunctions(), and TLinearFitter::SetFormula().
|
protected |
Definition at line 104 of file TMatrixTBase.h.
Referenced by TMatrixTBase< Element >::GetColLwb().
|
protected |
Definition at line 111 of file TMatrixTBase.h.
Referenced by TMatrixTSym< Double_t >::Clear(), TMatrixTSparse< Double_t >::Clear(), TMatrixT< Double_t >::Clear(), and TMatrixTBase< Element >::IsOwner().
|
protected |
Definition at line 102 of file TMatrixTBase.h.
Referenced by TMatrixTBase< Element >::GetNcols().
|
protected |
Definition at line 105 of file TMatrixTBase.h.
Referenced by TMatrixTSym< Double_t >::Clear(), TMatrixTSparse< Double_t >::Clear(), TMatrixT< Double_t >::Clear(), TMatrixTBase< Element >::GetNoElements(), TMatrixTSparse< Double_t >::NonZeros(), TMatrixTSym< Double_t >::operator=(), TMatrixT< Double_t >::operator=(), TMatrixTSparse< Double_t >::SetColIndexArray(), TMatrixTSparse< Double_t >::SetMatrixArray(), and TMatrixTSparse< Element >::TMatrixTSparse().
|
protected |
Definition at line 106 of file TMatrixTBase.h.
Referenced by TMatrixTSparse< Double_t >::Clear(), and TMatrixTSparse< Element >::TMatrixTSparse().
|
protected |
Definition at line 101 of file TMatrixTBase.h.
Referenced by TMatrixTBase< Element >::GetNrows(), and TMatrixTSparse< Double_t >::SetRowIndexArray().
|
protected |
Definition at line 103 of file TMatrixTBase.h.
Referenced by TMatrixTBase< Element >::GetRowLwb().
|
protected |
Definition at line 108 of file TMatrixTBase.h.
Referenced by TMatrixTBase< Element >::GetTol(), TMatrixT< Double_t >::Invert(), TMatrixTSym< Double_t >::operator=(), and TMatrixT< Double_t >::operator=().