#include <DoubleSparseMatrix.h>
|
| DoubleSparseMatrix () |
|
| DoubleSparseMatrix (const int nrows, const int ncols, const int nrhs=1) |
|
virtual | ~DoubleSparseMatrix () |
|
virtual void | setNumRowsAndColumns (const int nrows, const int ncols) |
|
virtual void | setStructureByTripletFormat (const int row, const int col) |
|
virtual void | setStructureAndAddValueByTripletFormat (const int row, const int col, const double val) |
|
void | convertToCRSFormat () |
|
virtual void | addNonZeroValues (const int row, const int col, const double val) |
|
void | zeroClearNonZeroValues () |
|
void | addRightHandSideVector (const int row, const double val, const int irhs=0) |
|
void | zeroClearRightHandSideVector () |
|
virtual void | initializeMatrixAndRhsVectors (const int nrows, const int ncols, const int nrhs) |
|
int | getNumRows () const |
|
int | getNumColumns () const |
|
int | getNumRightHandSideVectors () const |
|
bool | hasConvertedToCRSFormat () const |
|
void | reallocateMemoryForRightHandSideVectors (const int nrhs) |
|
virtual void | releaseMemory () |
|
void | copyRhsVector (double *vecOut) const |
|
void | debugWriteMatrix () const |
|
void | debugWriteRightHandSide () const |
|
int | getRowIndexCRS (const int iRow) const |
|
int | getColumnsCRS (const int iNonZero) const |
|
double | getValueCRS (const int iNonZero) const |
|
double | getRightHandSideVector (const int row, const int irhs=0) const |
|
void | calcMatrixVectorProduct (const double *invVec, double *outVec) const |
|
void | calcMatrixVectorProductUsingTransposedMatrix (const double *invVec, double *outVec) const |
|
◆ DoubleSparseMatrix() [1/3]
DoubleSparseMatrix::DoubleSparseMatrix |
( |
| ) |
|
|
explicit |
◆ DoubleSparseMatrix() [2/3]
DoubleSparseMatrix::DoubleSparseMatrix |
( |
const int |
nrows, |
|
|
const int |
ncols, |
|
|
const int |
nrhs = 1 |
|
) |
| |
|
explicit |
◆ ~DoubleSparseMatrix()
DoubleSparseMatrix::~DoubleSparseMatrix |
( |
| ) |
|
|
virtual |
◆ DoubleSparseMatrix() [3/3]
◆ addNonZeroValues()
void DoubleSparseMatrix::addNonZeroValues |
( |
const int |
row, |
|
|
const int |
col, |
|
|
const double |
val |
|
) |
| |
|
virtual |
◆ addRightHandSideVector()
void DoubleSparseMatrix::addRightHandSideVector |
( |
const int |
row, |
|
|
const double |
val, |
|
|
const int |
irhs = 0 |
|
) |
| |
◆ calcMatrixVectorProduct()
void DoubleSparseMatrix::calcMatrixVectorProduct |
( |
const double * |
invVec, |
|
|
double * |
outVec |
|
) |
| const |
◆ calcMatrixVectorProductUsingTransposedMatrix()
void DoubleSparseMatrix::calcMatrixVectorProductUsingTransposedMatrix |
( |
const double * |
invVec, |
|
|
double * |
outVec |
|
) |
| const |
◆ convertToCRSFormat()
void DoubleSparseMatrix::convertToCRSFormat |
( |
| ) |
|
◆ copyRhsVector()
void DoubleSparseMatrix::copyRhsVector |
( |
double * |
vecOut | ) |
const |
◆ debugWriteMatrix()
void DoubleSparseMatrix::debugWriteMatrix |
( |
| ) |
const |
◆ debugWriteRightHandSide()
void DoubleSparseMatrix::debugWriteRightHandSide |
( |
| ) |
const |
◆ deleteTripletMatrix()
void DoubleSparseMatrix::deleteTripletMatrix |
( |
| ) |
|
|
protected |
◆ getColumnsCRS()
int DoubleSparseMatrix::getColumnsCRS |
( |
const int |
iNonZero | ) |
const |
◆ getNumColumns()
int DoubleSparseMatrix::getNumColumns |
( |
| ) |
const |
◆ getNumRightHandSideVectors()
int DoubleSparseMatrix::getNumRightHandSideVectors |
( |
| ) |
const |
◆ getNumRows()
int DoubleSparseMatrix::getNumRows |
( |
| ) |
const |
◆ getRightHandSideVector()
double DoubleSparseMatrix::getRightHandSideVector |
( |
const int |
row, |
|
|
const int |
irhs = 0 |
|
) |
| const |
◆ getRowIndexCRS()
int DoubleSparseMatrix::getRowIndexCRS |
( |
const int |
iRow | ) |
const |
◆ getValueCRS()
double DoubleSparseMatrix::getValueCRS |
( |
const int |
iNonZero | ) |
const |
◆ hasConvertedToCRSFormat()
bool DoubleSparseMatrix::hasConvertedToCRSFormat |
( |
| ) |
const |
◆ initializeMatrixAndRhsVectors()
void DoubleSparseMatrix::initializeMatrixAndRhsVectors |
( |
const int |
nrows, |
|
|
const int |
ncols, |
|
|
const int |
nrhs |
|
) |
| |
|
virtual |
◆ operator=()
◆ reallocateMemoryForRightHandSideVectors()
void DoubleSparseMatrix::reallocateMemoryForRightHandSideVectors |
( |
const int |
nrhs | ) |
|
◆ releaseMemory()
void DoubleSparseMatrix::releaseMemory |
( |
| ) |
|
|
virtual |
◆ setNumRowsAndColumns()
void DoubleSparseMatrix::setNumRowsAndColumns |
( |
const int |
nrows, |
|
|
const int |
ncols |
|
) |
| |
|
virtual |
◆ setStructureAndAddValueByTripletFormat()
void DoubleSparseMatrix::setStructureAndAddValueByTripletFormat |
( |
const int |
row, |
|
|
const int |
col, |
|
|
const double |
val |
|
) |
| |
|
virtual |
◆ setStructureByTripletFormat()
void DoubleSparseMatrix::setStructureByTripletFormat |
( |
const int |
row, |
|
|
const int |
col |
|
) |
| |
|
virtual |
◆ zeroClearNonZeroValues()
void DoubleSparseMatrix::zeroClearNonZeroValues |
( |
| ) |
|
◆ zeroClearRightHandSideVector()
void DoubleSparseMatrix::zeroClearRightHandSideVector |
( |
| ) |
|
◆ m_columns
long long int* DoubleSparseMatrix::m_columns |
|
protected |
◆ m_hasConvertedToCRSFormat
bool DoubleSparseMatrix::m_hasConvertedToCRSFormat |
|
protected |
◆ m_matrixTripletFormat
std::map< int, double >* DoubleSparseMatrix::m_matrixTripletFormat |
|
protected |
◆ m_numColumns
int DoubleSparseMatrix::m_numColumns |
|
protected |
◆ m_numNonZeros
int DoubleSparseMatrix::m_numNonZeros |
|
protected |
◆ m_numRightHandSideVectors
int DoubleSparseMatrix::m_numRightHandSideVectors |
|
protected |
◆ m_numRows
int DoubleSparseMatrix::m_numRows |
|
protected |
◆ m_rightHandSideVector
double* DoubleSparseMatrix::m_rightHandSideVector |
|
protected |
◆ m_rowIndex
long long int* DoubleSparseMatrix::m_rowIndex |
|
protected |
◆ m_values
double* DoubleSparseMatrix::m_values |
|
protected |
The documentation for this class was generated from the following files: