23 VVector(
const unsigned int nRows = 0);
26 void resize(
const unsigned int nRows);
30 inline double operator()(
unsigned int i)
const;
43 VMatrix(
const unsigned int nRows = 0,
const unsigned int nCols = 0);
46 void resize(
const unsigned int nRows,
const unsigned int nCols);
48 inline double &
operator()(
unsigned int i,
unsigned int j);
49 inline double operator()(
unsigned int i,
unsigned int j)
const;
51 unsigned int getNumCols()
const;
68 void resize(
const unsigned int nRows);
70 inline double &
operator()(
unsigned int i,
unsigned int j);
71 inline double operator()(
unsigned int i,
unsigned int j)
const;
84 return theVec[numCols * iRow + iCol];
89 return theVec[numCols * iRow + iCol];
104 return theVec[(iRow * iRow + iRow) / 2 + iCol];
109 unsigned int iCol)
const {
110 return theVec[(iRow * iRow + iRow) / 2 + iCol];
VVector getVec(unsigned int len, unsigned int start=0) const
Get part of vector.
double & operator()(unsigned int i, unsigned int j)
access element (i,j)
Simple Matrix based on std::vector<double>
MatrixMeschach operator+(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
VVector(const unsigned int nRows=0)
void print() const
Print vector.
void putVec(const VVector &aVector, unsigned int start=0)
Put part of vector.
unsigned int numCols
Number of columns.
VVector operator-(const VVector &aVector) const
Subtraction Vector-Vector.
unsigned int getNumRows() const
Get number of rows.
double & operator()(unsigned int i, unsigned int j)
access element (i,j) assuming i>=j
void resize(const unsigned int nRows)
Resize vector.
unsigned int numRows
Number of rows.
Namespace for the general broken lines package.
Simple symmetric Matrix based on std::vector<double>
double & operator()(unsigned int i)
access element (i)
unsigned int numRows
Number of rows.
VVector & operator=(const VVector &aVector)
Assignment Vector=Vector.
std::vector< double > theVec
Data (symmetric storage)
Simple Vector based on std::vector<double>
MatrixMeschach operator*(const MatrixMeschach &mat1, const MatrixMeschach &mat2)
std::vector< double > theVec
Data.
std::vector< double > theVec
Data.
unsigned int numRows
Number of rows.