Full linear system, essentially a wrapper around DataMatrix.
More...
#include <FullSLE.hpp>
Full linear system, essentially a wrapper around DataMatrix.
◆ FullSLE()
Constructor.
Do not destruct the matrix A before this object!
- Parameters
-
◆ ~FullSLE()
sgpp::base::FullSLE::~FullSLE |
( |
| ) |
|
|
inlineoverride |
◆ clone()
void sgpp::base::FullSLE::clone |
( |
std::unique_ptr< CloneableSLE > & |
clone | ) |
const |
|
inlineoverridevirtual |
Clones the linear system.
Because A is stored as a reference, A is not copied (only b).
- Parameters
-
[out] | clone | pointer to cloned object |
Implements sgpp::base::CloneableSLE.
References A, and clone().
Referenced by clone().
◆ getA()
- Returns
- coefficient matrix
References A.
◆ getDimension()
size_t sgpp::base::FullSLE::getDimension |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getMatrixEntry()
double sgpp::base::FullSLE::getMatrixEntry |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| |
|
inlineoverridevirtual |
- Parameters
-
- Returns
- (i,j)-th entry of the matrix
Implements sgpp::base::SLE.
References A.
◆ isMatrixEntryNonZero()
bool sgpp::base::FullSLE::isMatrixEntryNonZero |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| |
|
inlineoverridevirtual |
- Parameters
-
- Returns
- whether the (i,j)-th entry of the matrix is non-zero
Implements sgpp::base::SLE.
References A.
The documentation for this class was generated from the following file: