|
CLHEP 2.4.7.2
C++ Class Library for High Energy Physics
|
#include <CLHEP/Matrix/DiagMatrix.h>
Classes | |
| class | HepDiagMatrix_row |
| class | HepDiagMatrix_row_const |
Public Member Functions | |
| HepDiagMatrix () | |
| HepDiagMatrix (int p) | |
| HepDiagMatrix (int p, int) | |
| HepDiagMatrix (int p, HepRandom &r) | |
| HepDiagMatrix (const HepDiagMatrix &hm1) | |
| virtual | ~HepDiagMatrix () |
| int | num_row () const |
| int | num_col () const |
| double & | operator() (int row, int col) |
| const double & | operator() (int row, int col) const |
| double & | fast (int row, int col) |
| const double & | fast (int row, int col) const |
| void | assign (const HepMatrix &hm2) |
| void | assign (const HepSymMatrix &hm2) |
| void | assign (const HepDiagMatrix &hm2) |
| HepDiagMatrix & | operator*= (double t) |
| HepDiagMatrix & | operator/= (double t) |
| HepDiagMatrix & | operator+= (const HepDiagMatrix &hm2) |
| HepDiagMatrix & | operator-= (const HepDiagMatrix &hm2) |
| HepDiagMatrix & | operator= (const HepDiagMatrix &hm2) |
| HepDiagMatrix | operator- () const |
| HepDiagMatrix | T () const |
| HepDiagMatrix | apply (double(*f)(double, int, int)) const |
| HepSymMatrix | similarity (const HepMatrix &hm1) const |
| HepSymMatrix | similarityT (const HepMatrix &hm1) const |
| double | similarity (const HepVector &) const |
| HepDiagMatrix | sub (int min_row, int max_row) const |
| HepDiagMatrix | sub (int min_row, int max_row) |
| void | sub (int row, const HepDiagMatrix &hm1) |
| HepDiagMatrix | inverse (int &ierr) const |
| void | invert (int &ierr) |
| void | invert () |
| HepDiagMatrix | inverse () const |
| double | determinant () const |
| double | trace () const |
| HepDiagMatrix_row | operator[] (int) |
| HepDiagMatrix_row_const | operator[] (int) const |
| Public Member Functions inherited from CLHEP::HepGenMatrix | |
| virtual | ~HepGenMatrix () |
| HepGenMatrix_row | operator[] (int) |
| const HepGenMatrix_row_const | operator[] (int) const |
| virtual bool | operator== (const HepGenMatrix &) const |
Protected Member Functions | |
| int | num_size () const |
| Protected Member Functions inherited from CLHEP::HepGenMatrix | |
| void | delete_m (int size, double *) |
| double * | new_m (int size) |
Friends | |
| class | HepDiagMatrix_row |
| class | HepDiagMatrix_row_const |
| class | HepMatrix |
| class | HepSymMatrix |
| HepDiagMatrix | operator* (const HepDiagMatrix &hm1, const HepDiagMatrix &hm2) |
| HepDiagMatrix | operator+ (const HepDiagMatrix &hm1, const HepDiagMatrix &hm2) |
| HepDiagMatrix | operator- (const HepDiagMatrix &hm1, const HepDiagMatrix &hm2) |
| HepMatrix | operator* (const HepDiagMatrix &hm1, const HepMatrix &hm2) |
| HepMatrix | operator* (const HepMatrix &hm1, const HepDiagMatrix &hm2) |
| HepVector | operator* (const HepDiagMatrix &hm1, const HepVector &hm2) |
Additional Inherited Members | |
| Public Types inherited from CLHEP::HepGenMatrix | |
| enum | { size_max = 25 } |
| typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
| typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
| Static Public Member Functions inherited from CLHEP::HepGenMatrix | |
| static void | swap (int &, int &) |
| static void | swap (std::vector< double, Alloc< double, 25 > > &, std::vector< double, Alloc< double, 25 > > &) |
| static void | error (const char *s) |
Definition at line 35 of file DiagMatrix.h.
|
inline |
Definition at line 11 of file DiagMatrix.icc.
Referenced by apply(), assign(), assign(), HepDiagMatrix(), CLHEP::HepDiagMatrix::HepDiagMatrix_row::HepDiagMatrix_row(), CLHEP::HepDiagMatrix::HepDiagMatrix_row_const::HepDiagMatrix_row_const(), inverse(), inverse(), invert(), operator*, operator*, operator*, operator*, operator*=(), operator+, operator+=(), operator-(), operator-, operator-=(), operator/=(), operator=(), sub(), sub(), sub(), and T().
|
explicit |
| CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
| int | ) |
| CLHEP::HepDiagMatrix::HepDiagMatrix | ( | int | p, |
| HepRandom & | r ) |
| CLHEP::HepDiagMatrix::HepDiagMatrix | ( | const HepDiagMatrix & | hm1 | ) |
References HepDiagMatrix().
|
virtual |
References fast(), num_col(), num_row(), and operator()().
| HepDiagMatrix CLHEP::HepDiagMatrix::apply | ( | double(* | f )(double, int, int) | ) | const |
References HepDiagMatrix().
|
inline |
Definition at line 60 of file DiagMatrix.icc.
References HepDiagMatrix().
| void CLHEP::HepDiagMatrix::assign | ( | const HepMatrix & | hm2 | ) |
| void CLHEP::HepDiagMatrix::assign | ( | const HepSymMatrix & | hm2 | ) |
References assign(), HepDiagMatrix(), and HepSymMatrix.
| double CLHEP::HepDiagMatrix::determinant | ( | ) | const |
|
inline |
Definition at line 19 of file DiagMatrix.icc.
References CLHEP::HepGenMatrix::error().
Referenced by operator()(), operator()(), and ~HepDiagMatrix().
|
inline |
Definition at line 31 of file DiagMatrix.icc.
References CLHEP::HepGenMatrix::error().
|
inline |
Definition at line 119 of file DiagMatrix.icc.
References HepDiagMatrix(), and inverse().
|
inline |
Definition at line 107 of file DiagMatrix.icc.
References HepDiagMatrix().
|
inline |
Definition at line 126 of file DiagMatrix.icc.
References invert().
|
virtual |
Implements CLHEP::HepGenMatrix.
References HepDiagMatrix(), inverse(), and invert().
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 16 of file DiagMatrix.icc.
Referenced by ~HepDiagMatrix().
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 15 of file DiagMatrix.icc.
Referenced by ~HepDiagMatrix().
|
inlineprotectedvirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 17 of file DiagMatrix.icc.
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 50 of file DiagMatrix.icc.
References fast().
Referenced by ~HepDiagMatrix().
|
inlinevirtual |
| HepDiagMatrix & CLHEP::HepDiagMatrix::operator*= | ( | double | t | ) |
References HepDiagMatrix().
| HepDiagMatrix & CLHEP::HepDiagMatrix::operator+= | ( | const HepDiagMatrix & | hm2 | ) |
References HepDiagMatrix().
| HepDiagMatrix CLHEP::HepDiagMatrix::operator- | ( | ) | const |
References HepDiagMatrix(), and T().
| HepDiagMatrix & CLHEP::HepDiagMatrix::operator-= | ( | const HepDiagMatrix & | hm2 | ) |
References HepDiagMatrix().
| HepDiagMatrix & CLHEP::HepDiagMatrix::operator/= | ( | double | t | ) |
References HepDiagMatrix().
| HepDiagMatrix & CLHEP::HepDiagMatrix::operator= | ( | const HepDiagMatrix & | hm2 | ) |
References HepDiagMatrix().
|
inline |
Definition at line 64 of file DiagMatrix.icc.
|
inline |
Definition at line 75 of file DiagMatrix.icc.
| HepSymMatrix CLHEP::HepDiagMatrix::similarity | ( | const HepMatrix & | hm1 | ) | const |
References HepMatrix, and HepSymMatrix.
| double CLHEP::HepDiagMatrix::similarity | ( | const HepVector & | ) | const |
| HepSymMatrix CLHEP::HepDiagMatrix::similarityT | ( | const HepMatrix & | hm1 | ) | const |
References HepMatrix, and HepSymMatrix.
| HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
| int | max_row ) |
References HepDiagMatrix().
| HepDiagMatrix CLHEP::HepDiagMatrix::sub | ( | int | min_row, |
| int | max_row ) const |
References HepDiagMatrix().
| void CLHEP::HepDiagMatrix::sub | ( | int | row, |
| const HepDiagMatrix & | hm1 ) |
References HepDiagMatrix(), and inverse().
|
inline |
Definition at line 62 of file DiagMatrix.icc.
References HepDiagMatrix().
Referenced by operator-().
| double CLHEP::HepDiagMatrix::trace | ( | ) | const |
|
friend |
Definition at line 170 of file DiagMatrix.h.
|
friend |
Definition at line 171 of file DiagMatrix.h.
|
friend |
Definition at line 172 of file DiagMatrix.h.
References HepMatrix.
Referenced by assign(), HepMatrix, operator*, operator*, similarity(), and similarityT().
|
friend |
Definition at line 173 of file DiagMatrix.h.
References HepSymMatrix.
Referenced by assign(), HepSymMatrix, similarity(), and similarityT().
|
friend |
References HepDiagMatrix().
|
friend |
References HepDiagMatrix(), and HepMatrix.
|
friend |
References HepDiagMatrix().
|
friend |
References HepDiagMatrix(), and HepMatrix.
|
friend |
References HepDiagMatrix().
|
friend |
References HepDiagMatrix().