deriv_ma: Calculates derivatives of mass-action kinetics.

Description Usage Arguments Value See Also Examples

Description

deriv_ma does not check whether the ordering of substrates in the stoichiometry and concs is corrects, so please make sure that the indices in substrates and concs coincide.

Usage

1
deriv_ma(i, substrates, concs)

Arguments

i

The index of the substrate used as the differentiation variable.

substrates

The stoichiometry of the subbstrates (column in the stochiometric matrix. Must be the same length as concs.

concs

Concentrations of the substrates.

Value

Returns the derivative of the mass action kinetics for the reaction specified by subtrates differentiated by the ith variable.

See Also

jacobian to calculate the Jacobian matrix.

Examples

1
2
3
data(eryth)
S <- stoichiometry(eryth)
dma1_dS3 <- deriv_ma(3, S[,1], runif(nrow(S)))

cdiener/dycone documentation built on May 13, 2019, 2:41 p.m.