GENFIT
Rev:NoNumberAvailable
|
Go to the documentation of this file.
24 VVector(
const unsigned int nRows = 0);
27 void resize(
const unsigned int nRows);
28 VVector getVec(
unsigned int len,
unsigned int start = 0)
const;
31 inline double operator()(
unsigned int i)
const;
44 VMatrix(
const unsigned int nRows = 0,
const unsigned int nCols = 0);
47 void resize(
const unsigned int nRows,
const unsigned int nCols);
49 inline double &
operator()(
unsigned int i,
unsigned int j);
50 inline double operator()(
unsigned int i,
unsigned int j)
const;
69 void resize(
const unsigned int nRows);
71 inline double &
operator()(
unsigned int i,
unsigned int j);
72 inline double operator()(
unsigned int i,
unsigned int j)
const;
105 return theVec[(iRow * iRow + iRow) / 2 + iCol];
110 unsigned int iCol)
const {
111 return theVec[(iRow * iRow + iRow) / 2 + iCol];
void resize(const unsigned int nRows)
Resize vector.
Simple Matrix based on std::vector<double>
std::vector< double > theVec
Data.
double & operator()(unsigned int i)
access element (i)
unsigned int numRows
Number of rows.
void resize(const unsigned int nRows)
Resize symmetric matrix.
VMatrix operator+(const VMatrix &aMatrix) const
Addition Matrix+Matrix.
double & operator()(unsigned int i, unsigned int j)
access element (i,j)
unsigned int getNumRows() const
Get number of rows (= number of colums).
unsigned int getNumCols() const
Get number of columns.
void print() const
Print matrix.
unsigned int numRows
Number of rows.
unsigned int invert()
Matrix inversion.
VVector(const unsigned int nRows=0)
VVector operator-(const VVector &aVector) const
Subtraction Vector-Vector.
unsigned int getNumRows() const
Get number of rows.
Namespace for the general broken lines package.
VMatrix & operator=(const VMatrix &aMatrix)
Assignment Matrix=Matrix.
unsigned int numRows
Number of rows.
void print() const
Print matrix.
unsigned int numCols
Number of columns.
void resize(const unsigned int nRows, const unsigned int nCols)
Resize Matrix.
std::vector< double > theVec
Data.
void print() const
Print vector.
unsigned int getNumRows() const
Get number of rows.
VVector operator*(const VVector &aVector) const
Multiplication Matrix*Vector.
VVector getVec(unsigned int len, unsigned int start=0) const
Get part of vector.
VMatrix(const unsigned int nRows=0, const unsigned int nCols=0)
VVector & operator=(const VVector &aVector)
Assignment Vector=Vector.
VSymMatrix(const unsigned int nRows=0)
VMatrix transpose() const
Get transposed matrix.
VSymMatrix operator-(const VMatrix &aMatrix) const
Subtraction SymMatrix-(sym)Matrix.
Simple symmetric Matrix based on std::vector<double>
VVector operator*(const VVector &aVector) const
Multiplication SymMatrix*Vector.
std::vector< double > theVec
Data (symmetric storage)
Simple Vector based on std::vector<double>
double & operator()(unsigned int i, unsigned int j)
access element (i,j) assuming i>=j
void putVec(const VVector &aVector, unsigned int start=0)
Put part of vector.