#include <DLSEqnSolver.h>
Inheritance diagram for OSCAR::DLSEqnSolver:

Public Methods | |
| DLSEqnSolver () | |
| ~DLSEqnSolver () | |
| bool | Redundant (const Matrix &A, Vector &x, const Vector &b) |
| bool | RedundantWithWeights (const Matrix &A, Vector &x, const Vector &b) |
| void | SetDamping (double damping) |
Protected Attributes | |
| double | damping |
| Matrix * | identity |
|
|
Constructor. This is the default constructor for an object of type DLSEqnSolver. Use this to simply construct an instance of an DLSEqnSolver object that can be used for solving systems of linear equations. |
|
|
Destructor. This is the Destructor for an object of type DLSEqnSolver. |
|
||||||||||||||||
|
Solve the linear system Ax=b where A is redundant (n>m). Solves the linear system Ax=b where A is redundant (n>m) by calculating the pseudo-inverse of the RRMatrix.
Reimplemented from OSCAR::EqnSolver. |
|
||||||||||||||||
|
Solve the linear system Ax=b where A is redundant (n>m) using a weight Matrix. Solves the linear system Ax=b where A is redundant (n>m) using a weight Matrix. The weight matrix should be nxn, and the system is solved like so: x=W*A_Tran*inv(A*W*A_Trans). The solution instantaniously minimizes the weighted norm x_trans*inv(W)*x. The weight Matrix is defined using the SetWeights() method. If the Matrix has not been set, then a normal pseudo-inverse will be performed.
Reimplemented from OSCAR::EqnSolver. |
|
|
Set the damping factor.
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |