derivODE2: A subfonction for the numerical integration of polynomial...

View source: R/derivODE2.R

derivODE2R Documentation

A subfonction for the numerical integration of polynomial equations provided in a generic form following the convetion defined by function poLabs.

Description

This function provides the one step integration of polynomial Ordinary Differential Equations (ODE). This function requires the function ode (deSolve package).

Usage

derivODE2(t, x, K, dMin = 0, regS = NULL)

Arguments

t

All the dates for which the result of the numerical integration of the model must be provided

x

Current state vector (input from which the next state will be estimated)

K

A matrix providing the model description: each column corresponds to one equation which polynomial organisation is following the convention defined by function poLabs.

dMin

The minimum negative degree of the polynomial formulation (0 by default).

regS

Current states of each polynomial terms used in poLabs. These states can be deduced from the current state vector x (using the function regSeries). When available, it can be provided as an input to avoid unecessary computation.

Author(s)

Sylvain Mangiarotti

See Also

numicano, numinoisy


GPoM documentation built on July 9, 2023, 6:23 p.m.