casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::NNLSMatrixSolver Class Reference

NNLSMatrixSolver.h: the base class for NNLS solvers of linear equations AX=B. More...

#include <NNLSMatrixSolver.h>

Inheritance diagram for casa::NNLSMatrixSolver:
casa::MatrixSolver

List of all members.

Public Member Functions

 NNLSMatrixSolver ()
 Default Constructor.
 NNLSMatrixSolver (const NNLSMatrixSolver &other)
 Copy Constructor.
 NNLSMatrixSolver (const Matrix< FType > &A, const Vector< FType > &B)
 Create a NNLSMatrixSolver from a matrix A and a Vector B
Warning: A and B are accessed by reference, so don't modify them during the lifetime of the NNLSMatrixSolver

 ~NNLSMatrixSolver ()
 Destructor.
Bool solve ()
 Solve for the X vector.

Detailed Description

NNLSMatrixSolver.h: the base class for NNLS solvers of linear equations AX=B.

Intended use:

Internal

Review Status

Date Reviewed:
",

Prerequisite

Etymology

NNLS stands for Projection Onto Convex Sets. The idea is very simple: to find a solution to AX=B simply take the residual vector B-AX and operate on it to keep only the bits that obey some constraint e.g. positivity. Add this part to the current estimate of the solution vector and iterate. Both CLEAN and Gerchberg-Saxon are NNLS algorithms. If the projection Operators are convex then the process is guaranteed to converge (Youla, 1970).

Synopsis

NNLSMatrixSolver is a complete class. To use it, simply add Operators

  1. I do not know how to do this yet but it should look something like NNLSMatrixSolver NNLS(amatrix, bvector);NNLS.addOperator(foo);

To Do

Definition at line 71 of file NNLSMatrixSolver.h.


Constructor & Destructor Documentation

Default Constructor.

Copy Constructor.

casa::NNLSMatrixSolver::NNLSMatrixSolver ( const Matrix< FType > &  A,
const Vector< FType > &  B 
)

Create a NNLSMatrixSolver from a matrix A and a Vector B
Warning: A and B are accessed by reference, so don't modify them during the lifetime of the NNLSMatrixSolver

Destructor.


Member Function Documentation

Solve for the X vector.

Reimplemented from casa::MatrixSolver.


The documentation for this class was generated from the following file: