CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
CLHEP::HepGenMatrix Class Referenceabstract

#include <CLHEP/Matrix/GenMatrix.h>

Inheritance diagram for CLHEP::HepGenMatrix:
CLHEP::HepDiagMatrix CLHEP::HepMatrix CLHEP::HepSymMatrix CLHEP::HepVector

Classes

class  Alloc
 
class  HepGenMatrix_row
 
class  HepGenMatrix_row_const
 

Public Types

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

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
 

Detailed Description

Author

Definition at line 32 of file GenMatrix.h.

Member Typedef Documentation

◆ mcIter

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

Definition at line 74 of file GenMatrix.h.

◆ mIter

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

Definition at line 73 of file GenMatrix.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
size_max 

Definition at line 130 of file GenMatrix.h.

Constructor & Destructor Documentation

◆ ~HepGenMatrix()

virtual CLHEP::HepGenMatrix::~HepGenMatrix ( )
inlinevirtual

Definition at line 35 of file GenMatrix.h.

Member Function Documentation

◆ delete_m()

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

◆ error()

◆ invert()

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

◆ new_m()

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

◆ num_col()

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

◆ num_row()

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

◆ num_size()

virtual int CLHEP::HepGenMatrix::num_size ( ) const
protectedpure virtual

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

◆ operator==()

virtual bool CLHEP::HepGenMatrix::operator== ( const HepGenMatrix & ) const
virtual

◆ operator[]() [1/2]

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

Definition at line 37 of file GenMatrix.icc.

◆ operator[]() [2/2]

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

Definition at line 42 of file GenMatrix.icc.

◆ swap() [1/2]

void CLHEP::HepGenMatrix::swap ( int & i,
int & j )
inlinestatic

Definition at line 13 of file GenMatrix.icc.

◆ swap() [2/2]

void CLHEP::HepGenMatrix::swap ( std::vector< double, Alloc< double, 25 > > & i,
std::vector< double, Alloc< double, 25 > > & j )
inlinestatic

Definition at line 19 of file GenMatrix.icc.

Friends And Related Symbol Documentation

◆ HepGenMatrix_row

friend class HepGenMatrix_row
friend

Definition at line 142 of file GenMatrix.h.

◆ HepGenMatrix_row_const

friend class HepGenMatrix_row_const
friend

Definition at line 143 of file GenMatrix.h.


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