Jive reference manual
|
#include <jive/algebra/FlexMatrixBuilder.h>
Public Member Functions | |
FlexMatrixBuilder (const String &name="", Ref< SparseMatrixObj > mat=NIL) | |
virtual void | clear () |
virtual void | scale (double factor) |
virtual void | setToZero () |
virtual void | reserve (idx_t nzCount) |
virtual void | shapeHint (idx_t rowCount, idx_t colCount) |
virtual void | trimToSize () |
virtual void | updateMatrix () |
virtual void | setMultiplier (double x) |
virtual double | getMultiplier () const |
virtual void | setData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values) |
virtual void | addData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount, const double *values) |
virtual idx_t | eraseData (const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount) |
virtual void | getData (double *buf, const idx_t *irows, idx_t icount, const idx_t *jcols, idx_t jcount) const |
virtual AbstractMatrix * | getMatrix () const |
SparseMatrixObj * | getSparseMatrix () const |
void | setShape (idx_t rowCount, idx_t colCount) |
int | setOptions (int options) |
int | getOptions () const |
void | trackDofSpace (const Ref< DofSpace > &dofs) |
void | trackDofSpaces (const Ref< DofSpace > &rowSpace, const Ref< DofSpace > &colSpace) |
Public Member Functions inherited from jive::algebra::MatrixBuilder | |
MatrixBuilder (const String &name="") | |
virtual String | getContext () const |
virtual void | configure (const Properties &props) |
virtual void | getConfig (const Properties &conf) const |
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... | |
Static Public Member Functions | |
static Ref< MBuilder > | makeNew (const String &name, const Properties &conf, const Properties &props, const Properties ¶ms, const Properties &globdat) |
static void | declare () |
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... | |
Static Public Attributes | |
static const char * | TYPE_NAME |
static const int | AUTO_SHAPE0 |
static const int | AUTO_SHAPE1 |
static const int | AUTO_RESHAPE |
static const int | DROP_ZEROES |
Protected Member Functions | |
virtual | ~FlexMatrixBuilder () |
Protected Member Functions inherited from jive::algebra::MatrixBuilder | |
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 | |
Protected Attributes inherited from jem::NamedObject | |
String | myName_ |
|
explicit |
|
protectedvirtual |
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Reimplemented from jive::algebra::MatrixBuilder.
|
virtual |
Reimplemented from jive::algebra::MatrixBuilder.
|
virtual |
Reimplemented from jive::algebra::MatrixBuilder.
|
virtual |
Reimplemented from jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
|
virtual |
Implements jive::algebra::MatrixBuilder.
SparseMatrixObj* jive::algebra::FlexMatrixBuilder::getSparseMatrix | ( | ) | const |
void jive::algebra::FlexMatrixBuilder::setShape | ( | idx_t | rowCount, |
idx_t | colCount | ||
) |
int jive::algebra::FlexMatrixBuilder::setOptions | ( | int | options | ) |
int jive::algebra::FlexMatrixBuilder::getOptions | ( | ) | const |
void jive::algebra::FlexMatrixBuilder::trackDofSpaces | ( | const Ref< DofSpace > & | rowSpace, |
const Ref< DofSpace > & | colSpace | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |