|
cisst-saw
|
#include <nmrLSEISolver.h>
Public Member Functions | |
| nmrLSEISolver (void) | |
| nmrLSEISolver (CISSTNETLIB_INTEGER me, CISSTNETLIB_INTEGER ma, CISSTNETLIB_INTEGER mg, CISSTNETLIB_INTEGER n) | |
| nmrLSEISolver (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &E, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &G) | |
| void | Allocate (CISSTNETLIB_INTEGER me, CISSTNETLIB_INTEGER ma, CISSTNETLIB_INTEGER mg, CISSTNETLIB_INTEGER n) |
| void | Allocate (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &E, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &G) |
| void | Solve (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &E, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &f, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &b, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &G, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &h) CISST_THROW(std |
| void | Solve (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &W) CISST_THROW(std |
| const vctDynamicMatrix< CISSTNETLIB_DOUBLE > & | GetX (void) const |
| CISSTNETLIB_DOUBLE | GetRNormE (void) const |
| CISSTNETLIB_DOUBLE | GetRNormL (void) const |
Protected Attributes | |
| CISSTNETLIB_INTEGER | ME |
| CISSTNETLIB_INTEGER | MA |
| CISSTNETLIB_INTEGER | MG |
| CISSTNETLIB_INTEGER | MDW |
| CISSTNETLIB_INTEGER | N |
| CISSTNETLIB_INTEGER | Mode |
| CISSTNETLIB_DOUBLE | RNormE |
| CISSTNETLIB_DOUBLE | RNormL |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE > | Options |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE > | X |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE > | W |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | ERef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | ARef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | GRef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | fRef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | bRef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE >::Submatrix::Type | hRef |
| vctDynamicMatrix< CISSTNETLIB_DOUBLE > | Work |
| vctDynamicMatrix< CISSTNETLIB_INTEGER > | Index |
|
inline |
Default constructor. This constructor doesn't allocate any memory. If you use this constructor, you will need to use one of the Allocate() methods before you can use the Solve method.
|
inline |
Constructor with memory allocation. This constructor allocates the memory based on ME, MA, MG and N. It relies on the method Allocate(). The next call to the Solve() method will check that the parameters match the dimension.
|
inline |
Constructor with memory allocation. This constructor allocates the memory based on the actual input of the Solve() method. It relies on the method Allocate(). The next call to the Solve() method will check that the parameters match the dimension.
|
inline |
This method allocates the memory based on M and N. The next call to the Solve() method will check that the parameters match the dimension.
| me | Number of rows of E |
| ma | Number of rows of A |
| mg | Number of rows of G |
| n | Number of unknowns |
|
inline |
Allocate memory to solve this problem. This method provides a convenient way to extract the required sizes from the input containers. The next call to the Solve() method will check that the parameters match the dimension.
|
inline |
|
inline |
|
inline |
Get X. This method must be used after Solve().
|
inline |
Given a \( M \times N\) matrix A, and a \( M \times 1 \) vector B, compute a \( N \times 1 \) vector X, that solves the least squares problem:
\( \mbox{min} \; 1 / 2 \| AX - B \| \; \mbox{subject to} \; EX = F; GX \geq H \)
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |