QMRITools`
QMRITools`

NNLeastSquares

NNLeastSquares[A,y]

performs a Non Negative Linear Least Squares fit. finds an x that solves the linear least-squares problem for the matrix equation A.x==y. output is the solution x.

Examples