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

CLHEP::HepGenMatrix Class Reference

#include <GenMatrix.h>

Inheritance diagram for CLHEP::HepGenMatrix:

CLHEP::HepDiagMatrix CLHEP::HepMatrix CLHEP::HepSymMatrix CLHEP::HepVector List of all members.

Public Types

typedef std::vector< double,
Alloc< double, 25 > >::iterator 
mIter
typedef std::vector< double,
Alloc< double, 25 > >::const_iterator 
mcIter
 size_max = 25
enum  { size_max = 25 }

Public Member Functions

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

Static Public Member Functions

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)

Protected Member Functions

virtual int num_size () const =0
void delete_m (int size, double *)
double * new_m (int size)

Friends

class HepGenMatrix_row
class HepGenMatrix_row_const

Classes

class  Alloc
class  HepGenMatrix_row
class  HepGenMatrix_row_const

Detailed Description

Author:

Definition at line 36 of file GenMatrix.h.


Member Typedef Documentation

typedef std::vector<double,Alloc<double,25> >::const_iterator CLHEP::HepGenMatrix::mcIter

Definition at line 78 of file GenMatrix.h.

typedef std::vector<double,Alloc<double,25> >::iterator CLHEP::HepGenMatrix::mIter

Definition at line 77 of file GenMatrix.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
size_max 

Definition at line 134 of file GenMatrix.h.


Constructor & Destructor Documentation

virtual CLHEP::HepGenMatrix::~HepGenMatrix (  )  [inline, virtual]

Definition at line 39 of file GenMatrix.h.


Member Function Documentation

void CLHEP::HepGenMatrix::delete_m ( int  size,
double *   
) [protected]

Definition at line 92 of file GenMatrix.cc.

References size_max.

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

Definition at line 74 of file GenMatrix.cc.

References abort.

Referenced by CLHEP::HepMatrix::determinant(), CLHEP::dot(), CLHEP::HepDiagMatrix::HepDiagMatrix(), CLHEP::HepMatrix::HepMatrix(), CLHEP::HepSymMatrix::HepSymMatrix(), CLHEP::HepVector::HepVector(), CLHEP::HepMatrix::invert(), CLHEP::HepMatrix::operator()(), CLHEP::HepVector::operator=(), CLHEP::qr_inverse(), CLHEP::HepVector::sub(), CLHEP::HepSymMatrix::sub(), CLHEP::HepMatrix::sub(), and CLHEP::HepDiagMatrix::sub().

virtual void CLHEP::HepGenMatrix::invert ( int &   )  [pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, and CLHEP::HepSymMatrix.

double * CLHEP::HepGenMatrix::new_m ( int  size  )  [protected]

Definition at line 101 of file GenMatrix.cc.

virtual int CLHEP::HepGenMatrix::num_col (  )  const [pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

Referenced by matrix_test1(), CLHEP::norm(), CLHEP::norm1(), CLHEP::norm_infinity(), and operator==().

virtual int CLHEP::HepGenMatrix::num_row (  )  const [pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

Referenced by CLHEP::norm(), CLHEP::norm1(), CLHEP::norm_infinity(), and operator==().

virtual int CLHEP::HepGenMatrix::num_size (  )  const [protected, pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

virtual double& CLHEP::HepGenMatrix::operator() ( int  row,
int  col 
) [pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

virtual const double& CLHEP::HepGenMatrix::operator() ( int  row,
int  col 
) const [pure virtual]

Implemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

bool CLHEP::HepGenMatrix::operator== ( const HepGenMatrix  )  const [virtual]

Definition at line 81 of file GenMatrix.cc.

References num_col(), and num_row().

const HepGenMatrix_row_const CLHEP::HepGenMatrix::operator[] ( int   )  const [inline]

Reimplemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

HepGenMatrix_row CLHEP::HepGenMatrix::operator[] ( int   )  [inline]

Reimplemented in CLHEP::HepDiagMatrix, CLHEP::HepMatrix, CLHEP::HepSymMatrix, and CLHEP::HepVector.

static void CLHEP::HepGenMatrix::swap ( std::vector< double, Alloc< double, 25 > > &  ,
std::vector< double, Alloc< double, 25 > > &   
) [inline, static]

static void CLHEP::HepGenMatrix::swap ( int &  ,
int &   
) [inline, static]


Friends And Related Function Documentation

friend class HepGenMatrix_row [friend]

Definition at line 146 of file GenMatrix.h.

friend class HepGenMatrix_row_const [friend]

Definition at line 147 of file GenMatrix.h.


The documentation for this class was generated from the following files:
Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7