next up previous contents [pdf] index

Next: Input parameters Up: sf_cdstep Previous: Call

Definition

void sf_cdstep(bool forget     /* restart flag */, 
               int nx          /* model size */, 
               int ny          /* data size */, 
               float* x        /* current model [nx] */, 
               const float* g  /* gradient [nx] */, 
               float* rr       /* data residual [ny] */, 
               const float* gg /* conjugate gradient [ny] */) 
/*< Step of conjugate-direction iteration. 
  The data residual is rr = A x - dat
>*/
{
   ...
}




2011-07-02