powered by
Forms tensor of (mixed) partial derivatives
Dtensor(expr, name=NULL, mu = NULL, m=1, evaluate = TRUE)
(list) of unevaluated expression(s) if evaluate=FALSE or a tensor if evaluate=TRUE
evaluate=FALSE
evaluate=TRUE
'expression'
character vector, giving the variable names with respect to which derivatives will be computed. If NULL all variables in the expression will be used
optional: numeric vector, at which the derivatives are evaluated
order of derivative
logical; if TRUE the derivatives are evaluated at mu, if FALSE the derivatives are left unevaluated
TRUE
mu
FALSE
Jarrod Hadfield j.hadfield@ed.ac.uk
Rice, S.H. (2004) Evolutionary Theory: Mathematical and Conceptual Foundations. Sinauer (MA) USA.
evalDtensor, Dexpressions, D
evalDtensor
Dexpressions
D
f<-expression(beta_1 + time * beta_2 + u) Dtensor(f,eval=FALSE)
Run the code above in your browser using DataLab