inla.mesh.deriv.RdCalculates directional derivative matrices for functions on
inla.mesh objects.
inla.mesh.deriv(mesh, loc)An inla.mesh object.
Coordinates where the derivatives should be evaluated.
The projection matrix, u(loc_i)=sum_j A_ij w_i
Derivative weight matrices, du/dx(loc_i)=sum_j
dx_ij w_i, etc.