EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Simple Vector based on std::vector<double> More...
#include <fun4all_GenFit/blob/master/GBL/include/VMatrix.h>
Public Member Functions | |
VVector (const unsigned int nRows=0) | |
VVector (const VVector &aVector) | |
virtual | ~VVector () |
void | resize (const unsigned int nRows) |
Resize vector. | |
VVector | getVec (unsigned int len, unsigned int start=0) const |
Get part of vector. | |
void | putVec (const VVector &aVector, unsigned int start=0) |
Put part of vector. | |
double & | operator() (unsigned int i) |
access element (i) | |
double | operator() (unsigned int i) const |
access element (i) | |
unsigned int | getNumRows () const |
Get number of rows. | |
void | print () const |
Print vector. | |
VVector | operator- (const VVector &aVector) const |
Subtraction Vector-Vector. | |
VVector & | operator= (const VVector &aVector) |
Assignment Vector=Vector. | |
Private Attributes | |
unsigned int | numRows |
Number of rows. | |
std::vector< double > | theVec |
Data. | |
Simple Vector based on std::vector<double>
Definition at line 43 of file VMatrix.h.
View newest version in sPHENIX GitHub at line 43 of file VMatrix.h
gbl::VVector::VVector | ( | const unsigned int | nRows = 0 | ) |
Definition at line 246 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 246 of file VMatrix.cc
gbl::VVector::VVector | ( | const VVector & | aVector | ) |
Definition at line 250 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 250 of file VMatrix.cc
|
virtual |
Definition at line 255 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 255 of file VMatrix.cc
unsigned int gbl::VVector::getNumRows | ( | ) | const |
Get number of rows.
Definition at line 293 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 293 of file VMatrix.cc
References numRows.
Referenced by operator=().
VVector gbl::VVector::getVec | ( | unsigned int | len, |
unsigned int | start = 0 |
||
) | const |
Get part of vector.
[in] | len | Length of part. |
[in] | start | Offset of part. |
Definition at line 273 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 273 of file VMatrix.cc
References theVec.
Referenced by gbl::BorderedBandMatrix::solveAndInvertBorderedBand().
|
inline |
|
inline |
Subtraction Vector-Vector.
Definition at line 312 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 312 of file VMatrix.cc
Assignment Vector=Vector.
Definition at line 321 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 321 of file VMatrix.cc
References getNumRows(), numRows, and theVec.
void gbl::VVector::print | ( | void | ) | const |
Print vector.
Definition at line 298 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 298 of file VMatrix.cc
References min, numRows, and theVec.
Referenced by gbl::GblTrajectory::printTrajectory().
void gbl::VVector::putVec | ( | const VVector & | aVector, |
unsigned int | start = 0 |
||
) |
Put part of vector.
[in] | aVector | Vector with part. |
[in] | start | Offset of part. |
Definition at line 284 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 284 of file VMatrix.cc
References numRows, and theVec.
Referenced by gbl::BorderedBandMatrix::solveAndInvertBorderedBand().
void gbl::VVector::resize | ( | const unsigned int | nRows | ) |
Resize vector.
[in] | nRows | Number of rows. |
Definition at line 262 of file VMatrix.cc.
View newest version in sPHENIX GitHub at line 262 of file VMatrix.cc
References numRows, and theVec.
Referenced by gbl::GblTrajectory::buildLinearEquationSystem().
|
private |
Number of rows.
Definition at line 58 of file VMatrix.h.
View newest version in sPHENIX GitHub at line 58 of file VMatrix.h
Referenced by getNumRows(), operator-(), operator=(), print(), putVec(), and resize().
|
private |
Data.
Definition at line 59 of file VMatrix.h.
View newest version in sPHENIX GitHub at line 59 of file VMatrix.h
Referenced by getVec(), operator()(), operator-(), operator=(), print(), putVec(), and resize().