This is documentation for an old release of SciPy (version 0.7.). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.optimize.nnls

scipy.optimize.nnls(A, b)

Solve || Ax - b ||_2 -> min with x>=0

Inputs:
A – matrix as above b – vector as above
Outputs:
x – solution vector rnorm – residual || Ax-b ||_2

wrapper around NNLS.F code below nnls/ directory

Previous topic

scipy.optimize.fmin_cobyla

Next topic

scipy.optimize.anneal

This Page

Quick search