An object of the same type as x containing the antiderivative of the input values.
Arguments
x
timestep up to which antiderivative must be computed
initial_density
initial density
max_density
maximal density
growth_rate
growth rate
Details
The Verhulst model (used to simulate host growth) is defined by
\( f(x) = max\_density / (1 + (max\_density/initial\_density)*exp(-growth\_rate*x)) \).
See https://en.wikipedia.org/wiki/Logistic_function for details.