Clipper
Public Member Functions | List of all members
clipper::TargetFn_meanEnth< T > Class Template Reference

simple mean |E|n target More...

#include <resol_targetfn.h>

Inheritance diagram for clipper::TargetFn_meanEnth< T >:
clipper::TargetFn_base

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
 
- Public Member Functions inherited from clipper::TargetFn_base
virtual ~TargetFn_base ()
 destructor
 
void debug (const HKL_info &hkl_info) const
 test that the residuals, gradients, and curvatures are consistent
 

Additional Inherited Members

- Public Types inherited from clipper::TargetFn_base
enum  FNtype { GENERAL, QUADRATIC }
 enumeration of function types: optionally used to improve convergence
 

Detailed Description

template<class T>
class clipper::TargetFn_meanEnth< T >

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.


The documentation for this class was generated from the following file: