Clipper
|
simple linear basis function More...
#include <resol_basisfn.h>
Public Member Functions | |
BasisFn_linear (const HKL_info &hklinfo, const int &nbins_, const ftype power=1.0) | |
constructor: include whole reflection list in histogram | |
BasisFn_linear (const HKL_data_base &hkldata, const int &nbins_, const ftype power=1.0) | |
constructor: include only non-missing reflections in histogram | |
ftype | f_s (const ftype &s, const std::vector< ftype > ¶ms) const |
the value of the resolution function (override for speed) | |
const BasisFn_base::Fderiv & | fderiv_s (const ftype &s, const std::vector< ftype > ¶ms) const |
the derivative of the resolution function w.r.t. the parameters | |
FNtype | type () const |
the type of the function: optionally used to improve convergence More... | |
int | num_diagonals () const |
number of non-zero diagonals in the upper triangle of the curvatures More... | |
ftype | f (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const |
the value of the resolution function (override for speed) More... | |
const BasisFn_base::Fderiv & | fderiv (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const |
the derivatives of the resolution function w.r.t. the parameters More... | |
![]() | |
BasisFn_base () | |
null constructor | |
BasisFn_base (const int &np) | |
constructor: takes number of parameters | |
const int & | num_params () const |
the number of parameters of this basis function | |
virtual ftype | f (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const |
the value of the resolution function More... | |
virtual const Fderiv & | fderiv (const HKL &hkl, const Cell &cell, const std::vector< ftype > ¶ms) const =0 |
the value of the resolution function and its first two derivatives More... | |
virtual FNtype | type () const |
the type of the function: optionally used to improve convergence More... | |
virtual int | num_diagonals () const |
number of non-zero diagonals in the upper triangle of the curvatures More... | |
Additional Inherited Members | |
![]() | |
enum | FNtype { GENERAL , LINEAR } |
enumeration of function types: optionally used to improve convergence | |
![]() | |
Fderiv & | result () const |
provide write access to result for subclasses | |
virtual | ~BasisFn_base () |
destructor | |
simple linear basis function
This class fits a piecewise linear function through reflections on the basis of resolution.
|
inlinevirtual |
the type of the function: optionally used to improve convergence
Reimplemented from clipper::BasisFn_base.
|
inlinevirtual |
number of non-zero diagonals in the upper triangle of the curvatures
Reimplemented from clipper::BasisFn_base.
|
inlinevirtual |
the value of the resolution function (override for speed)
Reimplemented from clipper::BasisFn_base.
|
inlinevirtual |
the derivatives of the resolution function w.r.t. the parameters
Implements clipper::BasisFn_base.