G4ErrorMatrix Class Reference

#include <G4ErrorMatrix.hh>

List of all members.


Detailed Description

Definition at line 47 of file G4ErrorMatrix.hh.

Public Member Functions

 G4ErrorMatrix ()
 G4ErrorMatrix (G4int p, G4int q)
 G4ErrorMatrix (G4int p, G4int q, G4int i)
 G4ErrorMatrix (const G4ErrorMatrix &m1)
 G4ErrorMatrix (const G4ErrorSymMatrix &m1)
virtual ~G4ErrorMatrix ()
virtual G4int num_row () const
virtual G4int num_col () const
virtual const G4doubleoperator() (G4int row, G4int col) const
virtual G4doubleoperator() (G4int row, G4int col)
G4ErrorMatrixoperator *= (G4double t)
G4ErrorMatrixoperator/= (G4double t)
G4ErrorMatrixoperator+= (const G4ErrorMatrix &m2)
G4ErrorMatrixoperator+= (const G4ErrorSymMatrix &m2)
G4ErrorMatrixoperator-= (const G4ErrorMatrix &m2)
G4ErrorMatrixoperator-= (const G4ErrorSymMatrix &m2)
G4ErrorMatrixoperator= (const G4ErrorMatrix &m2)
G4ErrorMatrixoperator= (const G4ErrorSymMatrix &m2)
G4ErrorMatrix operator- () const
G4ErrorMatrix apply (G4double(*f)(G4double, G4int, G4int)) const
G4ErrorMatrix T () const
G4ErrorMatrix sub (G4int min_row, G4int max_row, G4int min_col, G4int max_col) const
void sub (G4int row, G4int col, const G4ErrorMatrix &m1)
G4ErrorMatrix inverse (G4int &ierr) const
virtual void invert (G4int &ierr)
G4double determinant () const
G4double trace () const
G4ErrorMatrix_row operator[] (G4int)
const G4ErrorMatrix_row_const operator[] (G4int) const

Static Public Member Functions

static void error (const char *s)

Protected Member Functions

virtual G4int num_size () const
virtual void invertHaywood4 (G4int &ierr)
virtual void invertHaywood5 (G4int &ierr)
virtual void invertHaywood6 (G4int &ierr)

Private Member Functions

G4int dfact_matrix (G4double &det, G4int *ir)
G4int dfinv_matrix (G4int *ir)

Private Attributes

std::vector< G4doublem
G4int nrow
G4int ncol
G4int size

Friends

class G4ErrorMatrix_row
class G4ErrorMatrix_row_const
class G4ErrorSymMatrix
G4ErrorMatrix operator+ (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2)
G4ErrorMatrix operator- (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2)
G4ErrorMatrix operator * (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2)
G4ErrorMatrix operator * (const G4ErrorMatrix &m1, const G4ErrorSymMatrix &m2)
G4ErrorMatrix operator * (const G4ErrorSymMatrix &m1, const G4ErrorMatrix &m2)
G4ErrorMatrix operator * (const G4ErrorSymMatrix &m1, const G4ErrorSymMatrix &m2)
G4ErrorMatrix qr_solve (G4ErrorMatrix *, const G4ErrorMatrix &b)
void tridiagonal (G4ErrorSymMatrix *a, G4ErrorMatrix *hsm)
void row_house (G4ErrorMatrix *, const G4ErrorMatrix &, G4double, G4int, G4int, G4int, G4int)
void back_solve (const G4ErrorMatrix &R, G4ErrorMatrix *b)
void col_givens (G4ErrorMatrix *A, G4double c, G4double s, G4int k1, G4int k2, G4int rowmin, G4int rowmax)
void row_givens (G4ErrorMatrix *A, G4double c, G4double s, G4int k1, G4int k2, G4int colmin, G4int colmax)
void col_house (G4ErrorMatrix *, const G4ErrorMatrix &, G4double, G4int, G4int, G4int, G4int)
void house_with_update (G4ErrorMatrix *a, G4int row, G4int col)
void house_with_update (G4ErrorMatrix *a, G4ErrorMatrix *v, G4int row, G4int col)
void house_with_update2 (G4ErrorSymMatrix *a, G4ErrorMatrix *v, G4int row, G4int col)

Classes

class  G4ErrorMatrix_row
class  G4ErrorMatrix_row_const


Constructor & Destructor Documentation

G4ErrorMatrix::G4ErrorMatrix (  ) 

G4ErrorMatrix::G4ErrorMatrix ( G4int  p,
G4int  q 
)

Definition at line 75 of file G4ErrorMatrix.cc.

References ncol, nrow, and size.

G4ErrorMatrix::G4ErrorMatrix ( G4int  p,
G4int  q,
G4int  i 
)

Definition at line 81 of file G4ErrorMatrix.cc.

References error(), m, ncol, nrow, and size.

Here is the call graph for this function:

G4ErrorMatrix::G4ErrorMatrix ( const G4ErrorMatrix m1  ) 

Definition at line 118 of file G4ErrorMatrix.cc.

References m.

G4ErrorMatrix::G4ErrorMatrix ( const G4ErrorSymMatrix m1  ) 

Definition at line 124 of file G4ErrorMatrix.cc.

References m, G4ErrorSymMatrix::m, ncol, nrow, and size.

G4ErrorMatrix::~G4ErrorMatrix (  )  [virtual]

Definition at line 114 of file G4ErrorMatrix.cc.


Member Function Documentation

G4ErrorMatrix G4ErrorMatrix::apply ( G4double(*)(G4double, G4int, G4int f  )  const

Definition at line 389 of file G4ErrorMatrix.cc.

References m, num_col(), and num_row().

Here is the call graph for this function:

G4double G4ErrorMatrix::determinant (  )  const

Definition at line 775 of file G4ErrorMatrix.cc.

References dfact_matrix(), error(), ncol, and nrow.

Here is the call graph for this function:

G4int G4ErrorMatrix::dfact_matrix ( G4double det,
G4int ir 
) [private]

Definition at line 517 of file G4ErrorMatrix.cc.

References DBL_EPSILON, error(), m, ncol, and nrow.

Referenced by G4ErrorSymMatrix::determinant(), determinant(), and invert().

Here is the call graph for this function:

G4int G4ErrorMatrix::dfinv_matrix ( G4int ir  )  [private]

Definition at line 404 of file G4ErrorMatrix.cc.

References error(), m, mm, num_col(), and num_row().

Referenced by invert().

Here is the call graph for this function:

void G4ErrorMatrix::error ( const char *  s  )  [static]

Definition at line 804 of file G4ErrorMatrix.cc.

References G4cerr, and G4endl.

Referenced by determinant(), dfact_matrix(), dfinv_matrix(), G4ErrorMatrix(), G4ErrorSymMatrix::G4ErrorSymMatrix(), invert(), G4ErrorSymMatrix::sub(), and sub().

G4ErrorMatrix G4ErrorMatrix::inverse ( G4int ierr  )  const [inline]

void G4ErrorMatrix::invert ( G4int ierr  )  [virtual]

Definition at line 644 of file G4ErrorMatrix.cc.

References dfact_matrix(), dfinv_matrix(), error(), invertHaywood4(), invertHaywood5(), invertHaywood6(), m, mm, ncol, nrow, and s.

Here is the call graph for this function:

void G4ErrorMatrix::invertHaywood4 ( G4int ierr  )  [protected, virtual]

Definition at line 909 of file G4ErrorMatrix.cc.

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

Referenced by invert().

void G4ErrorMatrix::invertHaywood5 ( G4int ierr  )  [protected, virtual]

Definition at line 1008 of file G4ErrorMatrix.cc.

References m, 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().

void G4ErrorMatrix::invertHaywood6 ( G4int ierr  )  [protected, virtual]

Definition at line 1231 of file G4ErrorMatrix.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, A55, and m.

Referenced by invert().

virtual G4int G4ErrorMatrix::num_col (  )  const [inline, virtual]

Referenced by apply(), dfinv_matrix(), dsum(), operator *(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), G4ErrorSymMatrix::similarity(), G4ErrorSymMatrix::similarityT(), and sub().

virtual G4int G4ErrorMatrix::num_row (  )  const [inline, virtual]

Referenced by apply(), dfinv_matrix(), dsum(), operator *(), operator+(), operator+=(), operator-(), operator-=(), operator<<(), operator=(), G4ErrorSymMatrix::similarity(), and sub().

virtual G4int G4ErrorMatrix::num_size (  )  const [inline, protected, virtual]

G4ErrorMatrix & G4ErrorMatrix::operator *= ( G4double  t  ) 

Definition at line 327 of file G4ErrorMatrix.cc.

References SIMPLE_UOP.

virtual G4double& G4ErrorMatrix::operator() ( G4int  row,
G4int  col 
) [inline, virtual]

virtual const G4double& G4ErrorMatrix::operator() ( G4int  row,
G4int  col 
) const [inline, virtual]

G4ErrorMatrix & G4ErrorMatrix::operator+= ( const G4ErrorSymMatrix m2  ) 

Definition at line 402 of file G4ErrorSymMatrix.cc.

References CHK_DIM_2, m, m2, num_col(), and num_row().

Here is the call graph for this function:

G4ErrorMatrix & G4ErrorMatrix::operator+= ( const G4ErrorMatrix m2  ) 

Definition at line 307 of file G4ErrorMatrix.cc.

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

Here is the call graph for this function:

G4ErrorMatrix G4ErrorMatrix::operator- (  )  const

Definition at line 216 of file G4ErrorMatrix.cc.

References m, m2, ncol, and nrow.

G4ErrorMatrix & G4ErrorMatrix::operator-= ( const G4ErrorSymMatrix m2  ) 

Definition at line 434 of file G4ErrorSymMatrix.cc.

References CHK_DIM_2, m, m2, num_col(), and num_row().

Here is the call graph for this function:

G4ErrorMatrix & G4ErrorMatrix::operator-= ( const G4ErrorMatrix m2  ) 

Definition at line 314 of file G4ErrorMatrix.cc.

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

Here is the call graph for this function:

G4ErrorMatrix & G4ErrorMatrix::operator/= ( G4double  t  ) 

Definition at line 321 of file G4ErrorMatrix.cc.

References SIMPLE_UOP.

G4ErrorMatrix & G4ErrorMatrix::operator= ( const G4ErrorSymMatrix m2  ) 

Definition at line 478 of file G4ErrorSymMatrix.cc.

References G4ErrorSymMatrix::m, m, ncol, nrow, G4ErrorSymMatrix::nrow, num_row(), and size.

Here is the call graph for this function:

G4ErrorMatrix & G4ErrorMatrix::operator= ( const G4ErrorMatrix m2  ) 

Definition at line 333 of file G4ErrorMatrix.cc.

References m, ncol, nrow, and size.

const G4ErrorMatrix_row_const G4ErrorMatrix::operator[] ( G4int   )  const [inline]

G4ErrorMatrix_row G4ErrorMatrix::operator[] ( G4int   )  [inline]

void G4ErrorMatrix::sub ( G4int  row,
G4int  col,
const G4ErrorMatrix m1 
)

Definition at line 178 of file G4ErrorMatrix.cc.

References error(), m, num_col(), and num_row().

Here is the call graph for this function:

G4ErrorMatrix G4ErrorMatrix::sub ( G4int  min_row,
G4int  max_row,
G4int  min_col,
G4int  max_col 
) const

Definition at line 156 of file G4ErrorMatrix.cc.

References error(), m, num_col(), and num_row().

Referenced by dsum().

Here is the call graph for this function:

G4ErrorMatrix G4ErrorMatrix::T (  )  const

Definition at line 373 of file G4ErrorMatrix.cc.

References m, ncol, nrow, and size.

Referenced by G4ErrorFreeTrajState::PropagateError().

G4double G4ErrorMatrix::trace (  )  const

Definition at line 794 of file G4ErrorMatrix.cc.

References m, and ncol.


Friends And Related Function Documentation

void back_solve ( const G4ErrorMatrix R,
G4ErrorMatrix b 
) [friend]

void col_givens ( G4ErrorMatrix A,
G4double  c,
G4double  s,
G4int  k1,
G4int  k2,
G4int  rowmin,
G4int  rowmax 
) [friend]

void col_house ( G4ErrorMatrix ,
const G4ErrorMatrix ,
G4double  ,
G4int  ,
G4int  ,
G4int  ,
G4int   
) [friend]

friend class G4ErrorMatrix_row [friend]

Definition at line 175 of file G4ErrorMatrix.hh.

friend class G4ErrorMatrix_row_const [friend]

Definition at line 176 of file G4ErrorMatrix.hh.

friend class G4ErrorSymMatrix [friend]

Definition at line 177 of file G4ErrorMatrix.hh.

void house_with_update ( G4ErrorMatrix a,
G4ErrorMatrix v,
G4int  row,
G4int  col 
) [friend]

void house_with_update ( G4ErrorMatrix a,
G4int  row,
G4int  col 
) [friend]

void house_with_update2 ( G4ErrorSymMatrix a,
G4ErrorMatrix v,
G4int  row,
G4int  col 
) [friend]

G4ErrorMatrix operator * ( const G4ErrorSymMatrix m1,
const G4ErrorSymMatrix m2 
) [friend]

Definition at line 354 of file G4ErrorSymMatrix.cc.

G4ErrorMatrix operator * ( const G4ErrorSymMatrix m1,
const G4ErrorMatrix m2 
) [friend]

Definition at line 321 of file G4ErrorSymMatrix.cc.

G4ErrorMatrix operator * ( const G4ErrorMatrix m1,
const G4ErrorSymMatrix m2 
) [friend]

Definition at line 288 of file G4ErrorSymMatrix.cc.

G4ErrorMatrix operator * ( const G4ErrorMatrix m1,
const G4ErrorMatrix m2 
) [friend]

Definition at line 273 of file G4ErrorMatrix.cc.

G4ErrorMatrix operator+ ( const G4ErrorMatrix m1,
const G4ErrorMatrix m2 
) [friend]

Definition at line 226 of file G4ErrorMatrix.cc.

G4ErrorMatrix operator- ( const G4ErrorMatrix m1,
const G4ErrorMatrix m2 
) [friend]

Definition at line 238 of file G4ErrorMatrix.cc.

G4ErrorMatrix qr_solve ( G4ErrorMatrix ,
const G4ErrorMatrix b 
) [friend]

void row_givens ( G4ErrorMatrix A,
G4double  c,
G4double  s,
G4int  k1,
G4int  k2,
G4int  colmin,
G4int  colmax 
) [friend]

void row_house ( G4ErrorMatrix ,
const G4ErrorMatrix ,
G4double  ,
G4int  ,
G4int  ,
G4int  ,
G4int   
) [friend]

void tridiagonal ( G4ErrorSymMatrix a,
G4ErrorMatrix hsm 
) [friend]


Member Data Documentation

std::vector<G4double > G4ErrorMatrix::m [private]

Definition at line 225 of file G4ErrorMatrix.hh.

Referenced by apply(), G4ErrorSymMatrix::assign(), dfact_matrix(), dfinv_matrix(), G4ErrorMatrix(), invert(), invertHaywood4(), invertHaywood5(), invertHaywood6(), operator *(), operator+=(), operator-(), operator-=(), operator=(), G4ErrorSymMatrix::similarity(), sub(), T(), and trace().

G4int G4ErrorMatrix::ncol [private]

Definition at line 227 of file G4ErrorMatrix.hh.

Referenced by determinant(), dfact_matrix(), G4ErrorMatrix(), invert(), operator *(), operator+(), operator-(), operator=(), T(), and trace().

G4int G4ErrorMatrix::nrow [private]

Definition at line 227 of file G4ErrorMatrix.hh.

Referenced by G4ErrorSymMatrix::assign(), determinant(), dfact_matrix(), G4ErrorMatrix(), invert(), operator *(), operator+(), operator-(), operator=(), and T().

G4int G4ErrorMatrix::size [private]

Definition at line 228 of file G4ErrorMatrix.hh.

Referenced by G4ErrorMatrix(), operator=(), and T().


The documentation for this class was generated from the following files:
Generated on Sat Apr 12 06:14:08 2008 for Geant4 by  doxygen 1.4.7