G4ErrorSymMatrix::G4ErrorSymMatrix_row Class Reference

#include <G4ErrorSymMatrix.hh>


Public Member Functions

 G4ErrorSymMatrix_row (G4ErrorSymMatrix &, G4int)
G4doubleoperator[] (G4int)


Detailed Description

Definition at line 142 of file G4ErrorSymMatrix.hh.


Constructor & Destructor Documentation

G4ErrorSymMatrix::G4ErrorSymMatrix_row::G4ErrorSymMatrix_row ( G4ErrorSymMatrix ,
G4int   
) [inline]

Definition at line 125 of file G4ErrorSymMatrix.icc.

00126    : _a(a), _r(r)
00127 {}


Member Function Documentation

G4double & G4ErrorSymMatrix::G4ErrorSymMatrix_row::operator[] ( G4int   )  [inline]

Definition at line 99 of file G4ErrorSymMatrix.icc.

References G4ErrorSymMatrix::m.

00100 {
00101    if (_r >= c )
00102    {
00103       return *(_a.m.begin() + (_r+1)*_r/2 + c);
00104    }
00105    else
00106    {
00107       return *(_a.m.begin() + (c+1)*c/2 + _r);
00108    }
00109 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:55 2013 for Geant4 by  doxygen 1.4.7