|
Jive reference manual
|
#include <jive/algebra/MatrixBuilder.h>

Public Member Functions | |
| MatrixBuilder (const String &name="") | |
| virtual String | getContext () const |
| virtual void | configure (const Properties &props) |
| virtual void | getConfig (const Properties &conf) const |
| virtual void | clear ()=0 |
| virtual void | scale (double factor)=0 |
| virtual void | setToZero () |
| virtual void | reserve (idx_t nzCount) |
| virtual void | shapeHint (idx_t rowCount, idx_t colCount) |
| virtual void | trimToSize () |
| virtual void | updateMatrix ()=0 |
| virtual void | setMultiplier (double x)=0 |
| virtual double | getMultiplier () const =0 |
| virtual void | setData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values)=0 |
| virtual void | addData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values)=0 |
| virtual idx_t | eraseData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount)=0 |
| virtual void | getData (double *buf, const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount) const =0 |
| virtual AbstractMatrix * | getMatrix () const =0 |
| void | setValue (idx_t irow, idx_t jcol, double value) |
| void | addValue (idx_t irow, idx_t jcol, double value) |
| double | getValue (idx_t irow, idx_t jcol) const |
| bool | eraseValue (idx_t irow, idx_t jcol) |
| void | setBlock (const IdxVector &irows, const IdxVector &jcols, const Matrix &block) |
| void | addBlock (const IdxVector &irows, const IdxVector &jcols, const Matrix &block) |
| void | getBlock (const Matrix &block, const IdxVector &irows, const IdxVector &jcols) const |
| idx_t | eraseBlock (const IdxVector &irows, const IdxVector &jcols) |
| void | setRowValues (idx_t irow, const IdxVector &jcols, const Vector &rvals) |
| void | addRowValues (idx_t irow, const IdxVector &jcols, const Vector &rvals) |
| idx_t | eraseRowValues (idx_t irow, const IdxVector &jcols) |
| void | getRowValues (const Vector &rvals, idx_t irow, const IdxVector &jcols) const |
| void | setColValues (const IdxVector &irows, idx_t jcol, const Vector &cvals) |
| void | addColValues (const IdxVector &irows, idx_t jcol, const Vector &cvals) |
| idx_t | eraseColValues (const IdxVector &irows, idx_t jcol) |
| void | getColValues (const Vector &cvals, const IdxVector &irows, idx_t jcol) const |
Public Member Functions inherited from jem::NamedObject | |
| NamedObject (const String &name="") | |
| virtual String | toString () const |
| Returns a short textual description of this object. More... | |
| String | getName () const |
Public Member Functions inherited from jem::Object | |
| virtual Class * | getClass () const |
Returns the Class instance representing the runtime class 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 | ~MatrixBuilder () |
Protected Member Functions inherited from jem::NamedObject | |
| virtual | ~NamedObject () |
Protected Member Functions inherited from jem::Collectable | |
| Collectable () | |
Creates an empty Collectable. More... | |
| ~Collectable () | |
| Frees resources. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from jem::NamedObject | |
| static String | makeContext (const String &kind, const String &name) |
Static Public Member Functions inherited from jem::Object | |
| static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
Protected Attributes inherited from jem::NamedObject | |
| String | myName_ |
|
explicit |
|
protectedvirtual |
|
virtual |
Reimplemented from jem::NamedObject.
|
virtual |
|
virtual |
|
pure virtual |
|
pure virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
| void jive::algebra::MatrixBuilder::setValue | ( | idx_t | irow, |
| idx_t | jcol, | ||
| double | value | ||
| ) |
| void jive::algebra::MatrixBuilder::addValue | ( | idx_t | irow, |
| idx_t | jcol, | ||
| double | value | ||
| ) |
| double jive::algebra::MatrixBuilder::getValue | ( | idx_t | irow, |
| idx_t | jcol | ||
| ) | const |
| bool jive::algebra::MatrixBuilder::eraseValue | ( | idx_t | irow, |
| idx_t | jcol | ||
| ) |
| void jive::algebra::MatrixBuilder::setBlock | ( | const IdxVector & | irows, |
| const IdxVector & | jcols, | ||
| const Matrix & | block | ||
| ) |
| void jive::algebra::MatrixBuilder::addBlock | ( | const IdxVector & | irows, |
| const IdxVector & | jcols, | ||
| const Matrix & | block | ||
| ) |
| void jive::algebra::MatrixBuilder::getBlock | ( | const Matrix & | block, |
| const IdxVector & | irows, | ||
| const IdxVector & | jcols | ||
| ) | const |
| idx_t jive::algebra::MatrixBuilder::eraseBlock | ( | const IdxVector & | irows, |
| const IdxVector & | jcols | ||
| ) |
| void jive::algebra::MatrixBuilder::setRowValues | ( | idx_t | irow, |
| const IdxVector & | jcols, | ||
| const Vector & | rvals | ||
| ) |
| void jive::algebra::MatrixBuilder::addRowValues | ( | idx_t | irow, |
| const IdxVector & | jcols, | ||
| const Vector & | rvals | ||
| ) |
| idx_t jive::algebra::MatrixBuilder::eraseRowValues | ( | idx_t | irow, |
| const IdxVector & | jcols | ||
| ) |
| void jive::algebra::MatrixBuilder::getRowValues | ( | const Vector & | rvals, |
| idx_t | irow, | ||
| const IdxVector & | jcols | ||
| ) | const |
| void jive::algebra::MatrixBuilder::setColValues | ( | const IdxVector & | irows, |
| idx_t | jcol, | ||
| const Vector & | cvals | ||
| ) |
| void jive::algebra::MatrixBuilder::addColValues | ( | const IdxVector & | irows, |
| idx_t | jcol, | ||
| const Vector & | cvals | ||
| ) |
| idx_t jive::algebra::MatrixBuilder::eraseColValues | ( | const IdxVector & | irows, |
| idx_t | jcol | ||
| ) |
| void jive::algebra::MatrixBuilder::getColValues | ( | const Vector & | cvals, |
| const IdxVector & | irows, | ||
| idx_t | jcol | ||
| ) | const |