Evaluates a list of (mixed) partial derivatives
Evaluates a list of (mixed) partial derivatives
evalDtensor(x, mu, m=1)
x |
unevaluated (list) of expression(s) |
mu |
values at which the derivatives are evaluated: names need to match terms in x |
m |
order of derivative |
tensor
Jarrod Hadfield j.hadfield@ed.ac.uk
f<-expression(beta_1 + time*beta_2+u) Df<-Dtensor(f, eval=FALSE, m=2) evalDtensor(Df, mu=data.frame(beta_1=0.5, beta_2=1, time=3, u=2.3)) Dtensor(f, mu=c(1,3,1,2.3), m=2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.