#include <jive/algebra/ConstrainedMatrix.h>
jive::algebra::ConstrainedMatrix::ConstrainedMatrix |
( |
| ) |
|
virtual jive::algebra::ConstrainedMatrix::~ConstrainedMatrix |
( |
| ) |
|
|
protectedvirtual |
virtual void jive::algebra::ConstrainedMatrix::resetEvents |
( |
| ) |
|
|
virtual |
virtual void jive::algebra::ConstrainedMatrix::readFrom |
( |
ObjectInput & |
in | ) |
|
|
virtual |
virtual void jive::algebra::ConstrainedMatrix::writeTo |
( |
ObjectOutput & |
out | ) |
const |
|
virtual |
virtual Ref<Object> jive::algebra::ConstrainedMatrix::clone |
( |
| ) |
const |
|
virtual |
virtual Shape jive::algebra::ConstrainedMatrix::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::algebra::AbstractMatrix.
virtual void jive::algebra::ConstrainedMatrix::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::algebra::AbstractMatrix.
virtual void* jive::algebra::ConstrainedMatrix::getExtByID |
( |
ExtensionID |
extID | ) |
const |
|
virtual |
virtual bool jive::algebra::ConstrainedMatrix::hasTrait |
( |
const String & |
trait | ) |
const |
|
virtual |
idx_t jive::algebra::ConstrainedMatrix::size |
( |
| ) |
const |
void jive::algebra::ConstrainedMatrix::update |
( |
| ) |
|
bool jive::algebra::ConstrainedMatrix::updated |
( |
| ) |
const |
void jive::algebra::ConstrainedMatrix::getRhs |
( |
const Vector & |
g, |
|
|
const Vector & |
f |
|
) |
| const |
void jive::algebra::ConstrainedMatrix::getLhs |
( |
const Vector & |
x, |
|
|
const Vector & |
y |
|
) |
| const |
void jive::algebra::ConstrainedMatrix::initLhs |
( |
const Vector & |
x, |
|
|
const Vector & |
y |
|
) |
| const |
Constraints * jive::algebra::ConstrainedMatrix::getConstraints |
( |
| ) |
const |