20#include "CLHEP/Matrix/defs.h"
24class HepGenMatrix_row;
25class HepGenMatrix_row_const;
40 template <
class T,
size_t size>
class Alloc
70 typedef std::vector<double >::iterator
mIter;
71 typedef std::vector<double >::const_iterator
mcIter;
73 typedef std::vector<double,Alloc<double,25> >::iterator
mIter;
74 typedef std::vector<double,Alloc<double,25> >::const_iterator
mcIter;
80 virtual const double &
operator()(
int row,
int col)
const =0;
112 inline static void swap(
int&,
int&);
114 inline static void swap(std::vector<double >&, std::vector<double >&);
122 static void error(
const char *s);
127 double*
new_m(
int size);
156#ifdef ENABLE_BACKWARDS_COMPATIBILITY
158using namespace CLHEP;
161#ifndef HEP_DEBUG_INLINE
162#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
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
static void error(const char *s)
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)