NAME

irls - weighting functions


SYNOPSIS

ierr=l1(res,weight)

ierr=cauchy(res,weight)


PARAMETERS

res - real(:)
      Residual
weight - real(:)
      Resulting weighting function


DESCRIPTION

Weighting function to apply to cgmethods (warning stability is not guaranteed when using these).

L1 - weight=1/abs(1+ res/rbar) CAUCHY- weight=1/sqrt(1+res/rbar**2)


SEE ALSO

the solver manpage


LIBRARY

geef90