
If sparsetype = "sparsejan", a vector with the elements With the (row, column) indices to the nonzero elements in the sparse If sparsetype equal to "sparseusr", a two-columned matrix Is returned by the solver (1st element of attribute dims).

If a solution is found, the minimal value of nnz actually required If not sufficient, stodes will return with a message indicating This is unknown, use an estimate) If NULL, a guess will be made, and The number of nonzero elements in the sparse Jacobian (if Steady-state but solely return the ian and jan vectors. Note: setting sparsetype equal to "sparsereturn" will not solve for The sparsity can be estimated internally by stodes (first and last option) "sparseint", "sparseusr", "sparsejan", "sparsereturn". The sparsity structure of the Jacobian, one of Than this amount, steady-state is assumed to be reached. If between two iterations, the maximal change in y is less Relative error tolerance, either a scalar or a vector, oneĪbsolute error tolerance, either a scalar or a vector, one Of the shared library (without extension) which must be loadedīefore stodes() is called. If func is a string, then dllname must give the name Should be specified in the same order as the state variables y. Names attribute) are global values that are required as Time, and whose next elements (possibly with a Vector containing the derivatives of y with respect to The return value of func should be a list, whose first element is a Parms is a vector of parameters (which may have a names attribute). Names attribute, the names will be available inside func. t is the time pointĪt which the steady-state is wanted, y is the current estimate of If func is a user-supplied function, it must be called as: Time, or a character string giving the name of aĬompiled function in a dynamically loaded shared library. (note- since version 1.7, 'times' has been added as an alias to 'time').Įither a user-supplied function that computes the values of theĭerivatives in the ode system (the model definition) at time Time for which steady-state is wanted the default is If y has a name attribute, the names will be used to label the The initial guess of (state) values for the ode system, a vector. Stodes ( y, time = 0, func, parms = NULL, rtol = 1e-6, atol = 1e-8, ctol = 1e-8, sparsetype = "sparseint", verbose = FALSE, nnz = NULL, inz = NULL, lrw = NULL, ngp = NULL, positive = FALSE, maxiter = 100, ynames = TRUE, dllname = NULL, initfunc = dllname, initpar = parms, rpar = NULL, ipar = NULL, nout = 0, outnames = NULL, forcings = NULL, initforc = NULL, fcontrol = NULL, spmethod = "yale", control = NULL, times = time.


steady.1D: Steady-state solver for multicomponent 1-D ordinary.steady: General steady-state solver for a set of ordinary.runsteady: Dynamically runs a system of ordinary differential equations.plot.steady: Plot and Summary Method for steady1D, steady2D and stead圓D.multiroot.1D: Solves for n roots of n (nonlinear) equations, created by.multiroot: Solves for n roots of n (nonlinear) equations.
#DIFFERENTIAL EQUATION CALCULATOR FULL#
jacobian.full: Full square jacobian matrix for a system of ODEs (ordinary.jacobian.band: Banded jacobian matrix for a system of ODEs (ordinary.gradient: Estimates the gradient matrix for a simple function.
