BornAgain  1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
VarianceSimFunction Class Reference

Description

Returns max(sim, epsilon)

Inheritance diagram for VarianceSimFunction:

Public Member Functions

 VarianceSimFunction (double epsilon=1.0)
 
VarianceSimFunctionclone () const override
 
double variance (double exp, double sim) const override
 

Constructor & Destructor Documentation

◆ VarianceSimFunction()

VarianceSimFunction::VarianceSimFunction ( double  epsilon = 1.0)
explicit

Member Function Documentation

◆ clone()

VarianceSimFunction* VarianceSimFunction::clone ( ) const
override

◆ variance()

double VarianceSimFunction::variance ( double  exp,
double  sim 
) const
override