CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
CLHEP::HepMatrix Class Reference

#include <Matrix.h>

Inheritance diagram for CLHEP::HepMatrix:
CLHEP::HepGenMatrix CLHEP::HepGenMatrix CLHEP::HepGenMatrix

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 doubleoperator() (int row, int col) const
 
virtual doubleoperator() (int row, int col)
 
HepMatrixoperator*= (double t)
 
HepMatrixoperator/= (double t)
 
HepMatrixoperator+= (const HepMatrix &)
 
HepMatrixoperator+= (const HepSymMatrix &)
 
HepMatrixoperator+= (const HepDiagMatrix &)
 
HepMatrixoperator+= (const HepVector &)
 
HepMatrixoperator-= (const HepMatrix &)
 
HepMatrixoperator-= (const HepSymMatrix &)
 
HepMatrixoperator-= (const HepDiagMatrix &)
 
HepMatrixoperator-= (const HepVector &)
 
HepMatrixoperator= (const HepMatrix &)
 
HepMatrixoperator= (const HepSymMatrix &)
 
HepMatrixoperator= (const HepDiagMatrix &)
 
HepMatrixoperator= (const HepVector &)
 
HepMatrixoperator= (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
 
 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 doubleoperator() (int row, int col) const
 
virtual doubleoperator() (int row, int col)
 
HepMatrixoperator*= (double t)
 
HepMatrixoperator/= (double t)
 
HepMatrixoperator+= (const HepMatrix &)
 
HepMatrixoperator+= (const HepSymMatrix &)
 
HepMatrixoperator+= (const HepDiagMatrix &)
 
HepMatrixoperator+= (const HepVector &)
 
HepMatrixoperator-= (const HepMatrix &)
 
HepMatrixoperator-= (const HepSymMatrix &)
 
HepMatrixoperator-= (const HepDiagMatrix &)
 
HepMatrixoperator-= (const HepVector &)
 
HepMatrixoperator= (const HepMatrix &)
 
HepMatrixoperator= (const HepSymMatrix &)
 
HepMatrixoperator= (const HepDiagMatrix &)
 
HepMatrixoperator= (const HepVector &)
 
HepMatrixoperator= (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
 
 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 doubleoperator() (int row, int col) const
 
virtual doubleoperator() (int row, int col)
 
HepMatrixoperator*= (double t)
 
HepMatrixoperator/= (double t)
 
HepMatrixoperator+= (const HepMatrix &)
 
HepMatrixoperator+= (const HepSymMatrix &)
 
HepMatrixoperator+= (const HepDiagMatrix &)
 
HepMatrixoperator+= (const HepVector &)
 
HepMatrixoperator-= (const HepMatrix &)
 
HepMatrixoperator-= (const HepSymMatrix &)
 
HepMatrixoperator-= (const HepDiagMatrix &)
 
HepMatrixoperator-= (const HepVector &)
 
HepMatrixoperator= (const HepMatrix &)
 
HepMatrixoperator= (const HepSymMatrix &)
 
HepMatrixoperator= (const HepDiagMatrix &)
 
HepMatrixoperator= (const HepVector &)
 
HepMatrixoperator= (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 ()
 
HepGenMatrix_row operator[] (int)
 
const HepGenMatrix_row_const operator[] (int) const
 
virtual bool operator== (const HepGenMatrix &) const
 
virtual ~HepGenMatrix ()
 
HepGenMatrix_row operator[] (int)
 
const HepGenMatrix_row_const operator[] (int) const
 
virtual bool operator== (const HepGenMatrix &) 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)
 
virtual int num_size () const
 
virtual void invertHaywood4 (int &ierr)
 
virtual void invertHaywood5 (int &ierr)
 
virtual void invertHaywood6 (int &ierr)
 
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
void delete_m (int size, double *)
 
doublenew_m (int size)
 
void delete_m (int size, double *)
 
doublenew_m (int size)
 
void delete_m (int size, double *)
 
doublenew_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 *, const HepVector &)
 
HepMatrix qr_solve (HepMatrix *, const HepMatrix &b)
 
void tridiagonal (HepSymMatrix *a, HepMatrix *hsm)
 
void row_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
void row_house (HepMatrix *, const HepVector &, double, int, int)
 
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, int rowmax)
 
void row_givens (HepMatrix *A, double c, double s, int k1, int k2, int colmin, int colmax)
 
void col_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
HepVector house (const HepMatrix &a, int row, int col)
 
void house_with_update (HepMatrix *a, int row, int col)
 
void house_with_update (HepMatrix *a, HepMatrix *v, int row, int col)
 
void house_with_update2 (HepSymMatrix *a, HepMatrix *v, int row, int col)
 
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 *, const HepVector &)
 
HepMatrix qr_solve (HepMatrix *, const HepMatrix &b)
 
void tridiagonal (HepSymMatrix *a, HepMatrix *hsm)
 
void row_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
void row_house (HepMatrix *, const HepVector &, double, int, int)
 
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, int rowmax)
 
void row_givens (HepMatrix *A, double c, double s, int k1, int k2, int colmin, int colmax)
 
void col_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
HepVector house (const HepMatrix &a, int row, int col)
 
void house_with_update (HepMatrix *a, int row, int col)
 
void house_with_update (HepMatrix *a, HepMatrix *v, int row, int col)
 
void house_with_update2 (HepSymMatrix *a, HepMatrix *v, int row, int col)
 
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 *, const HepVector &)
 
HepMatrix qr_solve (HepMatrix *, const HepMatrix &b)
 
void tridiagonal (HepSymMatrix *a, HepMatrix *hsm)
 
void row_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
void row_house (HepMatrix *, const HepVector &, double, int, int)
 
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, int rowmax)
 
void row_givens (HepMatrix *A, double c, double s, int k1, int k2, int colmin, int colmax)
 
void col_house (HepMatrix *, const HepMatrix &, double, int, int, int, int)
 
HepVector house (const HepMatrix &a, int row, int col)
 
void house_with_update (HepMatrix *a, int row, int col)
 
void house_with_update (HepMatrix *a, HepMatrix *v, int row, int col)
 
void house_with_update2 (HepSymMatrix *a, HepMatrix *v, int row, int col)
 

Additional Inherited Members

- Public Types inherited from CLHEP::HepGenMatrix
enum  { size_max = 25 }
 
enum  { size_max = 25 }
 
enum  { size_max = 25 }
 
typedef std::vector< double,
Alloc< double, 25 >
>::iterator 
mIter
 
typedef std::vector< double,
Alloc< double, 25 >
>::const_iterator 
mcIter
 
typedef std::vector< double,
Alloc< double, 25 >
>::iterator 
mIter
 
typedef std::vector< double,
Alloc< double, 25 >
>::const_iterator 
mcIter
 
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)
 
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)
 
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)
 

Detailed Description

Author

Definition at line 209 of file Matrix/CLHEP/Matrix/Matrix.h.

Constructor & Destructor Documentation

CLHEP::HepMatrix::HepMatrix ( )
inline
CLHEP::HepMatrix::HepMatrix ( int  p,
int  q 
)

Definition at line 63 of file Matrix.cc.

CLHEP::HepMatrix::HepMatrix ( int  p,
int  q,
int  i 
)

Definition at line 69 of file Matrix.cc.

References a, and CLHEP::HepGenMatrix::error().

CLHEP::HepMatrix::HepMatrix ( int  p,
int  q,
HepRandom r 
)

Definition at line 96 of file Matrix.cc.

References a, and b.

CLHEP::HepMatrix::HepMatrix ( const HepMatrix hm1)

Definition at line 111 of file Matrix.cc.

CLHEP::HepMatrix::HepMatrix ( const HepSymMatrix hm1)

Definition at line 147 of file Matrix.cc.

CLHEP::HepMatrix::HepMatrix ( const HepDiagMatrix hm1)

Definition at line 166 of file Matrix.cc.

References CLHEP::detail::n, and num_row().

CLHEP::HepMatrix::HepMatrix ( const HepVector hm1)

Definition at line 180 of file Matrix.cc.

CLHEP::HepMatrix::~HepMatrix ( )
virtual

Definition at line 108 of file Matrix.cc.

CLHEP::HepMatrix::HepMatrix ( )
inline
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)
CLHEP::HepMatrix::HepMatrix ( const HepSymMatrix )
CLHEP::HepMatrix::HepMatrix ( const HepDiagMatrix )
CLHEP::HepMatrix::HepMatrix ( const HepVector )
virtual CLHEP::HepMatrix::~HepMatrix ( )
virtual
CLHEP::HepMatrix::HepMatrix ( )
inline
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)
CLHEP::HepMatrix::HepMatrix ( const HepSymMatrix )
CLHEP::HepMatrix::HepMatrix ( const HepDiagMatrix )
CLHEP::HepMatrix::HepMatrix ( const HepVector )
virtual CLHEP::HepMatrix::~HepMatrix ( )
virtual

Member Function Documentation

HepMatrix CLHEP::HepMatrix::apply ( double(*)(double, int, int)  f) const

Definition at line 476 of file Matrix.cc.

Referenced by main().

HepMatrix CLHEP::HepMatrix::apply ( double(*)(double, int, int)  f) const
HepMatrix CLHEP::HepMatrix::apply ( double(*)(double, int, int)  f) const
double CLHEP::HepMatrix::determinant ( ) const
double CLHEP::HepMatrix::determinant ( ) const
double CLHEP::HepMatrix::determinant ( ) const

Definition at line 815 of file Matrix.cc.

References CLHEP::HepGenMatrix::error().

HepMatrix CLHEP::HepMatrix::inverse ( int &  ierr) const
inline
HepMatrix CLHEP::HepMatrix::inverse ( int &  ierr) const
inline

Referenced by main().

HepMatrix CLHEP::HepMatrix::inverse ( int &  ierr) const
inline
HepMatrix CLHEP::HepMatrix::inverse ( ) const
inline
HepMatrix CLHEP::HepMatrix::inverse ( ) const
inline
HepMatrix CLHEP::HepMatrix::inverse ( ) const
inline
virtual void CLHEP::HepMatrix::invert ( int &  ierr)
virtual

Implements CLHEP::HepGenMatrix.

void CLHEP::HepMatrix::invert ( int &  ierr)
virtual

Implements CLHEP::HepGenMatrix.

Definition at line 707 of file Matrix.cc.

References CLHEP::HepGenMatrix::error(), invertHaywood4(), invertHaywood5(), and invertHaywood6().

Referenced by test_inversion().

virtual void CLHEP::HepMatrix::invert ( int &  ierr)
virtual

Implements CLHEP::HepGenMatrix.

void CLHEP::HepMatrix::invert ( )
inline
void CLHEP::HepMatrix::invert ( )
inline
void CLHEP::HepMatrix::invert ( )
inline
void CLHEP::HepMatrix::invertHaywood4 ( int &  ierr)
protectedvirtual

Definition at line 116 of file MatrixInvert.cc.

References F00, F01, F02, F03, F10, F11, F12, F13, F20, F21, F22, F23, F30, F31, F32, and F33.

Referenced by invert().

virtual void CLHEP::HepMatrix::invertHaywood4 ( int &  ierr)
protectedvirtual
virtual void CLHEP::HepMatrix::invertHaywood4 ( int &  ierr)
protectedvirtual
void CLHEP::HepMatrix::invertHaywood5 ( int &  ierr)
protectedvirtual

Definition at line 220 of file MatrixInvert.cc.

References M00, M01, M02, M03, M04, M10, M11, M12, M13, M14, M20, M21, M22, M23, M24, M30, M31, M32, M33, M34, M40, M41, M42, M43, and M44.

Referenced by invert().

virtual void CLHEP::HepMatrix::invertHaywood5 ( int &  ierr)
protectedvirtual
virtual void CLHEP::HepMatrix::invertHaywood5 ( int &  ierr)
protectedvirtual
void CLHEP::HepMatrix::invertHaywood6 ( int &  ierr)
protectedvirtual

Definition at line 446 of file MatrixInvert.cc.

References A00, A01, A02, A03, A04, A05, A10, A11, A12, A13, A14, A15, A20, A21, A22, A23, A24, A25, A30, A31, A32, A33, A34, A35, A40, A41, A42, A43, A44, A45, A50, A51, A52, A53, A54, and A55.

Referenced by invert().

virtual void CLHEP::HepMatrix::invertHaywood6 ( int &  ierr)
protectedvirtual
virtual void CLHEP::HepMatrix::invertHaywood6 ( int &  ierr)
protectedvirtual
int CLHEP::HepMatrix::num_col ( ) const
virtual
virtual int CLHEP::HepMatrix::num_col ( ) const
virtual

Implements CLHEP::HepGenMatrix.

virtual int CLHEP::HepMatrix::num_col ( ) const
virtual

Implements CLHEP::HepGenMatrix.

virtual int CLHEP::HepMatrix::num_row ( ) const
virtual

Implements CLHEP::HepGenMatrix.

virtual int CLHEP::HepMatrix::num_row ( ) const
virtual

Implements CLHEP::HepGenMatrix.

int CLHEP::HepMatrix::num_row ( ) const
virtual
virtual int CLHEP::HepMatrix::num_size ( ) const
protectedvirtual

Implements CLHEP::HepGenMatrix.

int CLHEP::HepMatrix::num_size ( ) const
protectedvirtual

Implements CLHEP::HepGenMatrix.

Definition at line 124 of file Matrix.cc.

Referenced by CLHEP::operator*().

virtual int CLHEP::HepMatrix::num_size ( ) const
protectedvirtual

Implements CLHEP::HepGenMatrix.

virtual const double& CLHEP::HepMatrix::operator() ( int  row,
int  col 
) const
virtual

Implements CLHEP::HepGenMatrix.

virtual const double& CLHEP::HepMatrix::operator() ( int  row,
int  col 
) const
virtual

Implements CLHEP::HepGenMatrix.

const double & CLHEP::HepMatrix::operator() ( int  row,
int  col 
) const
virtual

Implements CLHEP::HepGenMatrix.

Definition at line 137 of file Matrix.cc.

References CLHEP::HepGenMatrix::error(), num_col(), and num_row().

double & CLHEP::HepMatrix::operator() ( int  row,
int  col 
)
virtual

Implements CLHEP::HepGenMatrix.

Definition at line 128 of file Matrix.cc.

References CLHEP::HepGenMatrix::error(), num_col(), and num_row().

virtual double& CLHEP::HepMatrix::operator() ( int  row,
int  col 
)
virtual

Implements CLHEP::HepGenMatrix.

virtual double& CLHEP::HepMatrix::operator() ( int  row,
int  col 
)
virtual

Implements CLHEP::HepGenMatrix.

HepMatrix& CLHEP::HepMatrix::operator*= ( double  t)
HepMatrix & CLHEP::HepMatrix::operator*= ( double  t)

Definition at line 411 of file Matrix.cc.

References SIMPLE_UOP.

HepMatrix& CLHEP::HepMatrix::operator*= ( double  t)
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepMatrix )
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepMatrix )
HepMatrix & CLHEP::HepMatrix::operator+= ( const HepMatrix hm2)

Definition at line 391 of file Matrix.cc.

References CHK_DIM_2, num_col(), num_row(), and SIMPLE_BOP.

HepMatrix & CLHEP::HepMatrix::operator+= ( const HepSymMatrix hm2)
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepSymMatrix )
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepSymMatrix )
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepDiagMatrix )
HepMatrix & CLHEP::HepMatrix::operator+= ( const HepDiagMatrix hm2)
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepDiagMatrix )
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepVector )
HepMatrix & CLHEP::HepMatrix::operator+= ( const HepVector hm2)
HepMatrix& CLHEP::HepMatrix::operator+= ( const HepVector )
HepMatrix CLHEP::HepMatrix::operator- ( ) const
HepMatrix CLHEP::HepMatrix::operator- ( ) const

Definition at line 261 of file Matrix.cc.

HepMatrix CLHEP::HepMatrix::operator- ( ) const
HepMatrix & CLHEP::HepMatrix::operator-= ( const HepMatrix hm2)

Definition at line 398 of file Matrix.cc.

References CHK_DIM_2, num_col(), num_row(), and SIMPLE_BOP.

HepMatrix& CLHEP::HepMatrix::operator-= ( const HepMatrix )
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepMatrix )
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepSymMatrix )
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepSymMatrix )
HepMatrix & CLHEP::HepMatrix::operator-= ( const HepSymMatrix hm2)
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepDiagMatrix )
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepDiagMatrix )
HepMatrix & CLHEP::HepMatrix::operator-= ( const HepDiagMatrix hm2)
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepVector )
HepMatrix& CLHEP::HepMatrix::operator-= ( const HepVector )
HepMatrix & CLHEP::HepMatrix::operator-= ( const HepVector hm2)
HepMatrix & CLHEP::HepMatrix::operator/= ( double  t)

Definition at line 405 of file Matrix.cc.

References SIMPLE_UOP.

HepMatrix& CLHEP::HepMatrix::operator/= ( double  t)
HepMatrix& CLHEP::HepMatrix::operator/= ( double  t)
HepMatrix& CLHEP::HepMatrix::operator= ( const HepMatrix )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepMatrix )
HepMatrix & CLHEP::HepMatrix::operator= ( const HepMatrix hm1)

Definition at line 417 of file Matrix.cc.

HepMatrix & CLHEP::HepMatrix::operator= ( const HepSymMatrix hm1)

Definition at line 620 of file SymMatrix.cc.

HepMatrix& CLHEP::HepMatrix::operator= ( const HepSymMatrix )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepSymMatrix )
HepMatrix & CLHEP::HepMatrix::operator= ( const HepDiagMatrix hm1)

Definition at line 530 of file DiagMatrix.cc.

References CLHEP::detail::n.

HepMatrix& CLHEP::HepMatrix::operator= ( const HepDiagMatrix )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepDiagMatrix )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepVector )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepVector )
HepMatrix & CLHEP::HepMatrix::operator= ( const HepVector hm1)

Definition at line 456 of file Vector.cc.

HepMatrix & CLHEP::HepMatrix::operator= ( const HepRotation hm1)
HepMatrix& CLHEP::HepMatrix::operator= ( const HepRotation )
HepMatrix& CLHEP::HepMatrix::operator= ( const HepRotation )
HepMatrix_row CLHEP::HepMatrix::operator[] ( int  )
inline
HepMatrix_row CLHEP::HepMatrix::operator[] ( int  )
inline
HepMatrix_row CLHEP::HepMatrix::operator[] ( int  )
inline
const HepMatrix_row_const CLHEP::HepMatrix::operator[] ( int  ) const
inline
const HepMatrix_row_const CLHEP::HepMatrix::operator[] ( int  ) const
inline
const HepMatrix_row_const CLHEP::HepMatrix::operator[] ( int  ) const
inline
HepMatrix CLHEP::HepMatrix::sub ( int  min_row,
int  max_row,
int  min_col,
int  max_col 
) const

Definition at line 195 of file Matrix.cc.

Referenced by CLHEP::dsum(), main(), and matrix_test().

HepMatrix CLHEP::HepMatrix::sub ( int  min_row,
int  max_row,
int  min_col,
int  max_col 
) const
HepMatrix CLHEP::HepMatrix::sub ( int  min_row,
int  max_row,
int  min_col,
int  max_col 
) const
void CLHEP::HepMatrix::sub ( int  row,
int  col,
const HepMatrix hm1 
)

Definition at line 220 of file Matrix.cc.

References CLHEP::HepGenMatrix::error(), num_col(), and num_row().

void CLHEP::HepMatrix::sub ( int  row,
int  col,
const HepMatrix hm1 
)
void CLHEP::HepMatrix::sub ( int  row,
int  col,
const HepMatrix hm1 
)
HepMatrix CLHEP::HepMatrix::T ( ) const
HepMatrix CLHEP::HepMatrix::T ( ) const

Definition at line 456 of file Matrix.cc.

Referenced by main(), and matrix_test().

HepMatrix CLHEP::HepMatrix::T ( ) const
double CLHEP::HepMatrix::trace ( ) const
double CLHEP::HepMatrix::trace ( ) const
double CLHEP::HepMatrix::trace ( ) const

Definition at line 832 of file Matrix.cc.

Friends And Related Function Documentation

void back_solve ( const HepMatrix R,
HepVector b 
)
friend
void back_solve ( const HepMatrix R,
HepVector b 
)
friend
void back_solve ( const HepMatrix R,
HepVector b 
)
friend
void back_solve ( const HepMatrix R,
HepMatrix b 
)
friend
void back_solve ( const HepMatrix R,
HepMatrix b 
)
friend
void back_solve ( const HepMatrix R,
HepMatrix b 
)
friend
void col_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  rowmin,
int  rowmax 
)
friend
void col_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  rowmin,
int  rowmax 
)
friend
void col_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  rowmin,
int  rowmax 
)
friend
void col_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
void col_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
void col_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
HepDiagMatrix
friend

Definition at line 349 of file Matrix/CLHEP/Matrix/Matrix.h.

HepMatrix_row
friend

Definition at line 345 of file Matrix/CLHEP/Matrix/Matrix.h.

Definition at line 346 of file Matrix/CLHEP/Matrix/Matrix.h.

HepSymMatrix
friend

Definition at line 348 of file Matrix/CLHEP/Matrix/Matrix.h.

HepVector
friend

Definition at line 347 of file Matrix/CLHEP/Matrix/Matrix.h.

HepVector house ( const HepMatrix a,
int  row,
int  col 
)
friend
HepVector house ( const HepMatrix a,
int  row,
int  col 
)
friend
HepVector house ( const HepMatrix a,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
void house_with_update ( HepMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
void house_with_update2 ( HepSymMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
void house_with_update2 ( HepSymMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
void house_with_update2 ( HepSymMatrix a,
HepMatrix v,
int  row,
int  col 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepDiagMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepDiagMatrix hm2 
)
friend
HepMatrix operator* ( const HepMatrix hm1,
const HepDiagMatrix hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepDiagMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepDiagMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepDiagMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator* ( const HepVector hm1,
const HepMatrix hm2 
)
friend

Definition at line 380 of file Vector.cc.

HepMatrix operator* ( const HepVector hm1,
const HepMatrix hm2 
)
friend

Definition at line 380 of file Vector.cc.

HepMatrix operator* ( const HepVector hm1,
const HepMatrix hm2 
)
friend

Definition at line 380 of file Vector.cc.

HepVector operator* ( const HepMatrix hm1,
const HepVector hm2 
)
friend
HepVector operator* ( const HepMatrix hm1,
const HepVector hm2 
)
friend
HepVector operator* ( const HepMatrix hm1,
const HepVector hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator* ( const HepSymMatrix hm1,
const HepSymMatrix hm2 
)
friend
HepMatrix operator+ ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator+ ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator+ ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator- ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator- ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepMatrix operator- ( const HepMatrix hm1,
const HepMatrix hm2 
)
friend
HepVector qr_solve ( HepMatrix ,
const HepVector  
)
friend
HepVector qr_solve ( HepMatrix ,
const HepVector  
)
friend
HepVector qr_solve ( HepMatrix ,
const HepVector  
)
friend
HepMatrix qr_solve ( HepMatrix ,
const HepMatrix b 
)
friend
HepMatrix qr_solve ( HepMatrix ,
const HepMatrix b 
)
friend
HepMatrix qr_solve ( HepMatrix ,
const HepMatrix b 
)
friend
void row_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  colmin,
int  colmax 
)
friend
void row_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  colmin,
int  colmax 
)
friend
void row_givens ( HepMatrix A,
double  c,
double  s,
int  k1,
int  k2,
int  colmin,
int  colmax 
)
friend
void row_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
void row_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
void row_house ( HepMatrix ,
const HepMatrix ,
double  ,
int  ,
int  ,
int  ,
int   
)
friend
void row_house ( HepMatrix ,
const HepVector ,
double  ,
int  ,
int   
)
friend
void row_house ( HepMatrix ,
const HepVector ,
double  ,
int  ,
int   
)
friend
void row_house ( HepMatrix ,
const HepVector ,
double  ,
int  ,
int   
)
friend
HepVector solve ( const HepMatrix ,
const HepVector  
)
friend
HepVector solve ( const HepMatrix ,
const HepVector  
)
friend
HepVector solve ( const HepMatrix ,
const HepVector  
)
friend
void swap ( HepMatrix hm1,
HepMatrix hm2 
)
friend
void swap ( HepMatrix hm1,
HepMatrix hm2 
)
friend
void swap ( HepMatrix hm1,
HepMatrix hm2 
)
friend
void tridiagonal ( HepSymMatrix a,
HepMatrix hsm 
)
friend
void tridiagonal ( HepSymMatrix a,
HepMatrix hsm 
)
friend
void tridiagonal ( HepSymMatrix a,
HepMatrix hsm 
)
friend

The documentation for this class was generated from the following files: