Simple polynomial method based on the Lanczos orthogonalization procedure, the method builds a basis for the Krylov subspace
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(psfun_d_serial), | intent(inout) | :: | fun | Function object |
||
type(psb_dspmat_type), | intent(in) | :: | a | Distribute sparse matrix |
||
type(psb_desc_type), | intent(in) | :: | desc_a | Descriptor for the sparse matrix |
||
type(psb_d_vect_type), | intent(inout) | :: | y | Output vector |
||
type(psb_d_vect_type), | intent(inout) | :: | x | Input vector |
||
real(kind=psb_dpk_), | intent(in) | :: | eps | Requested tolerance |
||
integer(kind=psb_ipk_), | intent(out) | :: | info | Output flag |
||
integer(kind=psb_ipk_), | intent(in), | optional | :: | itmax | Maximum number of iteration |
|
integer(kind=psb_ipk_), | intent(in), | optional | :: | itrace | Trace for logoutput |
|
integer(kind=psb_ipk_), | intent(in), | optional | :: | istop | Stop criterion |
|
integer(kind=psb_ipk_), | intent(out), | optional | :: | iter | Number of iteration |
|
real(kind=psb_dpk_), | intent(out), | optional | :: | err | Last estimate error |
|
real(kind=psb_dpk_), | intent(out), | optional | allocatable | :: | res(:) | Vector of the residuals |
Simple polynomial method based on the Lanczos orthogonalization procedure, the method builds a basis for the Krylov subspace
and approximates ,for , the first vector of the canonical base of , and the Symmetric tridiagonal matrix given by .