Skip to content

Commit

Permalink
Remark about USYMCG
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored and dpo committed Nov 16, 2019
1 parent 43228b3 commit c0fa5ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/bilq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function bilq(A :: AbstractLinearOperator, b :: AbstractVector{T}; c :: Abstract
ζₖ₋₁ = ζbarₖ = zero(T) # ζₖ₋₁ and ζbarₖ are the last components of z̅ₖ = (L̅ₖ)⁻¹β₁e₁
ζₖ₋₂ = ηₖ = zero(T) # ζₖ₋₂ and ηₖ are used to update ζₖ₋₁ and ζbarₖ
δbarₖ₋₁ = δbarₖ = zero(T) # Coefficients of Lₖ₋₁ and L̅ₖ modified during two iterations
norm_vₖ = bNorm / βₖ # ‖vₖ‖ used for residual norm estimates
norm_vₖ = bNorm / βₖ # ‖vₖ‖ is used for residual norm estimates

# Stopping criterion.
solved_lq = bNorm ε
Expand Down
4 changes: 4 additions & 0 deletions src/usymlq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,15 @@ export usymlq
"""Solve the linear system Ax = b using the USYMLQ method.
USYMLQ is based on a tridiagonalization process for unsymmetric matrices.
The eror norm ‖x - x*‖ monotonously decreases in USYMLQ.
It's considered as a generalization of SYMMLQ.
It can also be applied to under-determined and over-determined problems.
In all cases, problems must be consistent.
An option gives the possibility of transferring to the USYMCG point,
when it exists. The transfer is based on the residual norm.
This version of USYMLQ works in any floating-point data type.
"""
function usymlq(A :: AbstractLinearOperator, b :: AbstractVector{T}, c :: AbstractVector{T};
Expand Down
1 change: 1 addition & 0 deletions src/usymqr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export usymqr
"""Solve the linear system Ax = b using the USYMQR method.
USYMQR is based on a tridiagonalization process for unsymmetric matrices.
The residual norm ‖b - Ax‖ monotonously decreases in USYMQR.
It's considered as a generalization of MINRES.
It can also be applied to under-determined and over-determined problems.
Expand Down

0 comments on commit c0fa5ca

Please sign in to comment.