This is documentation for an old release of SciPy (version 0.9.0). Read this page Search for this page in the documentation of the latest stable release (version 1.15.1).
scipy.optimize.nnls
-
scipy.optimize.nnls(A, b)
Solve argmin_x || Ax - b ||_2 for x>=0.
Parameters : | A : ndarray
Matrix A as shown above.
b : ndarray
Right-hand side vector.
|
Returns : | x : ndarray
Solution vector.
rnorm : float
The residual, || Ax-b ||_2.
|
Notes
This is a wrapper for NNLS.F.