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 |
![]() | |
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 |
![]() | |
void | delete_m (int size, double *) |
double * | new_m (int size) |
Friends | |
class | HepDiagMatrix |
class | HepSymMatrix |
class | HepMatrix |
void | swap (HepVector &v1, HepVector &v2) |
double | dot (const HepVector &v1, const HepVector &v2) |
HepVector | operator+ (const HepVector &v1, const HepVector &v2) |
HepVector | operator- (const HepVector &v1, const HepVector &v2) |
HepVector | operator* (const HepSymMatrix &hm1, const HepVector &hm2) |
HepVector | operator* (const HepDiagMatrix &hm1, const HepVector &hm2) |
HepMatrix | operator* (const HepVector &hm1, const HepMatrix &hm2) |
HepVector | operator* (const HepMatrix &hm1, const HepVector &hm2) |
HepVector | solve (const HepMatrix &a, const HepVector &v) |
void | tridiagonal (HepSymMatrix *a, HepMatrix *hsm) |
void | row_house (HepMatrix *a, const HepMatrix &v, double vnormsq, int row, int col, int row_start, int col_start) |
void | row_house (HepMatrix *a, const HepVector &v, double vnormsq, int row=1, int col=1) |
void | back_solve (const HepMatrix &R, HepVector *b) |
void | col_house (HepMatrix *a, const HepMatrix &v, double vnormsq, int row, int col, int row_start, int col_start) |
HepVector | house (const HepSymMatrix &a, int row=1, int col=1) |
HepVector | house (const HepMatrix &a, int row=1, int col=1) |
void | house_with_update (HepMatrix *a, int row=1, int col=1) |
HepSymMatrix | vT_times_v (const HepVector &v) |
HepVector | qr_solve (HepMatrix *A, const HepVector &b) |
Additional Inherited Members | |
![]() | |
enum | { size_max = 25 } |
typedef std::vector< double, Alloc< double, 25 > >::iterator | mIter |
typedef std::vector< double, Alloc< double, 25 > >::const_iterator | mcIter |
![]() | |
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.
Referenced by apply(), back_solve, dot, HepVector(), house, house, operator*, operator*, operator*, operator*, operator*=(), operator+, operator+=(), operator+=(), operator-(), operator-, operator-=(), operator-=(), operator/=(), operator=(), operator=(), operator=(), qr_solve, row_house, solve, sub(), sub(), sub(), swap, T(), and vT_times_v.
|
explicit |
CLHEP::HepVector::HepVector | ( | int | p, |
int | ) |
CLHEP::HepVector::HepVector | ( | int | p, |
HepRandom & | r ) |
CLHEP::HepVector::HepVector | ( | const HepVector & | v | ) |
References HepVector().
|
virtual |
HepVector CLHEP::HepVector::apply | ( | double(* | f )(double, int) | ) | const |
References HepVector().
|
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 | ) |
References HepVector().
References HepMatrix, and HepVector().
References HepVector().
HepVector CLHEP::HepVector::operator- | ( | ) | const |
References HepVector().
References HepMatrix, and HepVector().
References HepVector().
HepVector & CLHEP::HepVector::operator/= | ( | double | t | ) |
References HepVector().
HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | ) |
References HepVector().
References HepMatrix, and HepVector().
References HepVector().
|
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 ) |
References HepVector().
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) const |
References HepVector().
void CLHEP::HepVector::sub | ( | int | row, |
const HepVector & | v1 ) |
References HepVector().
HepMatrix CLHEP::HepVector::T | ( | ) | const |
References HepMatrix, and HepVector().
References HepMatrix, and HepVector().
|
friend |
References HepMatrix.
References HepVector().
Referenced by normsq().
|
friend |
Definition at line 132 of file Vector.h.
References HepDiagMatrix.
Referenced by HepDiagMatrix, and operator*.
|
friend |
Definition at line 134 of file Vector.h.
References HepMatrix.
Referenced by back_solve, col_house, HepMatrix, HepVector(), house, house_with_update, operator*, operator*, operator+=(), operator-=(), operator=(), qr_solve, row_house, row_house, solve, T(), and tridiagonal.
|
friend |
Definition at line 133 of file Vector.h.
References HepSymMatrix.
Referenced by HepSymMatrix, house, operator*, tridiagonal, and vT_times_v.
References HepMatrix, and HepVector().
|
friend |
References HepSymMatrix, and HepVector().
|
friend |
References HepDiagMatrix, and HepVector().
References HepMatrix, and HepVector().
|
friend |
References HepSymMatrix, and HepVector().
References HepMatrix, and HepVector().
References HepVector().
References HepVector().
References HepMatrix, and HepVector().
|
friend |
References HepMatrix.
|
friend |
References HepMatrix, and HepVector().
References HepMatrix, and HepVector().
Definition at line 13 of file Vector.icc.
References HepVector(), and CLHEP::HepGenMatrix::swap().
|
friend |
References HepMatrix, and HepSymMatrix.
|
friend |
References HepSymMatrix, and HepVector().