powered by
Finds zeros of multinomial functions using the nleqslv package
zero_finder_nleqslv( afun, veclength, tol = 0.4, x.start.vals = NULL, upper.lim = Inf )
The function to find zeros
The dimension of the system of equations
The range within which to set start values for the function to use to find zeros
Optional user defined start values
to be used if there is to be an upper limit to the solution
Predicted zeros of the given equation
# NOT RUN { afun <- function(x) { y <- numeric(2) y[1] <- x[1]^2 + x[2]^2 - 1 y[2] <- exp(x[1]-1) + x[2]^3 - 1.1 y } zero_finder_nleqslv(afun, veclength = 2) # }
Run the code above in your browser using DataLab