rxD: Add to RxODE's derivative tables

rxDR Documentation

Add to RxODE's derivative tables

Description

Add to RxODE's derivative tables

Usage

rxD(name, derivatives)

Arguments

name

Function Name

derivatives

A list of functions. Each function takes the same number of arguments as the original function. The first function will construct the derivative with respect to the first argument; The second function will construct the derivitive with respect to the second argument, and so on.

Value

nothing

Author(s)

Matthew Fidler

Examples

## Add an arbitrary list of derivative functions
## In this case the fun(x,y) is assumed to be 0.5*x^2+0.5*y^2

rxD("fun", list(
  function(x, y) {
    return(x)
  },
  function(x, y) {
    return(y)
  }
))

RxODE documentation built on March 23, 2022, 9:06 a.m.