You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -41,9 +41,14 @@ This implementation allows a left preconditioner `M` and a right preconditioner
41
41
* H. A. van der Vorst, *Bi-CGSTAB: A fast and smoothly converging variant of Bi-CG for the solution of nonsymmetric linear systems*, SIAM Journal on Scientific and Statistical Computing, 13(2), pp. 631--644, 1992.
42
42
* G. L.G. Sleijpen and D. R. Fokkema, *BiCGstab(ℓ) for linear equations involving unsymmetric matrices with complex spectrum*, Electronic Transactions on Numerical Analysis, 1, pp. 11--32, 1993.
43
43
"""
44
-
functionbicgstab(A, b ::AbstractVector{T}; c ::AbstractVector{T}=b,
@@ -29,9 +29,14 @@ when it exists. The transfer is based on the residual norm.
29
29
30
30
* A. Montoison and D. Orban, *BiLQ: An Iterative Method for Nonsymmetric Linear Systems with a Quasi-Minimum Error Property*, SIAM Journal on Matrix Analysis and Applications, 41(3), pp. 1145--1166, 2020.
31
31
"""
32
-
functionbilq(A, b ::AbstractVector{T}; c ::AbstractVector{T}=b,
@@ -32,9 +32,14 @@ BiCG point, when it exists. The transfer is based on the residual norm.
32
32
33
33
* A. Montoison and D. Orban, *BiLQ: An Iterative Method for Nonsymmetric Linear Systems with a Quasi-Minimum Error Property*, SIAM Journal on Matrix Analysis and Applications, 41(3), pp. 1145--1166, 2020.
34
34
"""
35
-
functionbilqr(A, b ::AbstractVector{T}, c ::AbstractVector{T};
Copy file name to clipboardExpand all lines: src/cg.jl
+16-11Lines changed: 16 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@
13
13
# Dominique Orban, <dominique.orban@gerad.ca>
14
14
# Salt Lake City, UT, March 2015.
15
15
16
-
export cg
16
+
export cg, cg!
17
17
18
18
19
19
"""
@@ -37,10 +37,15 @@ with `n = length(b)`.
37
37
38
38
* M. R. Hestenes and E. Stiefel, *Methods of conjugate gradients for solving linear systems*, Journal of Research of the National Bureau of Standards, 49(6), pp. 409--436, 1952.
0 commit comments