cisst-saw
|
#include <nmrHFTISolver.h>
Public Member Functions | |
nmrHFTISolver (void) | |
nmrHFTISolver (CISSTNETLIB_INTEGER m, CISSTNETLIB_INTEGER n, CISSTNETLIB_INTEGER nb) | |
nmrHFTISolver (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &B) | |
void | Allocate (CISSTNETLIB_INTEGER m, CISSTNETLIB_INTEGER n, CISSTNETLIB_INTEGER nb) |
void | Allocate (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &B) |
void | Solve (vctDynamicMatrix< CISSTNETLIB_DOUBLE > &A, vctDynamicMatrix< CISSTNETLIB_DOUBLE > &B) throw (std::runtime_error) |
Protected Attributes | |
CISSTNETLIB_INTEGER | M |
CISSTNETLIB_INTEGER | N |
CISSTNETLIB_INTEGER | NB |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | A |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | B |
CISSTNETLIB_DOUBLE | tau |
CISSTNETLIB_INTEGER | krank |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | RNORM |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | G |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | H |
vctDynamicMatrix < CISSTNETLIB_INTEGER > | IP |
vctDynamicMatrix < CISSTNETLIB_DOUBLE > | X |
Algorithm LDP: Least Distance Programming
The original version of this code was developed by Charles L. Lawson and Richard J. Hanson at Jet Propulsion Laboratory 1974 MAR 1, and published in the book "Solving Least Squares Problems", Prentice-Hall, 1974.
This can be used to solve a linear least squares problem or a set of least square problem having same matrix but different right-hand side vectors.
The data members of this class are:
|
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 M, N and NB. It relies on the method Allocate(). The next call to the Solve() method will check that the parameters match the dimension.
m | Number of rows of A |
n | Number of columns of A |
nb | Number of columns of B |
|
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 Ma, Na and Nb. The next call to the Solve() method will check that the parameters match the dimension.
m | Number of rows of A |
n | Number of columns of A |
nb | Number of columns of B |
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |