casacore::NNLSMatrixSolver Class Reference

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

#include <NNLSMatrixSolver.h>

Inheritance diagram for casacore::NNLSMatrixSolver:
casacore::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

casacore::NNLSMatrixSolver::NNLSMatrixSolver (  ) 

Default Constructor.

casacore::NNLSMatrixSolver::NNLSMatrixSolver ( const NNLSMatrixSolver other  ) 

Copy Constructor.

casacore::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
.

casacore::NNLSMatrixSolver::~NNLSMatrixSolver (  ) 

Destructor.


Member Function Documentation

Bool casacore::NNLSMatrixSolver::solve (  )  [virtual]

Solve for the X vector.

Reimplemented from casacore::MatrixSolver.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1