NNLSMatrixSolver.h
Classes
- NNLSMatrixSolver -- NNLSMatrixSolver.h: the base class for NNLS solvers of linear equations AX=B (full description)
Interface
- Public Members
- NNLSMatrixSolver()
- NNLSMatrixSolver(const NNLSMatrixSolver & other)
- NNLSMatrixSolver(const Matrix<FType> & A, const Vector<FType> & B)
- ~NNLSMatrixSolver()
- Bool solve()
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
- I do not know how to do this yet but it should look something like
NNLSMatrixSolver NNLS(amatrix, bvector);NNLS.addOperator(foo);
To Do
Member Description
Default Constructor
Copy Constructor
Create a NNLSMatrixSolver from a matrix A and a Vector B
A and B are accessed by reference, so don't
modify them during the lifetime of the NNLSMatrixSolver
Destructor
Solve for the X vector.