|
CLHEP 2.4.7.1
C++ Class Library for High Energy Physics
|
#include <CLHEP/Matrix/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 () |
| 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 | |
| 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 |
Definition at line 18 of file Vector.icc.
|
explicit |
| CLHEP::HepVector::HepVector | ( | int | p, |
| int | |||
| ) |
| CLHEP::HepVector::HepVector | ( | int | p, |
| HepRandom & | r | ||
| ) |
| CLHEP::HepVector::HepVector | ( | const HepVector & | v | ) |
| CLHEP::HepVector::HepVector | ( | const HepMatrix & | m | ) |
|
virtual |
| HepVector CLHEP::HepVector::apply | ( | double(*)(double, int) | f | ) | const |
|
inline |
Definition at line 23 of file Vector.icc.
References normsq().
|
inline |
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
Referenced by CLHEP::HepRandomVector::flat(), CLHEP::HepRandomVector::flat(), CLHEP::HepRandomVector::flatArray(), and CLHEP::HepRandomVector::flatArray().
|
protectedvirtual |
Implements CLHEP::HepGenMatrix.
|
inline |
Definition at line 25 of file Vector.icc.
References CLHEP::HepGenMatrix::error().
|
inline |
Definition at line 34 of file Vector.icc.
References CLHEP::HepGenMatrix::error().
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
| HepVector & CLHEP::HepVector::operator*= | ( | double | t | ) |
| HepVector CLHEP::HepVector::operator- | ( | ) | const |
| HepVector & CLHEP::HepVector::operator/= | ( | double | t | ) |
| HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | ) |
|
inline |
Definition at line 43 of file Vector.icc.
References CLHEP::HepGenMatrix::error().
|
inline |
Definition at line 52 of file Vector.icc.
References CLHEP::HepGenMatrix::error().
| HepVector CLHEP::HepVector::sub | ( | int | min_row, |
| int | max_row | ||
| ) |
| HepVector CLHEP::HepVector::sub | ( | int | min_row, |
| int | max_row | ||
| ) | const |
| void CLHEP::HepVector::sub | ( | int | row, |
| const HepVector & | v1 | ||
| ) |
| HepMatrix CLHEP::HepVector::T | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Definition at line 13 of file Vector.icc.
|
friend |
|
friend |