![]() |
Project
|
#include <MatrixSq.h>
Inherits TMatrixDBase.
Inherited by o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
Public Member Functions | |
MatrixSq () | |
MatrixSq (const MatrixSq &src) | |
~MatrixSq () override=default | |
MatrixSq & | operator= (const MatrixSq &src) |
= operator | |
virtual Int_t | GetSize () const |
virtual Float_t | GetDensity () const =0 |
void | Clear (Option_t *option="") override=0 |
virtual Double_t | Query (Int_t rown, Int_t coln) const |
Double_t | operator() (Int_t rown, Int_t coln) const override=0 |
Double_t & | operator() (Int_t rown, Int_t coln) override=0 |
virtual Double_t | QueryDiag (Int_t rc) const |
virtual Double_t | DiagElem (Int_t r) const =0 |
virtual Double_t & | DiagElem (Int_t r)=0 |
virtual void | AddToRow (Int_t r, Double_t *valc, Int_t *indc, Int_t n)=0 |
void | Print (Option_t *option="") const override=0 |
virtual void | Reset ()=0 |
virtual void | PrintCOO () const |
print matrix in COO sparse format | |
virtual void | MultiplyByVec (const Double_t *vecIn, Double_t *vecOut) const |
fill vecOut by matrix * vecIn (vector should be of the same size as the matrix) | |
virtual void | MultiplyByVec (const TVectorD &vecIn, TVectorD &vecOut) const |
Bool_t | IsSymmetric () const override |
void | SetSymmetric (Bool_t v=kTRUE) |
const Double_t * | GetMatrixArray () const override |
Double_t * | GetMatrixArray () override |
const Int_t * | GetRowIndexArray () const override |
Int_t * | GetRowIndexArray () override |
const Int_t * | GetColIndexArray () const override |
Int_t * | GetColIndexArray () override |
TMatrixDBase & | SetRowIndexArray (Int_t *) override |
TMatrixDBase & | SetColIndexArray (Int_t *) override |
TMatrixDBase & | GetSub (Int_t, Int_t, Int_t, Int_t, TMatrixDBase &, Option_t *) const override |
TMatrixDBase & | SetSub (Int_t, Int_t, const TMatrixDBase &) override |
TMatrixDBase & | ResizeTo (Int_t, Int_t, Int_t) override |
TMatrixDBase & | ResizeTo (Int_t, Int_t, Int_t, Int_t, Int_t) override |
virtual void | Allocate (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t) |
Static Public Member Functions | |
static Bool_t | IsZero (Double_t x, Double_t thresh=1e-64) |
Protected Member Functions | |
void | Swap (int &r, int &c) const |
ClassDefOverride (MatrixSq, 1) | |
Protected Attributes | |
Bool_t | fSymmetric |
is the matrix symmetric? Only lower triangle is filled | |
Definition at line 28 of file MatrixSq.h.
|
inline |
Definition at line 32 of file MatrixSq.h.
MatrixSq::MatrixSq | ( | const MatrixSq & | src | ) |
Definition at line 27 of file MatrixSq.cxx.
|
overridedefault |
|
pure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
inlinevirtual |
Definition at line 128 of file MatrixSq.h.
|
protected |
|
overridepure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
pure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
pure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
inlineoverride |
Definition at line 88 of file MatrixSq.h.
|
inlineoverride |
Definition at line 93 of file MatrixSq.h.
|
pure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
inlineoverride |
Definition at line 68 of file MatrixSq.h.
|
inlineoverride |
Definition at line 73 of file MatrixSq.h.
|
inlineoverride |
Definition at line 78 of file MatrixSq.h.
|
inlineoverride |
Definition at line 83 of file MatrixSq.h.
|
inlinevirtual |
Reimplemented in o2::fwdalign::MatrixSparse, and o2::fwdalign::SymMatrix.
Definition at line 39 of file MatrixSq.h.
|
inlineoverride |
Definition at line 108 of file MatrixSq.h.
|
inlineoverride |
Definition at line 64 of file MatrixSq.h.
|
inlinestatic |
Definition at line 134 of file MatrixSq.h.
|
virtual |
fill vecOut by matrix * vecIn (vector should be of the same size as the matrix)
Reimplemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
Definition at line 46 of file MatrixSq.cxx.
|
inlinevirtual |
Reimplemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
Definition at line 151 of file MatrixSq.h.
|
overridepure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
overridepure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
= operator
Definition at line 35 of file MatrixSq.cxx.
|
overridepure virtual |
Implemented in o2::fwdalign::MatrixSparse, and o2::fwdalign::SymBDMatrix.
|
virtual |
print matrix in COO sparse format
Definition at line 57 of file MatrixSq.cxx.
|
inlinevirtual |
Definition at line 44 of file MatrixSq.h.
|
inlinevirtual |
Definition at line 48 of file MatrixSq.h.
|
pure virtual |
Implemented in o2::fwdalign::MatrixSparse, o2::fwdalign::SymBDMatrix, and o2::fwdalign::SymMatrix.
|
inlineoverride |
Definition at line 118 of file MatrixSq.h.
|
inlineoverride |
Definition at line 123 of file MatrixSq.h.
|
inlineoverride |
Definition at line 103 of file MatrixSq.h.
|
inlineoverride |
Definition at line 98 of file MatrixSq.h.
|
inlineoverride |
Definition at line 113 of file MatrixSq.h.
|
inline |
Definition at line 65 of file MatrixSq.h.
Definition at line 137 of file MatrixSq.h.
|
protected |
is the matrix symmetric? Only lower triangle is filled
Definition at line 145 of file MatrixSq.h.