Skip to contents

This method solves a system of equations and computes the values of the dependent variables at times \(t=0, dt, 2dt, ... Tmax\). The function dispatches on xds_obj$dlay to call:

Note that the call to xde_derivatives dispatches on xds_obj$frame

Implements xds_solve for ordinary differential equations

Usage

# S3 method for class 'ode'
xds_solve(xds_obj, Tmax = 365, dt = 1, times = NULL)

Arguments

xds_obj

an xds model object

Tmax

the last time point, run from 0...Tmax

dt

the time step

times

the times

Value

an xds object