![]() |
BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Interface residual calculations.
Public Member Functions | |
| IChiSquaredModule () | |
| ~IChiSquaredModule () override | |
| IChiSquaredModule * | clone () const override=0 |
| clone method More... | |
| virtual const IIntensityFunction * | getIntensityFunction () const |
| Returns data rescaler. More... | |
| virtual double | residual (double a, double b, double weight)=0 |
| virtual void | setIntensityFunction (const IIntensityFunction &intensity_function) |
| Sets data rescaler. More... | |
| void | setVarianceFunction (const IVarianceFunction &variance_function) |
| Sets squared function. More... | |
| const IVarianceFunction * | varianceFunction () const |
| Returns squared function. More... | |
Protected Member Functions | |
| IChiSquaredModule (const IChiSquaredModule &other) | |
Protected Attributes | |
| std::unique_ptr< IIntensityFunction > | m_intensity_function |
| std::unique_ptr< IVarianceFunction > | m_variance_function |
| IChiSquaredModule::IChiSquaredModule | ( | ) |
|
override |
|
protected |
|
overridepure virtual |
clone method
Implemented in ChiSquaredModule.
|
virtual |
Returns data rescaler.
|
pure virtual |
Implemented in ChiSquaredModule.
|
virtual |
Sets data rescaler.
| void IChiSquaredModule::setVarianceFunction | ( | const IVarianceFunction & | variance_function | ) |
Sets squared function.
| const IVarianceFunction* IChiSquaredModule::varianceFunction | ( | ) | const |
Returns squared function.
|
protected |
|
protected |