CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Matrix/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 |
![]() | |
virtual | ~HepGenMatrix () |
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) |
![]() | |
void | delete_m (int size, double *) |
double * | new_m (int size) |
Friends | |
class | HepMatrix_row |
class | HepMatrix_row_const |
class | HepVector |
class | HepSymMatrix |
class | HepDiagMatrix |
void | swap (HepMatrix &hm1, HepMatrix &hm2) |
HepMatrix | operator+ (const HepMatrix &hm1, const HepMatrix &hm2) |
HepMatrix | operator- (const HepMatrix &hm1, const HepMatrix &hm2) |
HepMatrix | operator* (const HepMatrix &hm1, const HepMatrix &hm2) |
HepMatrix | operator* (const HepMatrix &hm1, const HepSymMatrix &hm2) |
HepMatrix | operator* (const HepMatrix &hm1, const HepDiagMatrix &hm2) |
HepMatrix | operator* (const HepSymMatrix &hm1, const HepMatrix &hm2) |
HepMatrix | operator* (const HepDiagMatrix &hm1, const HepMatrix &hm2) |
HepMatrix | operator* (const HepVector &hm1, const HepMatrix &hm2) |
HepVector | operator* (const HepMatrix &hm1, const HepVector &hm2) |
HepMatrix | operator* (const HepSymMatrix &hm1, const HepSymMatrix &hm2) |
HepVector | solve (const HepMatrix &, const HepVector &) |
HepVector | qr_solve (HepMatrix *A, const HepVector &b) |
HepMatrix | qr_solve (HepMatrix *A, const HepMatrix &b) |
void | tridiagonal (HepSymMatrix *a, HepMatrix *hsm) |
void | row_house (HepMatrix *a, const HepMatrix &v, double vnormsq, int row, int col, int row_start, int col_start) |
void | row_house (HepMatrix *a, const HepVector &v, double vnormsq, int row=1, int col=1) |
void | back_solve (const HepMatrix &R, HepVector *b) |
void | back_solve (const HepMatrix &R, HepMatrix *b) |
void | col_givens (HepMatrix *A, double c, double s, int k1, int k2, int rowmin=1, int rowmax=0) |
void | row_givens (HepMatrix *A, double c, double s, int k1, int k2, int colmin=1, int colmax=0) |
void | col_house (HepMatrix *a, const HepMatrix &v, double vnormsq, int row, int col, int row_start, int col_start) |
HepVector | house (const HepMatrix &a, int row=1, int col=1) |
void | house_with_update (HepMatrix *a, int row=1, int col=1) |
void | house_with_update (HepMatrix *a, HepMatrix *v, int row=1, int col=1) |
void | house_with_update2 (HepSymMatrix *a, HepMatrix *v, int row=1, int col=1) |
Additional Inherited Members | |
![]() | |
enum | { size_max = 25 } |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
![]() | |
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 |
Definition at line 14 of file Matrix.icc.
Referenced by apply(), back_solve, back_solve, col_givens, col_house, HepMatrix(), CLHEP::HepMatrix::HepMatrix_row::HepMatrix_row(), CLHEP::HepMatrix::HepMatrix_row_const::HepMatrix_row_const(), house, house_with_update, house_with_update, house_with_update2, inverse(), inverse(), invert(), operator*, operator*, operator*, operator*, operator*, operator*, operator*, operator*, operator*=(), operator+, operator+=(), operator+=(), operator+=(), operator+=(), operator-(), operator-, operator-=(), operator-=(), operator-=(), operator-=(), operator/=(), operator=(), operator=(), operator=(), operator=(), operator=(), qr_solve, qr_solve, row_givens, row_house, row_house, solve, sub(), sub(), swap, T(), and tridiagonal.
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q ) |
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q, | ||
int | i ) |
CLHEP::HepMatrix::HepMatrix | ( | int | p, |
int | q, | ||
HepRandom & | r ) |
CLHEP::HepMatrix::HepMatrix | ( | const HepMatrix & | hm1 | ) |
References HepMatrix().
CLHEP::HepMatrix::HepMatrix | ( | const HepSymMatrix & | ) |
References HepSymMatrix.
CLHEP::HepMatrix::HepMatrix | ( | const HepDiagMatrix & | ) |
References HepDiagMatrix.
|
virtual |
HepMatrix CLHEP::HepMatrix::apply | ( | double(* | f )(double, int, int) | ) | const |
References HepMatrix().
double CLHEP::HepMatrix::determinant | ( | ) | const |
|
inline |
Definition at line 90 of file Matrix.icc.
References HepMatrix(), and inverse().
Referenced by inverse().
|
inline |
Definition at line 78 of file Matrix.icc.
References HepMatrix().
|
inline |
|
virtual |
Implements CLHEP::HepGenMatrix.
References HepMatrix().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
protectedvirtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
HepMatrix & CLHEP::HepMatrix::operator*= | ( | double | t | ) |
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator+= | ( | const HepDiagMatrix & | ) |
References HepDiagMatrix, and HepMatrix().
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator+= | ( | const HepSymMatrix & | ) |
References HepMatrix(), and HepSymMatrix.
References HepMatrix(), and HepVector.
HepMatrix CLHEP::HepMatrix::operator- | ( | ) | const |
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator-= | ( | const HepDiagMatrix & | ) |
References HepDiagMatrix, and HepMatrix().
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator-= | ( | const HepSymMatrix & | ) |
References HepMatrix(), and HepSymMatrix.
References HepMatrix(), and HepVector.
HepMatrix & CLHEP::HepMatrix::operator/= | ( | double | t | ) |
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepDiagMatrix & | ) |
References HepDiagMatrix, and HepMatrix().
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepRotation & | ) |
References HepMatrix().
HepMatrix & CLHEP::HepMatrix::operator= | ( | const HepSymMatrix & | ) |
References HepMatrix(), and HepSymMatrix.
References HepMatrix(), and HepVector.
|
inline |
Definition at line 17 of file Matrix.icc.
|
inline |
Definition at line 28 of file Matrix.icc.
HepMatrix CLHEP::HepMatrix::sub | ( | int | min_row, |
int | max_row, | ||
int | min_col, | ||
int | max_col ) const |
References HepMatrix().
void CLHEP::HepMatrix::sub | ( | int | row, |
int | col, | ||
const HepMatrix & | hm1 ) |
References HepMatrix().
HepMatrix CLHEP::HepMatrix::T | ( | ) | const |
References HepMatrix().
double CLHEP::HepMatrix::trace | ( | ) | const |
References HepMatrix().
References HepMatrix(), and HepVector.
|
friend |
References HepMatrix().
|
friend |
References HepMatrix().
|
friend |
Definition at line 345 of file Matrix.h.
References HepDiagMatrix.
Referenced by HepDiagMatrix, HepMatrix(), operator*, operator*, operator+=(), operator-=(), and operator=().
|
friend |
Definition at line 344 of file Matrix.h.
References HepSymMatrix.
Referenced by HepMatrix(), HepSymMatrix, house_with_update2, operator*, operator*, operator*, operator+=(), operator-=(), operator=(), and tridiagonal.
|
friend |
Definition at line 343 of file Matrix.h.
References HepVector.
Referenced by back_solve, HepMatrix(), HepVector, house, operator*, operator*, operator+=(), operator-=(), operator=(), qr_solve, row_house, and solve.
References HepMatrix(), and HepVector.
References HepMatrix().
|
friend |
References HepMatrix().
|
friend |
References HepMatrix(), and HepSymMatrix.
|
friend |
References HepDiagMatrix, and HepMatrix().
|
friend |
References HepDiagMatrix, and HepMatrix().
References HepMatrix().
|
friend |
References HepMatrix(), and HepSymMatrix.
References HepMatrix(), and HepVector.
|
friend |
References HepMatrix(), and HepSymMatrix.
|
friend |
References HepMatrix(), and HepSymMatrix.
References HepMatrix(), and HepVector.
References HepMatrix().
References HepMatrix().
References HepMatrix().
References HepMatrix(), and HepVector.
|
friend |
References HepMatrix().
|
friend |
References HepMatrix().
|
friend |
References HepMatrix(), and HepVector.
References HepMatrix(), and HepVector.
Definition at line 69 of file Matrix.icc.
References HepMatrix(), and CLHEP::HepGenMatrix::swap().
|
friend |
References HepMatrix(), and HepSymMatrix.