Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Preconditioned CG(RCI) initial residual computation

$
0
0

I am using RCI implementation of CG in MKL using dcg* API. 

Can anybody explain how the initial residual is computed in preconditioned CG version. In non preconditioned version i can confirm it is  r0 =  square sum of (AX0 - b), if X0=0, is simply square sum of initial b . For preconditioned, how do we compute the value reported in parameter dpar_[2]. 

 

Also, in FGMRES the initial residue is norm2, i.e square root of residue reported in CG, any reason for this inconsistency?

 

thanks,

-Nitya

 


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>