45 VVector(
const unsigned int nRows = 0);
48 void resize(
const unsigned int nRows);
52 inline double operator()(
unsigned int i)
const;
65 VMatrix(
const unsigned int nRows = 0,
const unsigned int nCols = 0);
68 void resize(
const unsigned int nRows,
const unsigned int nCols);
70 inline double &
operator()(
unsigned int i,
unsigned int j);
71 inline double operator()(
unsigned int i,
unsigned int j)
const;
73 unsigned int getNumCols()
const;
90 void resize(
const unsigned int nRows);
92 inline double &
operator()(
unsigned int i,
unsigned int j);
93 inline double operator()(
unsigned int i,
unsigned int j)
const;
106 return theVec[numCols * iRow + iCol];
111 return theVec[numCols * iRow + iCol];
126 return theVec[(iRow * iRow + iRow) / 2 + iCol];
131 unsigned int iCol)
const {
132 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.