pcgtt | R Documentation |
Solves the second ADI equation, i.e. a linear system with two-level Toeplitz left-hand side.
pcgtt(M, b, init, eigvals_prec, tol = 1e-07)
M |
symbol of the circulant embedding of a two-level Toeplitz matrix,
generated from the symbol the two-level Toeplitz matrix by
|
b |
right-hand side vector |
init |
initial guess for solution |
eigvals_prec |
eigenvalues of the circulant preconditioner generated by
|
tol |
relative tolerance - stopping criterion |
the solution as a vector
eigvals <- matrix(9:1,3) x <- stats::runif(9) M <- to_book_format(eigvals,3,3) eigvals_prec <- calc_prec(M) pcgtt(M, x, runif(9), eigvals_prec)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.