solve_cg | R Documentation |
Simple Conjugate Gradient implementation
solve_cg(
A,
b,
itmax = 800,
epsjump = 1e-06,
eps,
x0 = rep(0, ncol(A)),
print.every = 500
)
A |
Matrix |
b |
Right-hand-side |
itmax |
Maximum number of iterations |
epsjump |
The level of residual drop needed |
eps |
Absolute level of residual needed, by default equal to epsjump times initial residual |
x0 |
Initial guess on solution |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.