Derv: Derivative calculation of concentration profile

Description Usage Arguments Value Examples

Description

Return a the derivative of the concentration profile simulated

Usage

1
2
Derv(npoints = 2, h, Ox, mode = "Forward", Derivative = "First",
  CoefMat = FALSE)

Arguments

npoints

number of points to be used for the derivative

h

space for the finite difference

Ox

data upon the derivative is calculated

mode

"Forward" or "Backward" the derivative will be calculated for the npoints

Derivative

"First" or "Second" derivative to calculate

CoefMat

if T return the derivative coefficient matrix for selected derivative

Value

a vector with the derivative requested or the coefficient of such derivative

Examples

1
Derv(npoints = 2, h = 0.13, Ox = matrix(c(1,2), nrow = 1), mode = "Forward", Derivative = "First")

EleChemr documentation built on May 16, 2019, 1:12 a.m.

Related to Derv in EleChemr...