inla.mesh.fem.RdConstructs finite element matrices for inla.mesh and
inla.mesh.1d objects.
## 2D and 1D meshes
inla.mesh.fem(mesh, order = 2)
## 1D meshes, order 2 models only
inla.mesh.1d.fem(mesh)An inla.mesh or inla.mesh.1d object.
The model order.
A list of sparse matrices based on basis functions psi_i:
c0[i,j] = < psi_i, 1 >
c1[i,j] = < psi_i, psi_j >
g1[i,j] = < grad psi_i, grad psi_j >
g2 = g1 * c0^-1 * g1
gk = g1 * (c0^-1 * g1)^(k-1), up to and including
k=order