SG++-Doxygen-Documentation
|
Full linear system, essentially a wrapper around base::DataMatrix. More...
#include <FullSLE.hpp>
Public Member Functions | |
void | clone (std::unique_ptr< CloneableSLE > &clone) const override |
Clones the linear system. More... | |
FullSLE (base::DataMatrix &A) | |
Constructor. More... | |
base::DataMatrix & | getA () |
size_t | getDimension () const override |
Pure virtual method returning the dimension (number of rows/columns) of the system. More... | |
double | getMatrixEntry (size_t i, size_t j) override |
bool | isMatrixEntryNonZero (size_t i, size_t j) override |
~FullSLE () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::CloneableSLE | |
CloneableSLE () | |
Constructor. More... | |
bool | isCloneable () const override |
~CloneableSLE () override | |
Destructor. More... | |
Public Member Functions inherited from sgpp::optimization::SLE | |
virtual size_t | countNNZ () |
Count all non-zero entries. More... | |
virtual void | matrixVectorMultiplication (const base::DataVector &x, base::DataVector &y) |
Multiply the matrix with a vector. More... | |
SLE () | |
Constructor. More... | |
virtual | ~SLE () |
Destructor. More... | |
Protected Attributes | |
base::DataMatrix & | A |
coefficient matrix More... | |
Full linear system, essentially a wrapper around base::DataMatrix.
|
inlineexplicit |
Constructor.
Do not destruct the matrix A before this object!
A | coefficient matrix |
Referenced by clone().
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
Clones the linear system.
Because A is stored as a reference, A is not copied (only b).
[out] | clone | pointer to cloned object |
Implements sgpp::optimization::CloneableSLE.
|
inline |
References A.
|
inlineoverridevirtual |
Pure virtual method returning the dimension (number of rows/columns) of the system.
Implements sgpp::optimization::SLE.
References A, and sgpp::base::DataMatrix::getNrows().
|
inlineoverridevirtual |
i | row index |
j | column index |
Implements sgpp::optimization::SLE.
References A.
|
inlineoverridevirtual |
i | row index |
j | column index |
Implements sgpp::optimization::SLE.
References A.
|
protected |
coefficient matrix
Referenced by clone(), getA(), getDimension(), getMatrixEntry(), and isMatrixEntryNonZero().