next up previous contents [pdf] index

Next: Input parameters Up: sf_cgstep Previous: Call

Definition

void sf_cgstep( bool forget     /* restart flag */, 
                int nx, int ny  /* model size, 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-gradient iteration. >*/
{
   ...
}




2011-07-02