|  | Double | 
 Syntax
Syntaxpublic DoubleNonnegativeLeastSquares( DoubleMatrix A, DoubleVector y, DoubleVector weights = null )
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| MismatchedSizeException | Thrown if the number of rows in A is not equal to the length of y. | 
| NMathException | Thrown if the specified maximum number of iterations performed by the algorithm was exceeded. | 
 See Also
See Also