Jive reference manual
|
#include <jive/model/ImplicitMatrix.h>
Public Member Functions | |
ImplicitMatrix (const String &name, const Ref< Model > &model, const Ref< DofSpace > &dofs, const Properties &globdat, int traits=0) | |
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 bool | hasTrait (const String &trait) const |
bool | takeAction (const String &action, const Properties ¶ms, const Properties &globdat) |
void | setEpsilon (double eps) |
double | getEpsilon () const |
![]() | |
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... | |
![]() | |
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... | |
Static Public Attributes | |
static const int | SYMMETRIC |
Protected Member Functions | |
virtual | ~ImplicitMatrix () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
![]() | |
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 jem::Class * | getType () |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
![]() | |
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::model::ImplicitMatrix::ImplicitMatrix | ( | const String & | name, |
const Ref< Model > & | model, | ||
const Ref< DofSpace > & | dofs, | ||
const Properties & | globdat, | ||
int | traits = 0 |
||
) |
|
protectedvirtual |
|
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::algebra::AbstractMatrix.
|
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::algebra::AbstractMatrix.
|
virtual |
bool jive::model::ImplicitMatrix::takeAction | ( | const String & | action, |
const Properties & | params, | ||
const Properties & | globdat | ||
) |
void jive::model::ImplicitMatrix::setEpsilon | ( | double | eps | ) |
double jive::model::ImplicitMatrix::getEpsilon | ( | ) | const |
|
static |