View source: R/conjugate_gradients.R
CG | R Documentation |
Solve Ax=b by preconditioned conjugate gradients
CG(b, env, x = NULL, max.it = NULL, e = NULL, verbose = FALSE, ...)
b |
right hand side vector. |
env |
environment containing at least a function |
x |
start value for the conjugate gradient algorithm. |
max.it |
maximum number of iterations. |
e |
total squared error stop criterion. |
verbose |
whether progress information is shown. |
... |
any parameters passed to |
The (approximated) solution to Ax=b.
M.R. Hestenes and E. Stiefel (1952). Methods of conjugate gradients for solving linear systems. Journal of Research of the National Bureau of Standards 49(6), 409-436.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.