|
Jive reference manual
|
#include <jive/solver/MPRestrictor.h>

Public Member Functions | |
| MPRestrictor (Ref< Restrictor > rt, Ref< VectorExchanger > vex) | |
| void | update () |
| bool | updated () const |
| virtual void | resetEvents () |
| virtual Shape | shape () const |
| Returns the shape of this matrix. More... | |
| virtual void | matmul (const Vector &lhs, const Vector &rhs) const |
| Matrix-vector multiplication. More... | |
| virtual void | transmul (const Vector &lhs, const Vector &rhs) const |
| void | multiTransmul (Matrix &lhsVecs, IdxVector &lhsTags, const Matrix &rhsVecs, const IdxVector &rhsTags) const |
| virtual void | configure (const Properties &props) |
| virtual void | getConfig (const Properties &props) const |
| virtual bool | hasTrait (const String &trait) const |
| virtual void * | getExtByID (ExtensionID extID) const |
| virtual VectorExchanger * | getExchanger () const |
| virtual int | getExchangeMode () const |
| Vector | getWeights () const |
| Restrictor * | getInner () const |
Public Member Functions inherited from jive::solver::Restrictor | |
| Restrictor (const String &name="") | |
| virtual String | getContext () const |
Public Member Functions inherited from jive::algebra::AbstractMatrix | |
| bool | isSquare () const |
| Tests whether this matrix is square. More... | |
| virtual jem::Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
Public Member Functions inherited from jem::Object | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| virtual long | hashValue () const |
| Returns a hash value for this object. More... | |
| virtual bool | equals (const Ref< Object > &obj) const |
| Tests whether two objects are equal. More... | |
| Ref< Object > | clone () const |
| Returns a copy of this object. More... | |
Protected Member Functions | |
| virtual | ~MPRestrictor () |
Protected Member Functions inherited from jive::solver::Restrictor | |
| virtual | ~Restrictor () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Additional Inherited Members | |
Public Types inherited from jive::algebra::AbstractMatrix | |
| typedef AbstractMatrix | Self |
| The type of this class. More... | |
| typedef jem::Tuple< int, 2 > | Shape |
| A type representing the shape of a matrix. More... | |
| typedef util::Vector | Vector |
| A vector type. More... | |
Static Public Member Functions inherited from jive::algebra::AbstractMatrix | |
| static jem::Class * | getType () |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Public Attributes inherited from jive::algebra::AbstractMatrix | |
| jem::util::Event< Self & > | newShapeEvent |
| Signals that the shape of this matrix has changed. More... | |
| jem::util::Event< Self & > | newValuesEvent |
| Signals that the contents of this matrix have been modified. More... | |
| jive::solver::MPRestrictor::MPRestrictor | ( | Ref< Restrictor > | rt, |
| Ref< VectorExchanger > | vex | ||
| ) |
|
protectedvirtual |
| void jive::solver::MPRestrictor::update | ( | ) |
| bool jive::solver::MPRestrictor::updated | ( | ) | const |
|
virtual |
|
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.
Implements jive::solver::Restrictor.
|
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.
| lhs | - the result vector. |
| rhs | - the vector to be multiplied by this matrix. |
Implements jive::solver::Restrictor.
|
virtual |
Implements jive::solver::Restrictor.
| void jive::solver::MPRestrictor::multiTransmul | ( | Matrix & | lhsVecs, |
| IdxVector & | lhsTags, | ||
| const Matrix & | rhsVecs, | ||
| const IdxVector & | rhsTags | ||
| ) | const |
|
virtual |
Reimplemented from jive::solver::Restrictor.
|
virtual |
Reimplemented from jive::solver::Restrictor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| Vector jive::solver::MPRestrictor::getWeights | ( | ) | const |
| Restrictor * jive::solver::MPRestrictor::getInner | ( | ) | const |