ROOT 6.18/05 Reference Guide |
Definition at line 677 of file TMatrixTUtils.h.
Public Member Functions | |
TMatrixTSparseDiag () | |
TMatrixTSparseDiag (const TMatrixTSparseDiag< Element > &md) | |
Constructor. More... | |
TMatrixTSparseDiag (TMatrixTSparse< Element > &matrix) | |
Constructor. More... | |
Element * | GetDataPtr () const |
Element & | operator() (Int_t i) |
operator() : pick element diag(i) More... | |
Element | operator() (Int_t i) const |
void | operator*= (const TMatrixTSparseDiag_const< Element > &d) |
Multiply every element of the matrix diagonal with the corresponding element of diagonal md. More... | |
void | operator*= (Element val) |
Multiply every element of the matrix diagonal by val. More... | |
void | operator+= (const TMatrixTSparseDiag_const< Element > &d) |
Add to every element of the matrix diagonal the corresponding element of diagonal md. More... | |
void | operator+= (Element val) |
Add val to every element of the matrix diagonal. More... | |
TMatrixTSparseDiag< Element > & | operator= (const TMatrixTSparseDiag< Element > &d) |
void | operator= (const TMatrixTSparseDiag_const< Element > &d) |
Assignment operator. More... | |
void | operator= (const TVectorT< Element > &vec) |
Assign a vector to the matrix diagonal. More... | |
void | operator= (Element val) |
Assign val to every element of the matrix diagonal. More... | |
Element & | operator[] (Int_t i) |
Element | operator[] (Int_t i) const |
Public Member Functions inherited from TMatrixTSparseDiag_const< Element > | |
TMatrixTSparseDiag_const () | |
TMatrixTSparseDiag_const (const TMatrixTSparse< Element > &matrix) | |
Constructor. More... | |
TMatrixTSparseDiag_const (const TMatrixTSparseDiag_const< Element > &trc) | |
virtual | ~TMatrixTSparseDiag_const () |
const Element * | GetDataPtr () const |
const TMatrixTBase< Element > * | GetMatrix () const |
Int_t | GetNdiags () const |
Element | operator() (Int_t i) const |
TMatrixTSparseDiag_const< Element > & | operator= (const TMatrixTSparseDiag_const< Element > &trc) |
Element | operator[] (Int_t i) const |
Additional Inherited Members | |
Protected Attributes inherited from TMatrixTSparseDiag_const< Element > | |
const Element * | fDataPtr |
const TMatrixTSparse< Element > * | fMatrix |
Int_t | fNdiag |
#include <TMatrixTUtils.h>
|
inline |
Definition at line 680 of file TMatrixTUtils.h.
TMatrixTSparseDiag< Element >::TMatrixTSparseDiag | ( | TMatrixTSparse< Element > & | matrix | ) |
Constructor.
Definition at line 1684 of file TMatrixTUtils.cxx.
TMatrixTSparseDiag< Element >::TMatrixTSparseDiag | ( | const TMatrixTSparseDiag< Element > & | md | ) |
Constructor.
Definition at line 1693 of file TMatrixTUtils.cxx.
|
inline |
Definition at line 684 of file TMatrixTUtils.h.
Element & TMatrixTSparseDiag< Element >::operator() | ( | Int_t | i | ) |
operator() : pick element diag(i)
Definition at line 1725 of file TMatrixTUtils.cxx.
Element TMatrixTSparseDiag< Element >::operator() | ( | Int_t | i | ) | const |
Definition at line 1702 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator*= | ( | const TMatrixTSparseDiag_const< Element > & | d | ) |
Multiply every element of the matrix diagonal with the corresponding element of diagonal md.
Definition at line 1859 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator*= | ( | Element | val | ) |
Multiply every element of the matrix diagonal by val.
Definition at line 1788 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator+= | ( | const TMatrixTSparseDiag_const< Element > & | d | ) |
Add to every element of the matrix diagonal the corresponding element of diagonal md.
Definition at line 1839 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator+= | ( | Element | val | ) |
Add val to every element of the matrix diagonal.
Definition at line 1777 of file TMatrixTUtils.cxx.
|
inline |
Definition at line 696 of file TMatrixTUtils.h.
void TMatrixTSparseDiag< Element >::operator= | ( | const TMatrixTSparseDiag_const< Element > & | d | ) |
Assignment operator.
Definition at line 1799 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator= | ( | const TVectorT< Element > & | vec | ) |
Assign a vector to the matrix diagonal.
Definition at line 1819 of file TMatrixTUtils.cxx.
void TMatrixTSparseDiag< Element >::operator= | ( | Element | val | ) |
Assign val to every element of the matrix diagonal.
Definition at line 1766 of file TMatrixTUtils.cxx.
|
inline |
Definition at line 689 of file TMatrixTUtils.h.
|
inline |
Definition at line 688 of file TMatrixTUtils.h.