![]() |
|
#include <general_purpose_preconditioners.h>
Public Member Functions | |
| CompressedMatrixCoefficient () | |
| Constructor (no arguments) More... | |
| CompressedMatrixCoefficient (const unsigned &index, const double &value) | |
| Constructor (takes the index and value as arguments) More... | |
| ~CompressedMatrixCoefficient () | |
| Destructor (does nothing) More... | |
| CompressedMatrixCoefficient (const CompressedMatrixCoefficient &a) | |
| Copy Constructor. Not Broken. Required for STL sort function. More... | |
| void | operator= (const CompressedMatrixCoefficient &a) |
| Assignment Operator. Not Broken. Required for STL sort function. More... | |
| bool | operator< (const CompressedMatrixCoefficient &a) const |
| Less Than Operator (for the STL sort function) More... | |
| unsigned & | index () |
| access function for the coefficient's (row or column) index More... | |
| double & | value () |
| access function for the coefficient value More... | |
| unsigned | index () const |
| double | value () const |
| access function for the coefficient's value (const version) More... | |
Private Attributes | |
| unsigned | Index |
| the row or column index of the compressed-matrix coefficient More... | |
| double | Value |
| the value of the compressed-matrix coefficient More... | |
Class for a compressed-matrix coefficent (for either CC or CR matrices). Contains the (row or column) index and value of a coefficient in a compressed row or column. Currently only used in ILU(0) for CCDoubleMatrices to allow the coefficients in each compressed column [row] to be sorted by their row [column] index.
|
inline |
|
inline |
Constructor (takes the index and value as arguments)
|
inline |
|
inline |
|
inline |
access function for the coefficient's (row or column) index
References Index.
Referenced by CompressedMatrixCoefficient().
|
inline |
|
inline |
|
inline |
|
inline |
access function for the coefficient value
References Value.
Referenced by CompressedMatrixCoefficient().
|
inline |
|
private |
the row or column index of the compressed-matrix coefficient
Referenced by CompressedMatrixCoefficient(), index(), operator<(), and operator=().
|
private |
the value of the compressed-matrix coefficient
Referenced by CompressedMatrixCoefficient(), operator=(), and value().