|
|
|
|
Madagascar Programming Reference Manual |
|
|
void sf_left_solver (sf_operator oper /* linear operator */,
sf_solverstep solv /* stepping function */,
int nx /* size of \texttt{x} and dat */,
float* x /* estimated model */,
const float* dat /* data */,
int niter /* number of iterations */,
... /* variable number of arguments */)
/*< Generic linear solver for non-symmetric operators.
---
Solves
oper{x} =~ dat
---
The last parameter in the call to this function should be "end".
Example:
---
sf_left_solver (oper_lop,sf_cdstep,nx,ny,x,y,100,"x0",x0,"end");
---
Parameters in ...:
---
"wt": float*: weight
"wght": sf_weight wght: weighting function
"x0": float*: initial model
"nloper": sf_operator: nonlinear operator
"mwt": float*: model weight
"verb": bool: verbosity flag
"known": bool*: known model mask
"nmem": int: iteration memory
"nfreq": int: periodic restart
"xmov": float**: model iteration
"rmov": float**: residual iteration
"err": float*: final error
"res": float*: final residual
>*/
{
...
}