#include <jive/solver/SparseRestrictor.h>
jive::solver::SparseRestrictor::SparseRestrictor |
( |
const String & |
name = "" | ) |
|
|
protected |
virtual jive::solver::SparseRestrictor::~SparseRestrictor |
( |
| ) |
|
|
protectedvirtual |
virtual Shape jive::solver::SparseRestrictor::shape |
( |
| ) |
const |
|
virtual |
Returns the shape of this matrix. If s
denotes the returned Shape
object, then s
[0] equals the number of rows and s
[1] equals the number of columns in this matrix.
- Returns
- The shape of this matrix.
Implements jive::solver::Restrictor.
void jive::solver::SparseRestrictor::update |
( |
| ) |
|
virtual void jive::solver::SparseRestrictor::matmul |
( |
const Vector & |
lhs, |
|
|
const Vector & |
rhs |
|
) |
| const |
|
virtual |
Multiplies the vector rhs with this matrix and stores the result in the vector lhs. The sizes of the two vectors must be compatible with the shape of this matrix.
- Parameters
-
lhs | - the result vector. |
rhs | - the vector to be multiplied by this matrix. |
- Precondition
lhs.size() == shape()[0] &&
rhs.size() == shape()[1]
Implements jive::solver::Restrictor.
virtual void jive::solver::SparseRestrictor::transmul |
( |
const Vector & |
lhs, |
|
|
const Vector & |
rhs |
|
) |
| const |
|
virtual |
virtual void jive::solver::SparseRestrictor::getBasis |
( |
const Vector & |
v, |
|
|
idx_t |
j |
|
) |
| const |
|
virtual |
virtual void* jive::solver::SparseRestrictor::getExtByID |
( |
ExtensionID |
extID | ) |
const |
|
virtual |
virtual SparseStruct jive::solver::SparseRestrictor::getStructure |
( |
| ) |
const |
|
virtual |
virtual SparseMatrix jive::solver::SparseRestrictor::toSparseMatrix |
( |
| ) |
const |
|
virtual |
virtual SparseMatrix jive::solver::SparseRestrictor::cloneSparseMatrix |
( |
| ) |
const |
|
virtual |
virtual void jive::solver::SparseRestrictor::update_ |
( |
| ) |
|
|
protectedpure virtual |
Shape jive::solver::SparseRestrictor::shape_ |
|
protected |
IdxVector jive::solver::SparseRestrictor::rowOffsets_ |
|
protected |
IdxVector jive::solver::SparseRestrictor::colIndices_ |
|
protected |
Vector jive::solver::SparseRestrictor::rtValues_ |
|
protected |
int jive::solver::SparseRestrictor::events_ |
|
protected |