CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
|
#include <Vector.h>
Public Member Functions | |
HepVector () | |
HepVector (int p) | |
HepVector (int p, int) | |
HepVector (int p, HepRandom &r) | |
HepVector (const HepVector &v) | |
HepVector (const HepMatrix &m) | |
virtual | ~HepVector () |
const double & | operator() (int row) const |
double & | operator() (int row) |
const double & | operator[] (int row) const |
double & | operator[] (int row) |
virtual const double & | operator() (int row, int col) const |
virtual double & | operator() (int row, int col) |
HepVector & | operator*= (double t) |
HepVector & | operator/= (double t) |
HepVector & | operator+= (const HepMatrix &v2) |
HepVector & | operator+= (const HepVector &v2) |
HepVector & | operator-= (const HepMatrix &v2) |
HepVector & | operator-= (const HepVector &v2) |
HepVector & | operator= (const HepVector &hm2) |
HepVector & | operator= (const HepMatrix &) |
HepVector & | operator= (const Hep3Vector &) |
HepVector | operator- () const |
HepVector | apply (double(*f)(double, int)) const |
HepVector | sub (int min_row, int max_row) const |
HepVector | sub (int min_row, int max_row) |
void | sub (int row, const HepVector &v1) |
double | normsq () const |
double | norm () const |
virtual int | num_row () const |
virtual int | num_col () const |
HepMatrix | T () const |
Public Member Functions inherited from CLHEP::HepGenMatrix | |
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 |
Protected Member Functions | |
virtual int | num_size () const |
Protected Member Functions inherited from CLHEP::HepGenMatrix | |
virtual int | num_size () const =0 |
void | delete_m (int size, double *) |
double * | new_m (int size) |
Additional Inherited Members | |
Public Types inherited from CLHEP::HepGenMatrix | |
enum | { size_max = 25 } |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
Static Public Member Functions inherited from CLHEP::HepGenMatrix | |
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) |
|
inline |
|
explicit |
CLHEP::HepVector::HepVector | ( | int | p, |
int | init | ||
) |
Definition at line 58 of file Vector.cc.
CLHEP::HepVector::HepVector | ( | int | p, |
HepRandom & | r | ||
) |
Definition at line 79 of file Vector.cc.
CLHEP::HepVector::HepVector | ( | const HepVector & | v | ) |
CLHEP::HepVector::HepVector | ( | const HepMatrix & | m | ) |
Definition at line 554 of file Vector.cc.
Referenced by main().
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 118 of file Vector.cc.
Referenced by CLHEP::HepMatrix::operator+=(), and CLHEP::HepMatrix::operator-=().
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 116 of file Vector.cc.
Referenced by CLHEP::RandMultiGauss::fire(), CLHEP::RandMultiGauss::fireArray(), main(), operator+=(), CLHEP::HepMatrix::operator+=(), CLHEP::operator-(), operator-=(), CLHEP::HepMatrix::operator-=(), CLHEP::operator<<(), CLHEP::RandMultiGauss::RandMultiGauss(), CLHEP::HepDiagMatrix::similarity(), CLHEP::HepSymMatrix::similarity(), and sub().
|
protectedvirtual |
|
inline |
|
inline |
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 128 of file Vector.cc.
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 141 of file Vector.cc.
HepVector CLHEP::HepVector::operator- | ( | ) | const |
Definition at line 212 of file Vector.cc.
HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | v | ) |
|
inline |
|
inline |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row | ||
) |
Definition at line 167 of file Vector.cc.
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row | ||
) | const |
Definition at line 150 of file Vector.cc.
Referenced by main(), and vector_test().
void CLHEP::HepVector::sub | ( | int | row, |
const HepVector & | v1 | ||
) |
Definition at line 179 of file Vector.cc.
HepMatrix CLHEP::HepVector::T | ( | ) | const |
Definition at line 530 of file Vector.cc.
Referenced by main(), and symmatrix_test().
Definition at line 63 of file MatrixLinear.cc.
|
friend |
Definition at line 154 of file MatrixLinear.cc.
Definition at line 542 of file Vector.cc.
|
friend |
|
friend |
Definition at line 371 of file MatrixLinear.cc.
|
friend |
Definition at line 353 of file MatrixLinear.cc.
|
friend |
Definition at line 396 of file MatrixLinear.cc.
|
friend |
Definition at line 430 of file DiagMatrix.cc.
Definition at line 354 of file Vector.cc.
|
friend |
Definition at line 507 of file SymMatrix.cc.
Definition at line 379 of file Vector.cc.
Definition at line 255 of file Vector.cc.
Definition at line 299 of file Vector.cc.
Definition at line 710 of file MatrixLinear.cc.
|
friend |
Definition at line 652 of file MatrixLinear.cc.
|
friend |
Definition at line 613 of file MatrixLinear.cc.
Definition at line 575 of file Vector.cc.
|
friend |
Definition at line 777 of file MatrixLinear.cc.
|
friend |
Definition at line 539 of file SymMatrix.cc.