CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <Matrix.h>
Classes | |
class | HepMatrix_row |
class | HepMatrix_row_const |
Public Member Functions | |
HepMatrix () | |
HepMatrix (int p, int q) | |
HepMatrix (int p, int q, int i) | |
HepMatrix (int p, int q, HepRandom &r) | |
HepMatrix (const HepMatrix &hm1) | |
HepMatrix (const HepSymMatrix &) | |
HepMatrix (const HepDiagMatrix &) | |
HepMatrix (const HepVector &) | |
virtual | ~HepMatrix () |
virtual int | num_row () const |
virtual int | num_col () const |
virtual const double & | operator() (int row, int col) const |
virtual double & | operator() (int row, int col) |
HepMatrix & | operator*= (double t) |
HepMatrix & | operator/= (double t) |
HepMatrix & | operator+= (const HepMatrix &) |
HepMatrix & | operator+= (const HepSymMatrix &) |
HepMatrix & | operator+= (const HepDiagMatrix &) |
HepMatrix & | operator+= (const HepVector &) |
HepMatrix & | operator-= (const HepMatrix &) |
HepMatrix & | operator-= (const HepSymMatrix &) |
HepMatrix & | operator-= (const HepDiagMatrix &) |
HepMatrix & | operator-= (const HepVector &) |
HepMatrix & | operator= (const HepMatrix &) |
HepMatrix & | operator= (const HepSymMatrix &) |
HepMatrix & | operator= (const HepDiagMatrix &) |
HepMatrix & | operator= (const HepVector &) |
HepMatrix & | operator= (const HepRotation &) |
HepMatrix | operator- () const |
HepMatrix | apply (double(*f)(double, int, int)) const |
HepMatrix | T () const |
HepMatrix | sub (int min_row, int max_row, int min_col, int max_col) const |
void | sub (int row, int col, const HepMatrix &hm1) |
HepMatrix | inverse (int &ierr) const |
virtual void | invert (int &ierr) |
void | invert () |
HepMatrix | inverse () const |
double | determinant () const |
double | trace () const |
HepMatrix_row | operator[] (int) |
const HepMatrix_row_const | operator[] (int) const |
Public Member Functions inherited from CLHEP::HepGenMatrix | |
virtual | ~HepGenMatrix () |
virtual int | num_row () const =0 |
virtual int | num_col () const =0 |
virtual const double & | operator() (int row, int col) const =0 |
virtual double & | operator() (int row, int col)=0 |
virtual void | invert (int &)=0 |
HepGenMatrix_row | operator[] (int) |
const HepGenMatrix_row_const | operator[] (int) const |
virtual bool | operator== (const HepGenMatrix &) const |
Protected Member Functions | |
virtual int | num_size () const |
virtual void | invertHaywood4 (int &ierr) |
virtual void | invertHaywood5 (int &ierr) |
virtual void | invertHaywood6 (int &ierr) |
Protected Member Functions inherited from CLHEP::HepGenMatrix | |
virtual int | num_size () const =0 |
void | delete_m (int size, double *) |
double * | new_m (int size) |
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) |
|
inline |
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q | ||
) |
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q, | ||
int | i | ||
) |
Definition at line 67 of file Matrix.cc.
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q, | ||
HepRandom & | r | ||
) |
CLHEP::HepMatrix::HepMatrix | ( | const HepMatrix & | hm1 | ) |
CLHEP::HepMatrix::HepMatrix | ( | const HepSymMatrix & | hm1 | ) |
Definition at line 145 of file Matrix.cc.
CLHEP::HepMatrix::HepMatrix | ( | const HepDiagMatrix & | hm1 | ) |
CLHEP::HepMatrix::HepMatrix | ( | const HepVector & | hm1 | ) |
double CLHEP::HepMatrix::determinant | ( | ) | const |
Definition at line 813 of file Matrix.cc.
|
inline |
|
inline |
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 705 of file Matrix.cc.
Referenced by test_inversion().
|
protectedvirtual |
Definition at line 112 of file MatrixInvert.cc.
Referenced by invert().
|
protectedvirtual |
Definition at line 216 of file MatrixInvert.cc.
Referenced by invert().
|
protectedvirtual |
Definition at line 442 of file MatrixInvert.cc.
Referenced by invert().
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 120 of file Matrix.cc.
Referenced by CLHEP::HepVector::HepVector(), main(), operator()(), operator+=(), CLHEP::HepVector::operator+=(), operator-=(), CLHEP::HepVector::operator-=(), CLHEP::operator<<(), CLHEP::HepVector::operator=(), CLHEP::qr_decomp(), CLHEP::qr_inverse(), sub(), and CLHEP::tridiagonal().
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 118 of file Matrix.cc.
Referenced by CLHEP::HepDiagMatrix::assign(), CLHEP::col_house(), HepMatrix(), main(), operator()(), operator+=(), CLHEP::HepVector::operator+=(), operator-=(), CLHEP::HepVector::operator-=(), CLHEP::operator<<(), CLHEP::qr_decomp(), CLHEP::qr_inverse(), CLHEP::row_house(), and sub().
|
protectedvirtual |
|
virtual |
|
virtual |
HepMatrix & CLHEP::HepMatrix::operator+= | ( | const HepDiagMatrix & | hm2 | ) |
Definition at line 451 of file DiagMatrix.cc.
HepMatrix & CLHEP::HepMatrix::operator+= | ( | const HepSymMatrix & | hm2 | ) |
Definition at line 559 of file SymMatrix.cc.
HepMatrix CLHEP::HepMatrix::operator- | ( | ) | const |
HepMatrix & CLHEP::HepMatrix::operator-= | ( | const HepDiagMatrix & | hm2 | ) |
Definition at line 483 of file DiagMatrix.cc.
HepMatrix & CLHEP::HepMatrix::operator-= | ( | const HepSymMatrix & | hm2 | ) |
Definition at line 582 of file SymMatrix.cc.
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepDiagMatrix & | hm1 | ) |
Definition at line 527 of file DiagMatrix.cc.
Definition at line 415 of file Matrix.cc.
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepRotation & | hm1 | ) |
Definition at line 15 of file MatrixEqRotation.cc.
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepSymMatrix & | hm1 | ) |
Definition at line 617 of file SymMatrix.cc.
|
inline |
|
inline |
HepMatrix CLHEP::HepMatrix::sub | ( | int | min_row, |
int | max_row, | ||
int | min_col, | ||
int | max_col | ||
) | const |
Definition at line 193 of file Matrix.cc.
Referenced by main(), and matrix_test().
void CLHEP::HepMatrix::sub | ( | int | row, |
int | col, | ||
const HepMatrix & | hm1 | ||
) |
Definition at line 218 of file Matrix.cc.
HepMatrix CLHEP::HepMatrix::T | ( | ) | const |
Definition at line 454 of file Matrix.cc.
Referenced by main(), and matrix_test().
double CLHEP::HepMatrix::trace | ( | ) | const |
Definition at line 90 of file MatrixLinear.cc.
Definition at line 63 of file MatrixLinear.cc.
|
friend |
Definition at line 124 of file MatrixLinear.cc.
|
friend |
Definition at line 154 of file MatrixLinear.cc.
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 371 of file MatrixLinear.cc.
Definition at line 424 of file MatrixLinear.cc.
|
friend |
Definition at line 396 of file MatrixLinear.cc.
|
friend |
Definition at line 462 of file MatrixLinear.cc.
|
friend |
Definition at line 392 of file DiagMatrix.cc.
|
friend |
Definition at line 372 of file DiagMatrix.cc.
Definition at line 349 of file Matrix.cc.
|
friend |
Definition at line 353 of file SymMatrix.cc.
Definition at line 354 of file Vector.cc.
|
friend |
Definition at line 392 of file SymMatrix.cc.
|
friend |
Definition at line 434 of file SymMatrix.cc.
Definition at line 379 of file Vector.cc.
Definition at line 276 of file Matrix.cc.
Definition at line 293 of file Matrix.cc.
Definition at line 738 of file MatrixLinear.cc.
Definition at line 710 of file MatrixLinear.cc.
|
friend |
Definition at line 587 of file MatrixLinear.cc.
|
friend |
Definition at line 652 of file MatrixLinear.cc.
|
friend |
Definition at line 613 of file MatrixLinear.cc.
Definition at line 575 of file Vector.cc.
|
friend |
Definition at line 777 of file MatrixLinear.cc.