solver(SoilR)
solver()所属R语言包:SoilR
solver
求解器
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function applies one of its arguments (which is an ode solver) to its other arguments, the righthand side of an ode system and a vector of the initial values and the times where a value is sought. Its main purpose is to provide a very easy and flexible interface to the toplevel functions that use it.
此功能适用于它的参数(这是一个ODE求解器),其他的参数,右边的颂歌系统和矢量的初始值,并寻求一个值的时候,。其主要目的是提供一个非常容易和灵活的接口,顶级的功能,使用它。
用法----------Usage----------
solver(times, ydot, startValues, solverFunc = deSolve.lsoda.wrapper)
参数----------Arguments----------
参数:times
A vector containing the points in time where the solution is sought.
一种向量,包含的点的时间寻求溶液。
参数:ydot
The function used by the odesolver to compute the derivative. For an example how such a function should look like have a look at NpYdot which creates such a function for the n pool example.
计算该衍生物的功能由odesolver使用。举一个例子,这样的功能看起来应该看看在NpYdot创建这样一个功能的N池的例子。
参数:startValues
a vector containing the initial amounts of carbon for the n pools. The length of this vector has to be equal to the number of pools and thus compatible with ydot. At the moment this is not checked by the function.
一个向量,包含的n个池的初始量的碳。此向量的长度等于池的数量,从而与ydot兼容。目前,这是不检查的功能。
参数:solverFunc
The function used by to actually solve the ODE system. This can be euler or ode or any other user provided function with the same interface.
使用真正解决ODE系统的功能。这可能是euler或ode或任何其他用户提供的函数具有相同的接口。
(作者)----------Author(s)----------
Carlos A. Sierra <csierra@bgc-jena.mpg.de>, Markus Mueller <mamueller@bgc-jena.mpg.de>
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|