solve_prec: Solve the Preconditioning System

View source: R/adi.R

solve_precR Documentation

Solve the Preconditioning System

Description

Solves the linear system with the circulant preconditioner for the PCG, i.e. it changes back the variables.

Usage

solve_prec(eigvals, x)

Arguments

eigvals

eigenvalues of the preconditioner

x

the right-hand side vector

Value

the solution as a matrix

Examples

eigvals <- matrix(9:1,3)
x <- stats::runif(9)
solve_prec(eigvals,x)

TMasak/surfcov documentation built on April 25, 2022, 12:15 a.m.