#include <jive/algebra/MPMatrixObject.h>
jive::algebra::MPMatrixObject::MPMatrixObject |
( |
| ) |
|
jive::algebra::MPMatrixObject::MPMatrixObject |
( |
const Self & |
rhs | ) |
|
virtual jive::algebra::MPMatrixObject::~MPMatrixObject |
( |
| ) |
|
|
protectedvirtual |
virtual void jive::algebra::MPMatrixObject::resetEvents |
( |
| ) |
|
|
virtual |
virtual void jive::algebra::MPMatrixObject::readFrom |
( |
ObjectInput & |
in | ) |
|
|
virtual |
virtual void jive::algebra::MPMatrixObject::writeTo |
( |
ObjectOutput & |
out | ) |
const |
|
virtual |
virtual Ref<Object> jive::algebra::MPMatrixObject::clone |
( |
| ) |
const |
|
virtual |
virtual Shape jive::algebra::MPMatrixObject::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::MPMatrixObject::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::MPMatrixObject::multiMatmul |
( |
Matrix & |
lhsVecs, |
|
|
IdxVector & |
lhsTags, |
|
|
const Matrix & |
rhsVecs, |
|
|
const IdxVector & |
rhsTags |
|
) |
| const |
|
virtual |
virtual bool jive::algebra::MPMatrixObject::hasTrait |
( |
const String & |
trait | ) |
const |
|
virtual |
virtual void jive::algebra::MPMatrixObject::printTo |
( |
PrintWriter & |
out | ) |
const |
|
virtual |
virtual void* jive::algebra::MPMatrixObject::getExtByID |
( |
ExtensionID |
extID | ) |
const |
|
virtual |
virtual VectorExchanger* jive::algebra::MPMatrixObject::getExchanger |
( |
| ) |
const |
|
virtual |
virtual int jive::algebra::MPMatrixObject::getExchangeMode |
( |
| ) |
const |
|
virtual |
void jive::algebra::MPMatrixObject::setExchangeMode |
( |
int |
mode | ) |
|