TMB Documentation
v1.9.11
|
SPDE methods from INLA R-package . More...
Classes | |
struct | spde_aniso_t |
Object containing all elements of an anisotropic SPDE object, i.e. eqn (20) in Lindgren et al. More... | |
struct | spde_t |
Object containing all elements of an SPDE object, i.e. eqn (10) in Lindgren et al. More... | |
Functions | |
template<class Type > | |
SparseMatrix< Type > | Q_spde (spde_t< Type > spde, Type kappa) |
template<class Type > | |
SparseMatrix< Type > | Q_spde (spde_aniso_t< Type > spde, Type kappa, matrix< Type > H) |
SPDE methods from INLA R-package .
Constructs precission matrix Q of the type defined in Lindgren et al. (2011). Requires RINLA package to build stuff. Q built this way can be used in GMRF_t.
SparseMatrix<Type> R_inla::Q_spde | ( | spde_t< Type > | spde, |
Type | kappa | ||
) |
Precision matrix eqn (10) in Lindgren et al. (2011)
Definition at line 35 of file R_inla.hpp.
SparseMatrix<Type> R_inla::Q_spde | ( | spde_aniso_t< Type > | spde, |
Type | kappa, | ||
matrix< Type > | H | ||
) |
Precision matrix for the anisotropic case, eqn (20) in Lindgren et al. (2011)
Definition at line 71 of file R_inla.hpp.