operator.operations {rSPDE} | R Documentation |
Operations with the Pr and Pl operators
Description
Functions for multiplying and solving with the
and
operators as well as the latent precision
matrix
and covariance matrix
.
These operations are done without first assembling
,
in order to avoid numerical problems caused by
ill-conditioned matrices.
Usage
Pr.mult(obj, v, transpose = FALSE)
Pr.solve(obj, v, transpose = FALSE)
Pl.mult(obj, v, transpose = FALSE)
Pl.solve(obj, v, transpose = FALSE)
Q.mult(obj, v)
Q.solve(obj, v)
Qsqrt.mult(obj, v, transpose = FALSE)
Qsqrt.solve(obj, v, transpose = FALSE)
Sigma.mult(obj, v)
Sigma.solve(obj, v)
Arguments
obj |
rSPDE object |
v |
vector to apply the operation to |
transpose |
set to TRUE if the operation should be performed with the transposed object |
Details
Pl.mult
, Pr.mult
, and Q.mult
multiplies the vector with the respective object.
Changing mult
to solve
in the function names
multiplies the vector with the inverse of the object.
Qsqrt.mult
and Qsqrt.solve
performs the
operations with the square-root type object
defined so that
.
Value
A vector with the values of the operation
[Package rSPDE version 2.3.3 Index]