24#include "CLHEP/Matrix/defs.h"
28class HepGenMatrix_row;
29class HepGenMatrix_row_const;
44 template <
class T,
size_t size>
class Alloc
74 typedef std::vector<double >::iterator
mIter;
75 typedef std::vector<double >::const_iterator
mcIter;
77 typedef std::vector<double,Alloc<double,25> >::iterator
mIter;
78 typedef std::vector<double,Alloc<double,25> >::const_iterator
mcIter;
84 virtual const double &
operator()(
int row,
int col)
const =0;
116 inline static void swap(
int&,
int&);
118 inline static void swap(std::vector<double >&, std::vector<double >&);
146 friend class HepGenMatrix_row;
147 friend class HepGenMatrix_row_const;
153double norm(
const HepGenMatrix &m);
154double norm1(
const HepGenMatrix &m);
160#ifdef ENABLE_BACKWARDS_COMPATIBILITY
162using namespace CLHEP;
165#ifndef HEP_DEBUG_INLINE
166#include "CLHEP/Matrix/GenMatrix.icc"
ptrdiff_t difference_type
void construct(pointer p, const T &val)
pointer address(reference r) const
Alloc(const Alloc< T, size > &)
const_pointer address(const_reference r) const
pointer allocate(size_type n, const void *hint=0)
void deallocate(pointer p, size_type n)
size_type max_size() const
const T & const_reference
HepGenMatrix_row_const(const HepGenMatrix &, int)
const double & operator[](int) const
HepGenMatrix_row(HepGenMatrix &, int)
virtual int num_row() const =0
virtual int num_size() const =0
virtual void invert(int &)=0
static void error(const char *s)
virtual bool operator==(const HepGenMatrix &) const
virtual double & operator()(int row, int col)=0
HepGenMatrix_row operator[](int)
static void swap(std::vector< double, Alloc< double, 25 > > &, std::vector< double, Alloc< double, 25 > > &)
static void swap(int &, int &)
virtual const double & operator()(int row, int col) const =0
std::vector< double, Alloc< double, 25 > >::const_iterator mcIter
std::vector< double, Alloc< double, 25 > >::iterator mIter
virtual int num_col() const =0
void delete_m(int size, double *)
double norm(const HepGenMatrix &m)
double norm1(const HepGenMatrix &m)
double norm_infinity(const HepGenMatrix &m)