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
In[1]:=1

✖
https://wolfram.com/xid/0d2kfswe24q2a9g1dvokdbwkwk-dsecpd