Clipper
|
simple mean |E|n target More...
#include <resol_targetfn.h>
Public Member Functions | |
TargetFn_meanEnth (const HKL_data< T > &hkl_data_, const ftype &n) | |
constructor: takes the datalist against which to calc target, and power | |
Rderiv | rderiv (const HKL_info::HKL_reference_index &ih, const ftype &fh) const |
return the value and derivatives of the target function | |
FNtype | type () const |
the type of the function: optionally used to improve convergence | |
![]() | |
virtual | ~TargetFn_base () |
destructor | |
void | debug (const HKL_info &hkl_info) const |
test that the residuals, gradients, and curvatures are consistent | |
Additional Inherited Members | |
![]() | |
enum | FNtype { GENERAL, QUADRATIC } |
enumeration of function types: optionally used to improve convergence | |
simple mean |E|n target
This class implements the target function for calculating mean |E|n as a function of position in reciprocal space. It includes the appropriate multiplicity correction, and so can be applied to any type with an 'E' member with the same dimensions as an |E| (or corrected |F| or |U|).
This function should not be used to scale F's to E's. See TargetFn_scaleEsq.