CLHEP VERSION Reference Documentation
CLHEP Home Page CLHEP Documentation CLHEP Bug Reports |
#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 |
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 |
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 |
virtual | ~HepGenMatrix () |
HepGenMatrix_row | operator[] (int) |
const HepGenMatrix_row_const | operator[] (int) const |
virtual bool | operator== (const HepGenMatrix &) 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 |
virtual int | num_size () const |
virtual int | num_size () const |
![]() | |
void | delete_m (int size, double *) |
double * | new_m (int size) |
void | delete_m (int size, double *) |
double * | new_m (int size) |
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) |
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) |
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 } |
enum | { size_max = 25 } |
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) |
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) |
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) |
Definition at line 39 of file RandomObjects/CLHEP/Matrix/Vector.h.
|
inline |
CLHEP::HepVector::HepVector | ( | int | p, |
int | init ) |
Definition at line 59 of file Vector.cc.
References CLHEP::HepGenMatrix::error(), and init().
CLHEP::HepVector::HepVector | ( | int | p, |
HepRandom & | r ) |
CLHEP::HepVector::HepVector | ( | const HepMatrix & | m | ) |
Definition at line 106 of file Vector.cc.
References CLHEP::HepGenMatrix::error(), and CLHEP::HepMatrix::num_col().
|
inline |
|
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 |
|
inline |
|
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 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 119 of file Vector.cc.
Referenced by CLHEP::HepMatrix::operator+=(), and CLHEP::HepMatrix::operator-=().
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
Definition at line 117 of file Vector.cc.
Referenced by CLHEP::RandMultiGauss::fire(), CLHEP::RandMultiGauss::fireArray(), main(), CLHEP::HepMatrix::operator+=(), operator+=(), operator+=(), CLHEP::operator-(), CLHEP::HepMatrix::operator-=(), operator-=(), operator-=(), CLHEP::operator<<(), CLHEP::RandMultiGauss::RandMultiGauss(), CLHEP::RandMultiGauss::RandMultiGauss(), CLHEP::HepDiagMatrix::similarity(), CLHEP::HepSymMatrix::similarity(), sub(), and sub().
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
inlineprotectedvirtual |
Implements CLHEP::HepGenMatrix.
|
protectedvirtual |
Implements CLHEP::HepGenMatrix.
|
protectedvirtual |
Implements CLHEP::HepGenMatrix.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
inlinevirtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
|
virtual |
Implements CLHEP::HepGenMatrix.
Definition at line 450 of file Vector.cc.
References SIMPLE_UOP.
Definition at line 409 of file Vector.cc.
References CHK_DIM_2, CLHEP::HepMatrix::num_col(), CLHEP::HepMatrix::num_row(), num_row(), and SIMPLE_BOP.
Definition at line 416 of file Vector.cc.
References CHK_DIM_1, num_row(), and SIMPLE_BOP.
HepVector CLHEP::HepVector::operator- | ( | ) | const |
HepVector CLHEP::HepVector::operator- | ( | ) | const |
Definition at line 430 of file Vector.cc.
References CHK_DIM_2, CLHEP::HepMatrix::num_col(), CLHEP::HepMatrix::num_row(), num_row(), and SIMPLE_BOP.
Definition at line 437 of file Vector.cc.
References CHK_DIM_1, num_row(), and SIMPLE_BOP.
Definition at line 444 of file Vector.cc.
References SIMPLE_UOP.
HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | v | ) |
Definition at line 494 of file Vector.cc.
References CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | ) |
HepVector & CLHEP::HepVector::operator= | ( | const Hep3Vector & | ) |
Definition at line 480 of file Vector.cc.
References CLHEP::HepGenMatrix::error(), and CLHEP::HepMatrix::num_col().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) const |
Definition at line 151 of file Vector.cc.
Referenced by main(), and vector_test().
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) const |
HepVector CLHEP::HepVector::sub | ( | int | min_row, |
int | max_row ) const |
void CLHEP::HepVector::sub | ( | int | row, |
const HepVector & | v1 ) |
void CLHEP::HepVector::sub | ( | int | row, |
const HepVector & | v1 ) |
void CLHEP::HepVector::sub | ( | int | row, |
const HepVector & | v1 ) |
HepMatrix CLHEP::HepVector::T | ( | ) | const |
HepMatrix CLHEP::HepVector::T | ( | ) | const |
HepMatrix CLHEP::HepVector::T | ( | ) | const |
Definition at line 60 of file MatrixLinear.cc.
Definition at line 60 of file MatrixLinear.cc.
Definition at line 60 of file MatrixLinear.cc.
|
friend |
Definition at line 151 of file MatrixLinear.cc.
|
friend |
Definition at line 151 of file MatrixLinear.cc.
|
friend |
Definition at line 151 of file MatrixLinear.cc.
|
friend |
Definition at line 136 of file Matrix/CLHEP/Matrix/Vector.h.
|
friend |
Definition at line 138 of file Matrix/CLHEP/Matrix/Vector.h.
|
friend |
Definition at line 137 of file Matrix/CLHEP/Matrix/Vector.h.
Definition at line 368 of file MatrixLinear.cc.
Definition at line 368 of file MatrixLinear.cc.
Definition at line 368 of file MatrixLinear.cc.
|
friend |
Definition at line 350 of file MatrixLinear.cc.
|
friend |
Definition at line 350 of file MatrixLinear.cc.
|
friend |
Definition at line 350 of file MatrixLinear.cc.
|
friend |
Definition at line 393 of file MatrixLinear.cc.
|
friend |
Definition at line 393 of file MatrixLinear.cc.
|
friend |
Definition at line 393 of file MatrixLinear.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 433 of file DiagMatrix.cc.
|
friend |
Definition at line 510 of file SymMatrix.cc.
|
friend |
Definition at line 510 of file SymMatrix.cc.
|
friend |
Definition at line 510 of file SymMatrix.cc.
Definition at line 707 of file MatrixLinear.cc.
Definition at line 707 of file MatrixLinear.cc.
Definition at line 707 of file MatrixLinear.cc.
|
friend |
Definition at line 649 of file MatrixLinear.cc.
|
friend |
Definition at line 649 of file MatrixLinear.cc.
|
friend |
Definition at line 649 of file MatrixLinear.cc.
|
friend |
Definition at line 610 of file MatrixLinear.cc.
|
friend |
Definition at line 610 of file MatrixLinear.cc.
|
friend |
Definition at line 610 of file MatrixLinear.cc.
|
friend |
Definition at line 774 of file MatrixLinear.cc.
|
friend |
Definition at line 774 of file MatrixLinear.cc.
|
friend |
Definition at line 774 of file MatrixLinear.cc.
|
friend |
Definition at line 542 of file SymMatrix.cc.
|
friend |
Definition at line 542 of file SymMatrix.cc.
|
friend |
Definition at line 542 of file SymMatrix.cc.