spde.multigrid {RGeostats}R Documentation

Perform Multigrid evaluation in SPDE

Description

Perform Multigrid evaluation in SPDE

Usage

spde.multigrid(Qrows, Qcols, Qvals, nrow=0, ncol=0, x0, b, verbose=FALSE)

Arguments

Qrows,Qcols,Qvals,nrow,ncol

If Qrows (first argument) is a sparse matrix (from 'Matrix' package), then the following arguments ('Qcols', 'Qvals', 'nrow' and 'ncol') are useless.

Three arrays (same dimension) which provide respectively the row, the column indices, as well as the value for the corresponding cell element.

If the argument 'nrow' and 'ncol' are not provided, they are calculated automatically from the contents of the sparse matrix.

x0

Vector of initial values. It must have the same dimension as the rank of the sparse matrix defined above.

b

Right-hand side vector. It must have the same dimension as the rank of the sparse matrix defined above.

verbose

Verbose flag

Value

The resulting vector


[Package RGeostats version 14.0.10 Index]