Use IPFP starting from x0 to produce vector x s.t. Ax = y within tolerance. Need to ensure that x0 >= 0.
1 2 
y 
numeric constraint vector (length nrow) 
A 
constraint matrix (nrow x ncol) 
x0 
numeric initial vector (length ncol) 
tol 
numeric tolerance for IPFP; defaults to

maxit 
integer maximum number of iterations for IPFP; defaults to 1e3 
verbose 
logical parameter to select verbose output from C function 
full 
logical parameter to select full return (with diagnostic info) 
if not full, vector of length ncol containing solution obtained by IPFP. If full, list containing solution (as x), number of iterations (as iter), and norm of Ax  y (as errNorm)
1 2 3 4 5 6 7 
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.